CGMES_3_0_0
Loading...
Searching...
No Matches
CIMModel Class Reference

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

Detailed Description

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.

Member Function Documentation

◆ addCIMFile() [1/2]

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.

◆ addCIMFile() [2/2]

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.

◆ parseFiles()

void CIMModel::parseFiles ( )

Parse CIM Files.

This function parses all the CIM files specified in this model

Member Data Documentation

◆ Objects

std::vector<BaseClass*> CIMModel::Objects

Container to access all the CIM objects


The documentation for this class was generated from the following files: