Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2008, 4:43:22 PM (16 years ago)
Author:
landauf
Message:

cleanup

File:
1 edited

Legend:

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

    r805 r806  
    237237    bool ClassTreeMask::isIncluded(ClassTreeMaskNode* node, const Identifier* subclass) const
    238238    {
    239 std::cout << "1_1: " << subclass->getName() << " (" << subclass << ") / " << node->getClass()->getName() << " (" << node->getClass() << ")" << std::endl;
     239//std::cout << "1_1: " << subclass->getName() << " (" << subclass << ") / " << node->getClass()->getName() << " (" << node->getClass() << ")" << std::endl;
    240240        // Check if the searched subclass is of the same type as the class in the current node or a derivative
    241241        if (subclass->isA(node->getClass()))
    242242        {
    243 std::cout << "1_2\n";
     243//std::cout << "1_2\n";
    244244            // Check for the special case
    245245            if (subclass == node->getClass())
    246246            {
    247 std::cout << "1_3\n";
     247//std::cout << "1_3\n";
    248248                return node->isIncluded();
    249249            }
    250250
    251 std::cout << "1_4\n";
     251//std::cout << "1_4\n";
    252252            // Go through the list of subnodes and look for a node containing the searched subclass
    253253            for (std::list<ClassTreeMaskNode*>::iterator it = node->subnodes_.begin(); it != node->subnodes_.end(); ++it)
     
    255255                    return isIncluded(*it, subclass);
    256256
    257 std::cout << "1_5\n";
     257//std::cout << "1_5\n";
    258258            // There is no subnode containing our class -> the rule of the current node takes in effect
    259259            return node->isIncluded();
     
    261261        else
    262262        {
    263 std::cout << "1_6\n";
     263//std::cout << "1_6\n";
    264264            // The class is not included in the mask: return false
    265265            return false;
Note: See TracChangeset for help on using the changeset viewer.