The object.h header specifies preprocessor macros and a few function prototypes necessary to create a class or interface.
This header reserves all symbols beginning with WFCO and wfco. If any such symbols are defined when this header is included, the possibility of a name collision occurs.
This token serves to denote the data section of a WFCO object.
This token serves to denote the destructor of a WFCO object.
This token serves to refer to some aspect of a WFCO object's superclass.
Synonymous with WFCO_THIS->WFCO_DATA.WFCO_SUPER.
Synonymous with WFCO_THIS->WFCO_VTABLE->WFCO_SUPER.
This token serves as the this keywords in object-oriented langauges, except that it does not specify whether or not
Synonymous with WFCO_THIS->WFCO_DATA
Synonymous with WFCO_THIS->WFCO_VTABLE
This token serves to denote the destructor corresponding to a WFCO object.
usage: WFCO_SUPER_CALL(METHOD, ...)
This macro invokes the superclass method METHOD with the supplied arguments. WFCO_THIS must correspond to a subclass and method must be defined in the superclass.
usage: WFCO_THIS_CALL(METHOD, ...)
This macro invokes the class method METHOD with the supplied arguments. METHOD must be defined in the class.
usage: WFCO_OBJ_CALL(INSTANCE, METHOD, ...)
This method calls the method method on the object instance INSTANCE with the supplied arguments. INSTANCE must contain METHOD.
The following macros are defined for the purposes of authoring classes and interfaces.
usage: WFCO_DECLARE_METHOD(CLASS, METHOD, RETTYPE, ...)
usage: WFCO_DECLARE_ABSTRACT_METHOD(CLASS, METHOD, RETTYPE, ...)
usage: WFCO_DECLARE_METHOD(CLASS, METHOD, RETTYPE, ...)
usage: WFCO_INTERFACE(CLASS)
usage: WFCO_INTERFACE_IMPLEMENTS(CLASS,BASE)
usage: WFCO_END_INTERFACE(CLASS)