Changes between Version 7 and Version 8 of code/doc/Identifier
- Timestamp:
- Sep 21, 2008, 8:51:47 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Identifier
v7 v8 8 8 You 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. 9 9 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 information s.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 information. 11 11 12 [wiki:Identifier Identifiers] can be compared by using functions like isA(...) or isChildOf(...) to retrieve information sabout the class-hierarchy.12 [wiki:Identifier Identifiers] can be compared by using functions like isA(...) or isChildOf(...) to retrieve information about the class-hierarchy. 13 13 14 14 You 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. 15 15 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 information s.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 information. 17 17 18 18 == Functions == … … 104 104 After 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. 105 105 106 Read the Wiki-page of [wiki:Factory] to get more information sabout how to iterate through all [wiki:Identifier Identifiers].106 Read the Wiki-page of [wiki:Factory] to get more information about how to iterate through all [wiki:Identifier Identifiers]. 107 107 108 == Technical information s==108 == Technical information == 109 109 110 110 ---to come---