OpFlex Framework
1.7.0
|
Model metadata encapsulated all the metadata for a given model. More...
#include <opflex/modb/ModelMetadata.h>
Public Member Functions | |
ModelMetadata (const std::string &model_name, const std::vector< ClassInfo > &classes) | |
Construct a model metadata object for the given class ID. More... | |
~ModelMetadata () | |
Destroy the class index. | |
const std::string & | getName () const |
Get the name for this model. More... | |
const std::vector< ClassInfo > & | getClasses () const |
Get the classes that exist in this model. More... | |
Model metadata encapsulated all the metadata for a given model.
This metadata is generated by the code generation framework and is required when the framework is initialized.
opflex::modb::ModelMetadata::ModelMetadata | ( | const std::string & | model_name, |
const std::vector< ClassInfo > & | classes | ||
) |
Construct a model metadata object for the given class ID.
model_name | the name of the model |
classes | a vector containing the classes to be used with the model |
|
inline |
Get the classes that exist in this model.
|
inline |
Get the name for this model.