Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 898


Ignore:
Timestamp:
Mar 17, 2008, 10:17:32 PM (16 years ago)
Author:
landauf
Message:

removed some test output in Namespace.cc and corrected one line of debug output in XMLPort

Location:
code/branches/core2/src/orxonox/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/Namespace.cc

    r897 r898  
    6060    void Namespace::XMLPort(Element& xmlelement, bool loading)
    6161    {
    62 std::cout << "1_1\n";
    6362        BaseObject::XMLPort(xmlelement, loading);
    64 std::cout << "1_2\n";
    6563
    6664        std::string name = this->getName();
    67 std::cout << "1_3\n";
    6865        unsigned int pos = 0;
    6966        while ((pos = name.find(',')) != std::string::npos)
     
    7572        while ((pos = name.find('\t')) != std::string::npos)
    7673            name.replace(pos, 1, " ");
    77 std::cout << "1_4\n";
    7874        SubString tokens(name, " ", "", false, '\\', '"', '\0', '\0', '\0');
    79 std::cout << "1_5\n";
    8075        for (unsigned int i = 0; i < tokens.size(); i++)
    8176        {
    82 std::cout << "1_6\n";
    8377            for (std::set<NamespaceNode*>::iterator it = this->getNamespace()->representingNamespaces_.begin(); it != this->getNamespace()->representingNamespaces_.end(); ++it)
    8478            {
    85 std::cout << "1_7\n";
    8679                std::set<NamespaceNode*> temp = (*it)->getNodeRelative(tokens[i]);
    87 std::cout << "1_8\n";
    8880                this->representingNamespaces_.insert(temp.begin(), temp.end());
    89 std::cout << "1_9\n";
    9081            }
    9182        }
    92 std::cout << "1_10\n";
    9383
    9484        XMLPortParam(Namespace, "operator", setOperator, getOperator, xmlelement, loading);
  • code/branches/core2/src/orxonox/core/XMLPort.h

    r895 r898  
    261261                                            if (!this->bLoadBefore_)
    262262                                                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;
    264264                                        }
    265265                                    }
Note: See TracChangeset for help on using the changeset viewer.