Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoSubDetail.h File Reference

Go to the source code of this file.

Macros

#define SO_DETAIL_HEADER(className)
 
#define SO__DETAIL_ID_VARS(className)    SoType className::classTypeId;
 
#define SO__DETAIL_ID_METHODS(className)
 
#define SO_DETAIL_SOURCE(className)
 
#define SO_DETAIL_INIT_CLASS_CHECK_PARENT(className, parentClass)
 
#define SO_DETAIL_INIT_CLASS_INTERNAL(className, parentClass)
 
#define SO_DETAIL_INIT_CLASS(className, parentClass)    SO_DETAIL_INIT_CLASS_INTERNAL(className, parentClass)
 
#define SO_DETAIL_EXIT_CLASS(className)
 

Macro Definition Documentation

◆ SO__DETAIL_ID_METHODS

#define SO__DETAIL_ID_METHODS (   className)
Value:
\
SoType \
className::getClassTypeId() \
{ \
return classTypeId; \
} \
SoType \
className::getTypeId() const \
{ \
return classTypeId; \
}

Definition at line 95 of file SoSubDetail.h.

◆ SO__DETAIL_ID_VARS

#define SO__DETAIL_ID_VARS (   className)     SoType className::classTypeId;

Definition at line 87 of file SoSubDetail.h.

◆ SO_DETAIL_EXIT_CLASS

#define SO_DETAIL_EXIT_CLASS (   className)
Value:
SoType::removeType(classTypeId.getName()); \
classTypeId = SoType::badType()
static SoType badType()
Returns an always-illegal type.
Definition SoType.h:124

Definition at line 155 of file SoSubDetail.h.

◆ SO_DETAIL_HEADER

#define SO_DETAIL_HEADER (   className)
Value:
public: \ \
virtual SoType getTypeId() const; \ \
static SoType getClassTypeId() ; \
private: \
static SoType classTypeId
virtual SoType getTypeId() const
Returns the type identifier for this specific instance.
Stores runtime type information.
Definition SoType.h:98

Definition at line 68 of file SoSubDetail.h.

◆ SO_DETAIL_INIT_CLASS

#define SO_DETAIL_INIT_CLASS (   className,
  parentClass 
)     SO_DETAIL_INIT_CLASS_INTERNAL(className, parentClass)

Definition at line 141 of file SoSubDetail.h.

◆ SO_DETAIL_INIT_CLASS_CHECK_PARENT

#define SO_DETAIL_INIT_CLASS_CHECK_PARENT (   className,
  parentClass 
)
Value:
if (parentClass::getClassTypeId().isBad()) \
parentClass::initClass()

Definition at line 126 of file SoSubDetail.h.

◆ SO_DETAIL_INIT_CLASS_INTERNAL

#define SO_DETAIL_INIT_CLASS_INTERNAL (   className,
  parentClass 
)
Value:
classTypeId = SoType::createType(parentClass::getClassTypeId(), SO__QUOTE(className), NULL);
#define SO_DETAIL_INIT_CLASS_CHECK_PARENT(className, parentClass)

Definition at line 137 of file SoSubDetail.h.

◆ SO_DETAIL_SOURCE

#define SO_DETAIL_SOURCE (   className)
Value:
SO__DETAIL_ID_METHODS(className)
#define SO__DETAIL_ID_VARS(className)
Definition SoSubDetail.h:87

Definition at line 112 of file SoSubDetail.h.