In file /home/blah/darwin2k/src/ddcore/misc/synMacros.h:

#define MAKE_COVER_FUNCTIONS

(classname)

creates runtime typing methods for non-abstract classes derived from synObject.

Documentation

creates runtime typing methods for non-abstract classes derived from synObject. Classes which have a constructor with no arguments should use this macro; classes without a no-argument constructor should use the MAKE_COVER_FUNCTION_NO_CONS() macro. Abstract base classes should use MAKE_ABSTRACT_COVER_FUNCTIONS(). This macro should be used in the public section of a derived class's class definition:

class foo : public synObject { public: MAKE_COVER_FUNCTIONS(foo); DECLARE_PARENT_CLASS(synObject); ... foo(void); }

The declares or defines the following members in accordance with the synObject API:

static int staticClassID; static synObject *constructorCover(void); static const char *staticClassName(void); virtual const char *className(void); virtual int classID(void); virtual synObject *copy(void);

Alphabetic index HTML hierarchy of classes or Java



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