1 #include "SalomeApp_DataSubOwner.h"
3 #include "SalomeApp_DataObject.h"
9 /*!Constructor.Initialize by \a entry and \a index*/
10 SalomeApp_DataSubOwner::SalomeApp_DataSubOwner( const QString& entry, const int index )
11 : SalomeApp_DataOwner( entry ),
16 /*!Destructor. Do nothing.*/
17 SalomeApp_DataSubOwner::~SalomeApp_DataSubOwner()
21 /*!Checks: Is current data sub owner equal \a obj.*/
22 bool SalomeApp_DataSubOwner::isEqual( const SUIT_DataOwner& obj ) const
24 const SalomeApp_DataSubOwner* other = dynamic_cast<const SalomeApp_DataSubOwner*>( &obj );
26 return other && entry() == other->entry() && index() == other->index();
30 int SalomeApp_DataSubOwner::index() const