]> SALOME platform Git repositories - modules/gui.git/blob - src/CAM/CAM_RootObject.cxx
Salome HOME
Initial version
[modules/gui.git] / src / CAM / CAM_RootObject.cxx
1 #include "CAM_RootObject.h"
2
3 #include "CAM_DataModel.h"
4
5 CAM_RootObject::CAM_RootObject( SUIT_DataObject* parent )
6 : CAM_DataObject( parent ),
7 myDataModel( 0 )
8 {
9 }
10
11 CAM_RootObject::CAM_RootObject( CAM_DataModel* data, SUIT_DataObject* parent )
12 : CAM_DataObject( parent ),
13 myDataModel( data )
14 {
15 }
16
17 CAM_RootObject::~CAM_RootObject()
18 {
19 }
20
21 CAM_DataModel* CAM_RootObject::dataModel() const
22 {
23   return myDataModel;
24 }
25
26 void CAM_RootObject::setDataModel( CAM_DataModel* dm )
27 {
28   myDataModel = dm;
29 }