Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of code/doc/SubclassIdentifier


Ignore:
Timestamp:
Feb 26, 2008, 5:52:22 PM (17 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/SubclassIdentifier

    v2 v3  
    66
    77[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
     9Usage: SubclassIdentifier<BaseClass> name = Class(SubClass); where SubClass isA BaseClass.
    810
    911== Examples ==