Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of code/doc/SubclassIdentifier


Ignore:
Timestamp:
Feb 25, 2008, 12:15:10 AM (17 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/SubclassIdentifier

    v1 v2  
    2828myidentifier.isExactlyA(Class(A1B1));     // Returns true
    2929(*myidentifier)->getName();               // Returns "A1B1"
    30 myidentifier->getName();                  // Returns "A1B1" (And yes, the "->" is correct. It's overloaded.)
     30myidentifier->getName();                  // Returns "A1B1" (Yes, the "->" is correct. It's overloaded.)
    3131
    3232A1* newobject = myidentifier.fabricate(); // Returns a new instance of A1B1, downcasted to A1