[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
SOMMetaClass

Description:
Specifies a SOM class's metaclass.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma SOMMetaClass (class, metaclass)
Remarks:
This pragma is only available for Mac OS using C++ code.
A metaclass is a special kind of SOM class that defines the implementation of other SOM classes. All SOM classes have a metaclass, including metaclasses themselves. By default, the metaclass for a SOM class is SOMClass. If you want to use another metaclass, use the SOMMetaClass pragma:
The metaclass must be a descendant of SOMClass. Also, a class cannot be its own metaclass. That is, class and metaclass must name different classes.
This pragma is ignored if the direct_to_SOM pragma, described in Targeting Mac OS, is off.
This pragma does not correspond to an option in any settings panel.
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000