50#ifndef _SO_SWITCH_ELEMENT
51#define _SO_SWITCH_ELEMENT
84 {
set(state, index); }
104 static void initClass();
105 static void exitClass();
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Stores a single int32_t, int, or enum value.
Abstract base class for all database nodes.
Stores the current switch index.
static int32_t get(SoState *state)
Returns current switch index from the state.
static int32_t getDefault()
Returns the default switch index.
static SoType getClassTypeId()
Returns the type identifier for this class.
static int getClassStackIndex()
Returns the stack id for this element.
static void set(SoState *state, SoNode *, int32_t index)
Sets the current switch index in the state.
static void set(SoState *state, int32_t index)
Sets the current switch index in the state.