CrystalFactory.h File Reference

#include "CrystalBaseTypes.h"

Go to the source code of this file.

Defines

#define CR_FACTORY(methodName)
#define CR_TYPIZATOR(type, methodName, args, sourcetype, nakedArgs)


Define Documentation

#define CR_FACTORY methodName   ) 
 

Value:

CVT PVOID CCT methodName##ID(u32 id) = 0; \
    \
    template <class V> \
    INLINE_METHOD V methodName() { \
        PVOID result = methodName##ID(V::id); \
        return (V)(VarPtr(result)); \
    }

Definition at line 6 of file CrystalFactory.h.

#define CR_TYPIZATOR type,
methodName,
args,
sourcetype,
nakedArgs   ) 
 

Value:

INLINE_METHOD type T##methodName args { \
        type result; \
        *(sourcetype *)&result = methodName nakedArgs; \
        return result; \
    }

Definition at line 15 of file CrystalFactory.h.


Generated on Wed Dec 21 18:10:14 2005 for Crystal2 Platform by  doxygen 1.4.5