Changes between Version 5 and Version 6 of code/doc/SubclassIdentifier
- Timestamp:
- Feb 28, 2008, 12:19:17 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/SubclassIdentifier
v5 v6 5 5 The [wiki:SubclassIdentifier] acts like an [wiki:Identifier]. You can assign a [wiki:ClassIdentifier] and compare it with other [wiki:Identifier Identifiers] by using isA(...), isChildOf(...) and other functions. 6 6 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.7 [wiki:SubclassIdentifier] is a [wiki:template]. The [wiki: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 9 Usage: !SubclassIdentifier<!BaseClass> name = Class(!SubClass); where !SubClass isA !BaseClass.