Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 (string nameId)
 
bool removeDataObject (DataObject *dataObject)
 
DataObjectgetDataObject (string nameId)
 
map< string, DataObject * >
::iterator 
begin ()
 
map< string, DataObject * >
::iterator 
end ()
 

Constructor & Destructor Documentation

MyDataModel::MyDataModel ( )

Member Function Documentation

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: