Changeset 2019 for code/branches/objecthierarchy/src/core/XMLPort.h
- Timestamp:
- Oct 27, 2008, 4:08:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/XMLPort.h
r2010 r2019 479 479 COUT(4) << ((BaseObject*)object)->getLoaderIndentation() << "fabricating " << child->Value() << "..." << std::endl; 480 480 481 BaseObject* newObject = identifier->fabricate( );481 BaseObject* newObject = identifier->fabricate((BaseObject*)object); 482 482 newObject->setLoaderIndentation(((BaseObject*)object)->getLoaderIndentation() + " "); 483 newObject->setFile(((BaseObject*)object)->getFile());484 newObject->setNamespace(((BaseObject*)object)->getNamespace());483 // newObject->setFile(((BaseObject*)object)->getFile()); 484 // newObject->setNamespace(((BaseObject*)object)->getNamespace()); 485 485 486 486 if (this->bLoadBefore_) … … 515 515 else 516 516 { 517 COUT(2) << object->getLoaderIndentation() << "Warning: '" << child->Value() << "' is not a valid classname." << std::endl; 517 if (this->sectionname_ != "") 518 { 519 COUT(2) << object->getLoaderIndentation() << "Warning: '" << child->Value() << "' is not a valid classname." << std::endl; 520 } 521 else 522 { 523 // It's probably just another subsection 524 } 518 525 } 519 526 }
Note: See TracChangeset
for help on using the changeset viewer.