Version: 9.12.0
MyDataModel Class Reference

#include <MyDataModel.hxx>

Inheritance diagram for MyDataModel:
Inheritance graph

Public Member Functions

 MyDataModel ()
 
virtual DataObjectnewDataObject ()
 
- Public Member Functions inherited from DataModel
 DataModel ()
 
 ~DataModel ()
 
bool addDataObject (DataObject *dataObject)
 
bool removeDataObject (std::string nameId)
 
bool removeDataObject (DataObject *dataObject)
 
DataObjectgetDataObject (std::string nameId)
 
std::map< std::string, DataObject * >::iterator begin ()
 
std::map< std::string, DataObject * >::iterator end ()
 

Constructor & Destructor Documentation

◆ MyDataModel()

MyDataModel::MyDataModel ( )

Member Function Documentation

◆ newDataObject()

DataObject * MyDataModel::newDataObject ( )
virtual

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.

Implements DataModel.


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