Go to the documentation of this file.
67#ifndef _SO_SUB_DETAIL_
68#define _SO_SUB_DETAIL_
84#define SO_DETAIL_HEADER(className) \
86 virtual SoType getTypeId() const; \
87 static SoType getClassTypeId() { return classTypeId; } \
89 static SoType classTypeId
101#define SO__DETAIL_ID_VARS(className) \
102 SoType className::classTypeId
109#define SO__DETAIL_ID_METHODS(className) \
112className::getTypeId() const \
114 return classTypeId; \
121#define SO_DETAIL_SOURCE(className) \
122 SO__DETAIL_ID_VARS(className); \
123 SO__DETAIL_ID_METHODS(className)
132#define SO_DETAIL_INIT_CLASS(className, parentClass) \
133 classTypeId = SoType::createType(parentClass::getClassTypeId(), \
134 SO__QUOTE(className), NULL)