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

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ ADD_MESSAGE_FIELD

#define ADD_MESSAGE_FIELD (   field)
Value:
message += "\n\t\t -> "; \
message += #field; \
message += " \""; \
message += cpt->field.getValue(); \
message += "\""

Definition at line 109 of file SoSubAuditor.h.

◆ NEW_MESSAGE_AUDITOR

#define NEW_MESSAGE_AUDITOR (   className)
Value:
SbString message = "WARNING ! Auditor not defined for the "; \
message += #className; \
message += " component :"; \
ADD_MESSAGE_FIELD(auditorID)
Class for smart character strings.
Definition SbString.h:202

Definition at line 121 of file SoSubAuditor.h.

◆ NEW_MESSAGE_GROUP

#define NEW_MESSAGE_GROUP (   className)
Value:
SbString message = "WARNING ! The DialogAuditor does not define the "; \
message += #className; \
message += " component :"

Definition at line 116 of file SoSubAuditor.h.

◆ SO__AUDITOR_METHODS

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

Definition at line 65 of file SoSubAuditor.h.

◆ SO__AUDITOR_VARS

#define SO__AUDITOR_VARS (   className)     SoType className::classTypeId

Definition at line 56 of file SoSubAuditor.h.

◆ SO_AUDITOR_EXIT_CLASS

#define SO_AUDITOR_EXIT_CLASS (   className)     SoType::removeType(SO__QUOTE(className))

Definition at line 106 of file SoSubAuditor.h.

◆ SO_AUDITOR_HEADER

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

Definition at line 37 of file SoSubAuditor.h.

◆ SO_AUDITOR_INIT_CLASS

#define SO_AUDITOR_INIT_CLASS (   className,
  parentClass 
)     SO_AUDITOR_INIT_CLASS_INTERNAL(className,parentClass);

Definition at line 103 of file SoSubAuditor.h.

◆ SO_AUDITOR_INIT_CLASS_INTERNAL

#define SO_AUDITOR_INIT_CLASS_INTERNAL (   className,
  parentClass 
)
Value:
classTypeId = \
SoType::createType(parentClass::getClassTypeId(), \
SO__QUOTE(className))

Definition at line 98 of file SoSubAuditor.h.

◆ SO_AUDITOR_SOURCE

#define SO_AUDITOR_SOURCE (   className)
Value:
SO__AUDITOR_METHODS(className)
#define SO__AUDITOR_VARS(className)

Definition at line 85 of file SoSubAuditor.h.