Ignore:
Timestamp:
10/05/10 09:47:10 (14 years ago)
Author:
hozdoba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/object_template.hpp

    r124 r125  
    4141         } 
    4242 
    43          string getName(void) const {return (T::GetName()); } 
     43         string getName(void) const 
     44         { 
     45            if (hasId()) 
     46               if (T::GetDefName().compare(getId()) == 0) 
     47                  return T::GetDefName(); 
     48            return (T::GetName()); 
     49         } 
    4450 
    4551         T* getBaseObject(void) const { return (baseObject); } 
Note: See TracChangeset for help on using the changeset viewer.