#include <Inventor/SoType.h>
#include <Inventor/SbString.h>
#include <Inventor/misc/SoBasic.h>
Go to the source code of this file.
Defines | |
#define | SO_AUDITOR_HEADER() |
#define | SO__AUDITOR_VARS(className) SoType className::classTypeId |
#define | SO__AUDITOR_METHODS(className) |
#define | SO_AUDITOR_SOURCE(className) |
#define | SO_AUDITOR_INIT_CLASS_INTERNAL(className, parentClass) |
#define | SO_AUDITOR_INIT_CLASS(className, parentClass) SO_AUDITOR_INIT_CLASS_INTERNAL(className,parentClass); |
#define | SO_AUDITOR_EXIT_CLASS(className) SoType::removeType(SO__QUOTE(className)) |
#define | ADD_MESSAGE_FIELD(field) |
#define | NEW_MESSAGE_GROUP(className) |
#define | NEW_MESSAGE_AUDITOR(className) |
#define ADD_MESSAGE_FIELD | ( | field | ) |
message += "\n\t\t -> "; \ message += #field; \ message += " \""; \ message += cpt->field.getValue(); \ message += "\""
#define NEW_MESSAGE_AUDITOR | ( | className | ) |
SbString message = "WARNING ! Auditor not defined for the "; \ message += #className; \ message += " component :"; \ ADD_MESSAGE_FIELD(auditorID)
#define NEW_MESSAGE_GROUP | ( | className | ) |
#define SO__AUDITOR_METHODS | ( | className | ) |
\ SoType \ className::getTypeId() const \ { \ return classTypeId; \ } \ \ SoType \ className::getClassTypeId() \ { \ return classTypeId; \ }
#define SO__AUDITOR_VARS | ( | className | ) | SoType className::classTypeId |
#define SO_AUDITOR_HEADER | ( | ) |
public: \ static SoType getClassTypeId(); /* Returns class type id */ \ \ virtual SoType getTypeId() const; /* Returns type id */ \ private: \ static SoType classTypeId
#define SO_AUDITOR_INIT_CLASS | ( | className, | |||
parentClass | ) | SO_AUDITOR_INIT_CLASS_INTERNAL(className,parentClass); |
#define SO_AUDITOR_INIT_CLASS_INTERNAL | ( | className, | |||
parentClass | ) |
classTypeId = \ SoType::createType(parentClass::getClassTypeId(), \ SO__QUOTE(className))
#define SO_AUDITOR_SOURCE | ( | className | ) |