Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2008, 6:39:53 PM (16 years ago)
Author:
landauf
Message:
  • Changed the ClassManager/IdentifierDistributor: ClassIdentifiers are now saved with the name returned by typeid(class).name() because this is a simple way getting the name without creating an object (which might be impossible because of non-public constructors or abstract functions).
  • Changed some debug outputs
File:
1 edited

Legend:

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

    r808 r811  
    754754        std::cout << "2\n";
    755755*/
     756
    756757        std::cout << "Test 13\n";
    757758
     
    833834        std::cout << "Mask 2:\n";
    834835        TestClassTreeMask(test13_2);
    835 
     836/*
    836837        ClassTreeMask test13_3;
    837838        test13_3.include(Class(A1));
     
    967968
    968969        std::cout << "9\n";
     970*/
     971
     972        std::cout << "Test 14\n";
     973        std::cout << "1\n";
     974
     975        SubclassIdentifier<A1> test14_1;
     976        test14_1 = Class(A1B1C1);
     977        std::cout << test14_1.getIdentifier()->getName() << std::endl;
     978
     979        SubclassIdentifier<A1> test14_2 = Class(A1B1C2);
     980        std::cout << test14_2.getIdentifier()->getName() << std::endl;
     981
     982        SubclassIdentifier<Interface1> test14_3;
     983        test14_3 = Class(A2B2C1);
     984        std::cout << test14_3.getIdentifier()->getName() << std::endl;
     985
     986        SubclassIdentifier<A1B2> test14_4;
     987        test14_4 = Class(A1B2C1);
     988        std::cout << test14_4.getIdentifier()->getName() << std::endl;
     989
     990        SubclassIdentifier<BaseObject> test14_5 = Class(Test1);
     991        std::cout << test14_5.getIdentifier()->getName() << std::endl;
    969992
    970993//    startRenderLoop();
Note: See TracChangeset for help on using the changeset viewer.