#include <Inventor/details/SoDetail.h>
#include <Inventor/errors/SoDebugError.h>
Go to the source code of this file.
Defines | |
#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) |
#define SO__DETAIL_ID_METHODS | ( | className | ) |
\ SoType \ className::getClassTypeId() \ { \ return classTypeId; \ } \ SoType \ className::getTypeId() const \ { \ return classTypeId; \ }
#define SO__DETAIL_ID_VARS | ( | className | ) | SoType className::classTypeId; |
Returns the type identifier for this specific instance.
Returns the type identifier for this class.
#define SO_DETAIL_EXIT_CLASS | ( | className | ) |
SoType::removeType(classTypeId.getName()); \ classTypeId = SoType::badType()
#define SO_DETAIL_HEADER | ( | className | ) |
public: \ \ virtual SoType getTypeId() const; \ \ static SoType getClassTypeId() ; \ private: \ static SoType classTypeId
#define SO_DETAIL_INIT_CLASS | ( | className, | |||
parentClass | ) | SO_DETAIL_INIT_CLASS_INTERNAL(className, parentClass) |
#define SO_DETAIL_INIT_CLASS_CHECK_PARENT | ( | className, | |||
parentClass | ) |
if (parentClass::getClassTypeId().isBad()) \ parentClass::initClass()
#define SO_DETAIL_INIT_CLASS_INTERNAL | ( | className, | |||
parentClass | ) |
SO_DETAIL_INIT_CLASS_CHECK_PARENT(className, parentClass); \ classTypeId = SoType::createType(parentClass::getClassTypeId(), SO__QUOTE(className), NULL);
#define SO_DETAIL_SOURCE | ( | className | ) |