Inventor/details/SoSubDetail.h File Reference

#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 Documentation

#define SO__DETAIL_ID_METHODS ( className   ) 
Value:
\
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   ) 
Value:
SoType::removeType(classTypeId.getName()); \
  classTypeId = SoType::badType()
#define SO_DETAIL_HEADER ( className   ) 
Value:
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   ) 
Value:
if (parentClass::getClassTypeId().isBad())                                          \
    parentClass::initClass()
#define SO_DETAIL_INIT_CLASS_INTERNAL ( className,
parentClass   ) 
Value:
SO_DETAIL_INIT_CLASS_CHECK_PARENT(className, parentClass); \
  classTypeId = SoType::createType(parentClass::getClassTypeId(), SO__QUOTE(className), NULL);
#define SO_DETAIL_SOURCE ( className   ) 

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/