Changes between Version 4 and Version 5 of code/doc/ClassIdentifier
- Timestamp:
- Feb 28, 2008, 12:18:54 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/ClassIdentifier
v4 v5 16 16 == Description == 17 17 18 The ClassIdentifier is a template, inherited from [wiki:Identifier], containing all class-specific functions for the class represented by the [wiki:Identifier]. In fact this is only the [wiki:ObjectList].18 The ClassIdentifier is a [wiki:template], inherited from [wiki:Identifier], containing all class-specific functions for the class represented by the [wiki:Identifier]. In fact this is only the [wiki:ObjectList]. 19 19 20 The constructor of ClassIdentifier is private. Only [wiki:IdentifierDistributor] is allowed to create and distribute new instances. (In fact only '''one''' instance per template-class. This is '''very''' important.)20 The constructor of ClassIdentifier is private. Only [wiki:IdentifierDistributor] is allowed to create and distribute new instances. (In fact only '''one''' instance per [wiki:template]-class. This is '''very''' important.) 21 21 22 22 You can't access the ClassIdentifier of a class directly. Use [wiki:ClassManager]<!ClassName>::getIdentifier() instead. A shorter version of this command is the macro Class(classname) (include [wiki:CoreIncludes CoreIncludes.h] to use it) that returns the ClassIdentifier of the given class.