Class ModelParserRegistry
Defined in File model_parser_registry.h
Class Documentation
-
class ModelParserRegistry
ModelParserRegistry defined registration and storage of ModelParser.
Public Functions
-
ModelParserRegistry(FmkType fmk, ModelParserCreator creator)
Constructor of ModelParserRegistry.
- Parameters
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.
- Parameters
fmk – [in] Define identification of a certain framework.
- Returns
Pointer of ModelParser.
-
ModelParserRegistry(FmkType fmk, ModelParserCreator creator)