Go to the source code of this file.
|
#define | SO_TYPED_CLASS_INTERNAL_HEADER() |
|
#define | SO_TYPED_CLASS_HEADER() |
|
#define | SO_TYPED_CLASS_ABSTRACT_VARS(className) |
|
#define | SO_TYPED_CLASS_VARS(className) SO_TYPED_CLASS_ABSTRACT_VARS(className) |
|
#define | SO_TYPED_CLASS_INTERNAL_SOURCE(parent, className, classPrintName) |
|
#define | SO_TYPED_CLASS_SOURCE(parentClass, className, classPrintName) |
|
#define | SO_TYPED_CLASS_ABSTRACT_INTERNAL_SOURCE(className) SO_TYPED_CLASS_ABSTRACT_VARS(className) |
|
#define | SO_TYPED_CLASS_ABSTRACT_SOURCE(className, classPrintName, parentClass) |
|
#define | SO_TYPED_CLASS_ABSTRACT_INTERNAL_HEADER() |
|
#define | SO_TYPED_CLASS_ABSTRACT_HEADER() |
|
#define | SO_TYPED_CLASS_INIT_ABSTRACT_CLASS(className, classPrintName, parentClass) |
|
#define | SO_TYPED_CLASS_EXIT_ABSTRACT_CLASS(className) |
|
#define | SO_TYPED_CLASS_INIT_CLASS(className, classPrintName, parentClass) |
|
#define | SO_TYPED_CLASS_EXIT_CLASS(className) SO_TYPED_CLASS_EXIT_ABSTRACT_CLASS(className) |
|
◆ SO_TYPED_CLASS_ABSTRACT_HEADER
#define SO_TYPED_CLASS_ABSTRACT_HEADER |
( |
| ) |
|
Value:
public: \
static void initClass(); \
static void exitClass();
#define SO_TYPED_CLASS_ABSTRACT_INTERNAL_HEADER()
Definition at line 116 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_ABSTRACT_INTERNAL_HEADER
#define SO_TYPED_CLASS_ABSTRACT_INTERNAL_HEADER |
( |
| ) |
|
Value:public: \
static SoType getClassTypeId() {
return m_classTypeId; } \
\
private: \
static SoType m_classTypeId; \
virtual SoType getTypeId() const
Returns the type identifier for this specific instance.
Stores runtime type information.
Definition at line 107 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_ABSTRACT_INTERNAL_SOURCE
◆ SO_TYPED_CLASS_ABSTRACT_SOURCE
#define SO_TYPED_CLASS_ABSTRACT_SOURCE |
( |
|
className, |
|
|
|
classPrintName, |
|
|
|
parentClass |
|
) |
| |
Value:
void \
className::initClass() \
{ \
SO_TYPED_CLASS_INIT_ABSTRACT_CLASS(
className, classPrintName, parentClass) \
} \
\
void \
className::exitClass() \
{ \
SO_TYPED_CLASS_EXIT_ABSTRACT_CLASS(
className) \
}
#define SO_TYPED_CLASS_ABSTRACT_INTERNAL_SOURCE(className)
Definition at line 93 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_ABSTRACT_VARS
#define SO_TYPED_CLASS_ABSTRACT_VARS |
( |
|
className | ) |
|
Value: SoType className::m_classTypeId; \
#define TRUE
Possible value of SbBool.
Definition at line 44 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_EXIT_ABSTRACT_CLASS
#define SO_TYPED_CLASS_EXIT_ABSTRACT_CLASS |
( |
|
className | ) |
|
Value: SoType::removeType(m_classTypeId.getName()); \
static SoType badType()
Returns an always-illegal type.
Definition at line 133 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_EXIT_CLASS
◆ SO_TYPED_CLASS_HEADER
#define SO_TYPED_CLASS_HEADER |
( |
| ) |
|
Value:
public: \
static void initClass(); \
static void exitClass()
#define SO_TYPED_CLASS_INTERNAL_HEADER()
Definition at line 38 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_INIT_ABSTRACT_CLASS
#define SO_TYPED_CLASS_INIT_ABSTRACT_CLASS |
( |
|
className, |
|
|
|
classPrintName, |
|
|
|
parentClass |
|
) |
| |
Value: if (m_isFirstTime) \
{ \
parentClass::initClass(); \
m_classTypeId = SoType::createType(parentClass::getClassTypeId(), \
classPrintName, \
NULL); \
}
#define FALSE
Possible value of SbBool.
Definition at line 122 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_INIT_CLASS
#define SO_TYPED_CLASS_INIT_CLASS |
( |
|
className, |
|
|
|
classPrintName, |
|
|
|
parentClass |
|
) |
| |
Value: if (m_isFirstTime) \
{ \
parentClass::initClass(); \
m_classTypeId = SoType::createType(parentClass::getClassTypeId(), \
classPrintName, \
&className::createFromSoType); \
}
Definition at line 138 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_INTERNAL_HEADER
#define SO_TYPED_CLASS_INTERNAL_HEADER |
( |
| ) |
|
Value:public: \
static SoType getClassTypeId(); \
static void *createFromSoType(
SoType* dynamicType = NULL); \
private: \
static SoType m_classTypeId; \
Definition at line 29 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_INTERNAL_SOURCE
#define SO_TYPED_CLASS_INTERNAL_SOURCE |
( |
|
parent, |
|
|
|
className, |
|
|
|
classPrintName |
|
) |
| |
Value: \
\
SoType \
className::getTypeId() const \
{ \
return m_classTypeId; \
} \
\
SoType \
className::getClassTypeId() \
{ \
return m_classTypeId; \
} \
\
void * \
className::createFromSoType(
SoType*) \
{ \
}
Definition at line 53 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_SOURCE
#define SO_TYPED_CLASS_SOURCE |
( |
|
parentClass, |
|
|
|
className, |
|
|
|
classPrintName |
|
) |
| |
Value:
\
void \
className::initClass() \
{ \
SO_TYPED_CLASS_INIT_CLASS(
className,classPrintName,parentClass) \
} \
\
void \
className::exitClass() \
{ \
}
#define SO_TYPED_CLASS_INTERNAL_SOURCE(parent, className, classPrintName)
Definition at line 75 of file SoSubTypedClass.h.
◆ SO_TYPED_CLASS_VARS