1 #include "LightApp_DataOwner.h"
3 #include "LightApp_DataObject.h"
7 #define _typeinfo std::type_info
10 #define _typeinfo type_info
15 /*!Constructor. Initialize by \a theEntry.*/
17 ::LightApp_DataOwner( const QString& theEntry ):
22 /*!Constructor. Initialize by \a SALOME_InteractiveObject.*/
24 ::LightApp_DataOwner( const Handle(SALOME_InteractiveObject)& theIO ):
25 myEntry(!theIO.IsNull()? theIO->getEntry(): ""),
30 /*!Destructor. Do nothing.*/
32 ::~LightApp_DataOwner()
36 /*!Checks: Is current data owner equal \a obj.*/
39 ::isEqual( const SUIT_DataOwner& obj ) const
41 const LightApp_DataOwner* other = dynamic_cast<const LightApp_DataOwner*>( &obj );
43 return other && entry() == other->entry();
54 /*!Gets SALOME_InteractiveObject.*/
55 const Handle(SALOME_InteractiveObject)&