50#ifndef _SO_INT32_ELEMENT
51#define _SO_INT32_ELEMENT
73 virtual void print(FILE *fp)
const;
87 static void initClass();
88 static void exitClass();
95 static void set(
SoType type,
int stackIndex,
SoState *state, int32_t value);
97 static void set(
SoType type,
int stackIndex,
99 { set(type, stackIndex, state, value); }
100 static void set(
SoType type,
int stackIndex,
103 { set(type, stackIndex, state, (int32_t)value); }
107 virtual void setElt(int32_t value);
114 static int32_t get(
SoType type,
int stackIndex,
SoState *state)
115 {
return (
static_cast<const SoInt32Element*
>( getConstElement(state, type, stackIndex) ) )->data; }
#define SoEXTENDER_Documented
#define SO_ELEMENT_ABSTRACT_HEADER(className)
Abstract base class for all state elements.
Stores a single int32_t, int, or enum value.
virtual void print(FILE *fp) const
Prints element (for debugging).
Abstract base class for all database nodes.
Stores runtime type information.