CIM model handler. More...
#include <CIMModel.hpp>
Public Member Functions | |
| bool | addCIMFile (CIMFile file) |
| Add a file to the current model. | |
| bool | addCIMFile (std::string path) |
| Add a file to the current model. | |
| void | parseFiles () |
| Parse CIM Files. | |
| void | setDependencyCheckOn () |
| Set dependency check on. | |
| void | setDependencyCheckOff () |
| Set dependency check off. | |
| bool | getDependencyCheck () |
| get dependency check status | |
Public Attributes | |
| std::vector< BaseClass * > | Objects |
CIM model handler.
This model handler organizes the files of a CIM model. It also gives access to model description.
The model owns the CIM objects it parses therefore it will free them when the model object is destroyed.
| bool CIMModel::addCIMFile | ( | CIMFile | file | ) |
Add a file to the current model.
If the file belongs to another model or the file handle is invalid it will return false otherwise true.
| bool CIMModel::addCIMFile | ( | std::string | path | ) |
Add a file to the current model.
If the file belongs to another model or the path is invalid it will return false otherwise true.
| void CIMModel::parseFiles | ( | ) |
Parse CIM Files.
This function parses all the CIM files specified in this model
| std::vector<BaseClass*> CIMModel::Objects |
Container to access all the CIM objects