Changeset 2010 for code/branches/objecthierarchy/src/core/BaseObject.cc
- Timestamp:
- Oct 25, 2008, 5:13:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/BaseObject.cc
r1993 r2010 36 36 #include "CoreIncludes.h" 37 37 #include "XMLPort.h" 38 #include " Level.h"38 #include "XMLFile.h" 39 39 #include "Template.h" 40 40 #include "util/String.h" … … 56 56 this->bVisible_ = true; 57 57 58 this-> level_ = 0;58 this->file_ = 0; 59 59 this->namespace_ = 0; 60 60 } … … 86 86 @return The levelfile 87 87 */ 88 const std::string& BaseObject::get Levelfile() const88 const std::string& BaseObject::getFilename() const 89 89 { 90 if (this-> level_)91 return this-> level_->getFile();90 if (this->file_) 91 return this->file_->getFilename(); 92 92 else 93 93 return blankString;
Note: See TracChangeset
for help on using the changeset viewer.