Changeset 898 for code/branches/core2/src/orxonox/core
- Timestamp:
- Mar 17, 2008, 10:17:32 PM (17 years ago)
- Location:
- code/branches/core2/src/orxonox/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/Namespace.cc
r897 r898 60 60 void Namespace::XMLPort(Element& xmlelement, bool loading) 61 61 { 62 std::cout << "1_1\n";63 62 BaseObject::XMLPort(xmlelement, loading); 64 std::cout << "1_2\n";65 63 66 64 std::string name = this->getName(); 67 std::cout << "1_3\n";68 65 unsigned int pos = 0; 69 66 while ((pos = name.find(',')) != std::string::npos) … … 75 72 while ((pos = name.find('\t')) != std::string::npos) 76 73 name.replace(pos, 1, " "); 77 std::cout << "1_4\n";78 74 SubString tokens(name, " ", "", false, '\\', '"', '\0', '\0', '\0'); 79 std::cout << "1_5\n";80 75 for (unsigned int i = 0; i < tokens.size(); i++) 81 76 { 82 std::cout << "1_6\n";83 77 for (std::set<NamespaceNode*>::iterator it = this->getNamespace()->representingNamespaces_.begin(); it != this->getNamespace()->representingNamespaces_.end(); ++it) 84 78 { 85 std::cout << "1_7\n";86 79 std::set<NamespaceNode*> temp = (*it)->getNodeRelative(tokens[i]); 87 std::cout << "1_8\n";88 80 this->representingNamespaces_.insert(temp.begin(), temp.end()); 89 std::cout << "1_9\n";90 81 } 91 82 } 92 std::cout << "1_10\n";93 83 94 84 XMLPortParam(Namespace, "operator", setOperator, getOperator, xmlelement, loading); -
code/branches/core2/src/orxonox/core/XMLPort.h
r895 r898 261 261 if (!this->bLoadBefore_) 262 262 newObject->XMLPort(*child, true); 263 COUT(5) << "...fabricated " << child->Value() << " (objectname " << newObject->getName() << ")." << std::endl;263 COUT(5) << object->getLoaderIndentation() << "...fabricated " << child->Value() << " (objectname " << newObject->getName() << ")." << std::endl; 264 264 } 265 265 }
Note: See TracChangeset
for help on using the changeset viewer.