Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 7 and Version 8 of code/doc/Identifier


Ignore:
Timestamp:
Sep 21, 2008, 8:51:47 PM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/Identifier

    v7 v8  
    88You can get the Identifier of a given class with the macro Class(classname). If you only know the string, so if the class isn't hardcoded, use the macro ID("classname"). You have to include [wiki:CoreIncludes CoreIncludes.h] to use the macros.
    99
    10 A new class that wants an Identifier must use a macro (!RegisterObject(classname) or !RegisterRootObject(interfacename)) from [wiki:CoreIncludes]. Read the related Wiki-page for more informations.
     10A new class that wants an Identifier must use a macro (!RegisterObject(classname) or !RegisterRootObject(interfacename)) from [wiki:CoreIncludes]. Read the related Wiki-page for more information.
    1111
    12 [wiki:Identifier Identifiers] can be compared by using functions like isA(...) or isChildOf(...) to retrieve informations about the class-hierarchy.
     12[wiki:Identifier Identifiers] can be compared by using functions like isA(...) or isChildOf(...) to retrieve information about the class-hierarchy.
    1313
    1414You can't create an Identifier directly, because it's an abstract class. There only exist [wiki:ClassIdentifier ClassIdentifiers], but you can't create them too, because they have private constructors. Identifiers are created by [wiki:IdentifierDistributor], a helper class to warrant the uniqueness of an Identifier for a class.
    1515
    16 The [wiki:SubclassIdentifier] is a class, that can store and act like an Identifier, but has a given base-class. Read the related Wiki-page for more informations.
     16The [wiki:SubclassIdentifier] is a class, that can store and act like an Identifier, but has a given base-class. Read the related Wiki-page for more information.
    1717
    1818== Functions ==
     
    104104After changing the network ID of an Identifier to ''newid'', there might be two Identifiers with the ID ''newid''. ID(''newid'') will then return the changed Identifier and not the old one.
    105105
    106 Read the Wiki-page of [wiki:Factory] to get more informations about how to iterate through all [wiki:Identifier Identifiers].
     106Read the Wiki-page of [wiki:Factory] to get more information about how to iterate through all [wiki:Identifier Identifiers].
    107107
    108 == Technical informations ==
     108== Technical information ==
    109109
    110110---to come---