Changeset 805 for code/branches/core/src/orxonox/core/ClassTreeMask.cc
- Timestamp:
- Feb 12, 2008, 4:24:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/core/ClassTreeMask.cc
r804 r805 156 156 ClassTreeMask::ClassTreeMask() 157 157 { 158 this->root_ = new ClassTreeMaskNode(Class Identifier<BaseObject>::getIdentifier(), true);158 this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier("BaseObject"), true); 159 159 } 160 160 … … 227 227 { 228 228 delete this->root_; 229 this->root_ = new ClassTreeMaskNode(Class Identifier<BaseObject>::getIdentifier(), true);229 this->root_ = new ClassTreeMaskNode(ClassManager<BaseObject>::getIdentifier("BaseObject"), true); 230 230 } 231 231 … … 237 237 bool ClassTreeMask::isIncluded(ClassTreeMaskNode* node, const Identifier* subclass) const 238 238 { 239 std::cout << "1_0: " << ClassIdentifier<BaseObject>::getIdentifier() << std::endl;240 239 std::cout << "1_1: " << subclass->getName() << " (" << subclass << ") / " << node->getClass()->getName() << " (" << node->getClass() << ")" << std::endl; 241 240 // Check if the searched subclass is of the same type as the class in the current node or a derivative
Note: See TracChangeset
for help on using the changeset viewer.