]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/DataObject.cxx
Base objects migration
[cpPlugins.git] / lib / cpPlugins / Interface / DataObject.cxx
1 #include <cpPlugins/Interface/DataObject.h>
2
3 // -------------------------------------------------------------------------
4 cpPlugins::Interface::DataObject::
5 DataObject( )
6   : Superclass( ),
7     m_Source( NULL )
8 {
9 }
10
11 // -------------------------------------------------------------------------
12 cpPlugins::Interface::DataObject::
13 ~DataObject( )
14 {
15 }
16
17 // -------------------------------------------------------------------------
18 std::string cpPlugins::Interface::DataObject::
19 GetClassName( ) const
20 {
21   return( "cpPlugins::Interface::DataObject" );
22 }
23
24 // -------------------------------------------------------------------------
25 cpPlugins::Interface::ProcessObject* cpPlugins::Interface::DataObject::
26 GetSource( ProcessObject* src ) const
27 {
28   return( this->m_Source );
29 }
30
31 // -------------------------------------------------------------------------
32 void cpPlugins::Interface::DataObject::
33 SetSource( cpPlugins::Interface::ProcessObject* src )
34 {
35   this->m_Source = src;
36 }
37
38 #endif // __CPPLUGINS__INTERFACE__DATAOBJECT__H__
39
40 // eof - $RCSfile$