Changes between Version 3 and Version 4 of code/doc/SubclassIdentifier
- Timestamp:
- Feb 26, 2008, 5:52:41 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/SubclassIdentifier
v3 v4 7 7 [wiki:SubclassIdentifier] is a template. The template-class defines the needed base-class of an assigned Identifier. You can only assign [wiki:Identifier Identifiers] representing a class which is derived from the given base-class (or the base-class itself). If you try to assign an Identifier that's not derived from the base-class, you get an error. 8 8 9 Usage: SubclassIdentifier< BaseClass> name = Class(SubClass); where SubClass isABaseClass.9 Usage: SubclassIdentifier<!BaseClass> name = Class(!SubClass); where !SubClass isA !BaseClass. 10 10 11 11 == Examples ==