#include <Inventor/SoType.h>
Go to the source code of this file.
Defines | |
#define | SO_IMAGE_RASTER_RW_SOURCE(parent, className, classPrintName) |
#define | SO_IMAGE_RASTER_RW_ABSTRACT_SOURCE(className, classPrintName) |
#define | SO_IMAGE_RASTER_RW_HEADER() |
#define | SO_IMAGE_RASTER_RW_ABSTRACT_HEADER() |
#define SO_IMAGE_RASTER_RW_ABSTRACT_HEADER | ( | ) |
public: \ \ virtual SoType getTypeId() const = 0; \ \ static SoType getClassTypeId(); \ private: \ static void initClass(); \ static void exitClass(); \ \ private: \ static SoType m_classTypeId;
Returns the type identifier for this specific instance.
Returns the type identifier for this class.
#define SO_IMAGE_RASTER_RW_ABSTRACT_SOURCE | ( | className, | |||
classPrintName | ) |
\ SoType className::m_classTypeId; \ \ SoType \ className::getClassTypeId() \ { \ return m_classTypeId; \ } \ \ void \ className::initClass() \ { \ if ( m_classTypeId.isBad() ) { \ m_classTypeId = SoType::createType(SoType::badType(), classPrintName); \ } \ } \ \ void \ className::exitClass() \ { \ if ( m_classTypeId != SoType::badType() ) { \ SoType::removeType(m_classTypeId.getName()); \ m_classTypeId = SoType::badType(); \ } \ }
#define SO_IMAGE_RASTER_RW_HEADER | ( | ) |
#define SO_IMAGE_RASTER_RW_SOURCE | ( | parent, | |||
className, | |||||
classPrintName | ) |