synMacros.h

Macros for runtime synObject typing.

o DEFINE_CLASS_ID
This macro should be used in one source file for every derived class
o IS_OF_TYPE
Returns 1 if obj belongs to the specified class (or derived class, if derivedOk is 1
o MAKE_COVER_FUNCTIONS
creates runtime typing methods for non-abstract classes derived from synObject.
o MAKE_ABSTRACT_COVER_FUNCTIONS
creates runtime typing methods for abstract base classes derived from synObject.
o MAKE_COVER_FUNCTIONS_NO_CONS
creates runtime typing methods for non-abstract classes derived from synObject.
o DECLARE_PARENT_CLASS
Macro for runtime inheritance queries.
o DECLARE_PARENT_CLASSES
Like DECLARE_PARENT_CLASS, but for classes that use multiple inheritance from 2 base classes.
o DECLARE_PARENT_CLASSES3
Like DECLARE_PARENT_CLASS, but for classes that use multiple inheritance from 3 base classes.
o Macros for interface with synDB database
o Macros for defining objects with "recycled memory"
o MAKE_C_DB_COVER
This macro makes a C cover function for the initializeUserEvalDB or initializeUserPMDB functions, which are used by Darwin2K as entry points for runtime libraries.
Subclasses of synObject that need runtime typing should use the DEFINE_CLASS_ID, DECLARE_PARENT_CLASS*, and MAKE_COVER_FUNCTIONS macros. See the individual macro descriptions for examples.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.