Salome HOME
minor corrections for correct compilation
[modules/gui.git] / src / SalomeApp / SalomeApp_DataSubOwner.cxx
index 2643363e2b0c108010cfd513813fc6a96985cfb3..6c201155f2d050c25500b485b0b3ec1f6228a2ec 100644 (file)
@@ -6,16 +6,19 @@
 #include <typeinfo.h>
 #endif
 
+/*!Constructor.Initialize by \a entry and \a index*/
 SalomeApp_DataSubOwner::SalomeApp_DataSubOwner( const QString& entry, const int index )
 : SalomeApp_DataOwner( entry ),
 myIndex( index )
 {
 }
 
+/*!Destructor. Do nothing.*/
 SalomeApp_DataSubOwner::~SalomeApp_DataSubOwner()
 {
 }
 
+/*!Checks: Is current data sub owner equal \a obj.*/
 bool SalomeApp_DataSubOwner::isEqual( const SUIT_DataOwner& obj ) const
 {  
   const SalomeApp_DataSubOwner* other = dynamic_cast<const SalomeApp_DataSubOwner*>( &obj );
@@ -23,6 +26,7 @@ bool SalomeApp_DataSubOwner::isEqual( const SUIT_DataOwner& obj ) const
   return other && entry() == other->entry() && index() == other->index();
 }
 
+/*!Gets index.*/
 int SalomeApp_DataSubOwner::index() const
 {
   return myIndex;