Go to the source code of this file.
#define ABSTRACT_OBJECT |
( |
|
classname | ) |
|
Value:DISABLE_COPY(classname); \
protected: \
classname(void); \
virtual ~classname(void)
ABSTRACT_OBJECT(): should be used when deriving classes that will not be instantiated directly. (TYPE::create() is not declared.)
Definition at line 45 of file Object.h.
#define CONCRETE_OBJECT |
( |
|
classname | ) |
|
Value:
public: \
static classname *create(void)
#define ABSTRACT_OBJECT(classname)
Macros for defining boilerplate parts of derived Object classes.
Definition at line 55 of file Object.h.
#define IMPLEMENT_OBJECT_CREATE |
( |
|
classname | ) |
classname * classname::create(void) { return new classname; } |
template<typename OBJECT >
static void RELEASE |
( |
OBJECT *& |
obj | ) |
|
|
inlinestatic |
template<typename OBJECT >
static OBJECT* RETAIN |
( |
OBJECT * |
obj | ) |
|
|
inlinestatic |
template<typename OBJECT >
static OBJECT* RETAIN |
( |
Scoped< OBJECT > & |
obj | ) |
|
|
inlinestatic |