#include <DataModel.hxx>
◆ DataModel()
◆ ~DataModel()
DataModel::~DataModel |
( |
| ) |
|
◆ addDataObject()
bool DataModel::addDataObject |
( |
DataObject * |
dataObject | ) |
|
◆ begin()
std::map< std::string, DataObject * >::iterator DataModel::begin |
( |
| ) |
|
◆ end()
std::map< std::string, DataObject * >::iterator DataModel::end |
( |
| ) |
|
◆ getDataObject()
DataObject * DataModel::getDataObject |
( |
std::string |
nameId | ) |
|
Function to retrieve a data object in the model
References _mapDataObjects.
◆ newDataObject()
This function can be used to create a specific instance of DataObject. Note that this function is a pure virtual method and then no default behavior is done. In particular, the newly created object is not automatically added to the data model. This behavior should be implemented in a dedicated version of this class.
Implemented in MyDataModel.
◆ removeDataObject() [1/2]
bool DataModel::removeDataObject |
( |
DataObject * |
dataObject | ) |
|
◆ removeDataObject() [2/2]
bool DataModel::removeDataObject |
( |
std::string |
nameId | ) |
|
◆ _mapDataObjects
std::map<std::string, DataObject *> DataModel::_mapDataObjects |
|
private |
The documentation for this class was generated from the following files: