Class ModelParserRegistry

Class Documentation

class ModelParserRegistry

ModelParserRegistry defined registration and storage of ModelParser.

Public Functions

ModelParserRegistry(FmkType fmk, ModelParserCreator creator)

Constructor of ModelParserRegistry.

参数
  • fmk[in] Define identification of a certain framework.

  • creator[in] Define function pointer of creating ModelParser.

~ModelParserRegistry() = default

Destructor of ModelParserRegistry.

Public Static Functions

static converter::ModelParser *GetModelParser(FmkType fmk)

Static Method to get a model parser.

参数

fmk[in] Define identification of a certain framework.

返回

Pointer of ModelParser.