.TH "SoInt32Element" 3 "Sat Oct 12 2013" "Version 4.0.0a" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoInt32Element \- .PP The \fBSoInt32Element\fP class is the base class for elements that simply store a 32-bit integer\&. .PP This is the superclass of elements where the new element data \fIreplaces\fP the old data, and where the data the element stores is a simple 32-bit integer value\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBSoElement\fP\&. .PP Inherited by \fBSoAnnoText3CharOrientElement\fP, \fBSoAnnoText3FontSizeHintElement\fP, \fBSoAnnoText3RenderPrintElement\fP, \fBSoComplexityTypeElement\fP, \fBSoDecimationTypeElement\fP, \fBSoDrawStyleElement\fP, \fBSoGLLightIdElement\fP, \fBSoGLShadowCullingElement\fP, \fBSoLightModelElement\fP, \fBSoLinePatternElement\fP, \fBSoMaterialBindingElement\fP, \fBSoNormalBindingElement\fP, \fBSoPickStyleElement\fP, \fBSoShadowStyleElement\fP, \fBSoSwitchElement\fP, \fBSoTextOutlineEnabledElement\fP, \fBSoTextureCoordinateBindingElement\fP, \fBSoTextureUnitElement\fP, \fBSoUnitsElement\fP, and \fBSoVertexAttributeBindingElement\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual void \fBinit\fP (\fBSoState\fP *state)" .br .RI "\fIFIXME: write doc\&. \fP" .ti -1c .RI "virtual SbBool \fBmatches\fP (const \fBSoElement\fP *element) const " .br .ti -1c .RI "virtual \fBSoElement\fP * \fBcopyMatchInfo\fP (void) const " .br .ti -1c .RI "virtual void \fBprint\fP (FILE *file) const " .br .ti -1c .RI "virtual void \fBsetElt\fP (int32_t value)" .br .RI "\fIFIXME: write doc\&. \fP" .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBset\fP (const int index, \fBSoState\fP *const state, \fBSoNode\fP *const node, const int32_t value)" .br .ti -1c .RI "static void \fBset\fP (const int index, \fBSoState\fP *const state, const int32_t value)" .br .ti -1c .RI "static int32_t \fBget\fP (const int index, \fBSoState\fP *const state)" .br .RI "\fIFIXME: write doc\&. \fP" .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int32_t \fBdata\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBSoInt32Element\fP class is the base class for elements that simply store a 32-bit integer\&. .PP This is the superclass of elements where the new element data \fIreplaces\fP the old data, and where the data the element stores is a simple 32-bit integer value\&. This element is like a convenient light-weight version of the \fBSoReplacedElement\fP\&. It differs from the \fBSoReplacedElement\fP in that the set() and \fBget()\fP methods are already implemented, since it is known that subclasses will still contain just a single 32-bit integer value\&. .PP \fBSee Also:\fP .RS 4 \fBSoReplacedElement\fP, \fBSoFloatElement\fP, \fBSoAccumulatedElement\fP .RE .PP .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoInt32Element::getClassTypeId (void)\fC [static]\fP" This static method returns the class type\&. .PP Reimplemented from \fBSoElement\fP\&. .PP Reimplemented in \fBSoTextureUnitElement\fP, \fBSoGLShadowCullingElement\fP, \fBSoShadowStyleElement\fP, \fBSoAnnoText3CharOrientElement\fP, \fBSoAnnoText3FontSizeHintElement\fP, \fBSoAnnoText3RenderPrintElement\fP, \fBSoComplexityTypeElement\fP, \fBSoDecimationTypeElement\fP, \fBSoDrawStyleElement\fP, \fBSoGLDrawStyleElement\fP, \fBSoGLLightIdElement\fP, \fBSoGLLinePatternElement\fP, \fBSoLightModelElement\fP, \fBSoLinePatternElement\fP, \fBSoMaterialBindingElement\fP, \fBSoNormalBindingElement\fP, \fBSoPickStyleElement\fP, \fBSoSwitchElement\fP, \fBSoTextOutlineEnabledElement\fP, \fBSoTextureCoordinateBindingElement\fP, \fBSoUnitsElement\fP, and \fBSoVertexAttributeBindingElement\fP\&. .SS "int SoInt32Element::getClassStackIndex (void)\fC [static]\fP" This static method returns the state stack index for the class\&. .PP Reimplemented from \fBSoElement\fP\&. .PP Reimplemented in \fBSoTextureUnitElement\fP, \fBSoGLShadowCullingElement\fP, \fBSoShadowStyleElement\fP, \fBSoAnnoText3CharOrientElement\fP, \fBSoAnnoText3FontSizeHintElement\fP, \fBSoAnnoText3RenderPrintElement\fP, \fBSoComplexityTypeElement\fP, \fBSoDecimationTypeElement\fP, \fBSoDrawStyleElement\fP, \fBSoGLDrawStyleElement\fP, \fBSoGLLightIdElement\fP, \fBSoGLLinePatternElement\fP, \fBSoLightModelElement\fP, \fBSoLinePatternElement\fP, \fBSoMaterialBindingElement\fP, \fBSoNormalBindingElement\fP, \fBSoPickStyleElement\fP, \fBSoSwitchElement\fP, \fBSoTextOutlineEnabledElement\fP, \fBSoTextureCoordinateBindingElement\fP, \fBSoUnitsElement\fP, and \fBSoVertexAttributeBindingElement\fP\&. .SS "void SoInt32Element::initClass (void)\fC [static]\fP" Initialize relevant common data for all instances, like the type system\&. .PP Reimplemented from \fBSoElement\fP\&. .PP Reimplemented in \fBSoTextureUnitElement\fP, \fBSoGLShadowCullingElement\fP, \fBSoShadowStyleElement\fP, \fBSoAnnoText3CharOrientElement\fP, \fBSoAnnoText3FontSizeHintElement\fP, \fBSoAnnoText3RenderPrintElement\fP, \fBSoComplexityTypeElement\fP, \fBSoDecimationTypeElement\fP, \fBSoDrawStyleElement\fP, \fBSoGLDrawStyleElement\fP, \fBSoGLLightIdElement\fP, \fBSoGLLinePatternElement\fP, \fBSoLightModelElement\fP, \fBSoLinePatternElement\fP, \fBSoMaterialBindingElement\fP, \fBSoNormalBindingElement\fP, \fBSoPickStyleElement\fP, \fBSoSwitchElement\fP, \fBSoTextOutlineEnabledElement\fP, \fBSoTextureCoordinateBindingElement\fP, \fBSoUnitsElement\fP, and \fBSoVertexAttributeBindingElement\fP\&. .SS "SbBool SoInt32Element::matches (const \fBSoElement\fP *element) const\fC [virtual]\fP" This function returns \fCTRUE\fP is the element matches another element (of the same class), with respect to cache validity\&. .PP If the application programmer's extension element has a \fBmatches()\fP function, it should also have a \fBcopyMatchInfo()\fP function\&. .PP Implements \fBSoElement\fP\&. .SS "\fBSoElement\fP * SoInt32Element::copyMatchInfo (void) const\fC [virtual]\fP" This function creates a copy of the element that contains enough information to enable the \fBmatches()\fP function to work\&. .PP Used to help with scenegraph traversal caching operations\&. .PP Implements \fBSoElement\fP\&. .SS "void SoInt32Element::print (FILE *file) const\fC [virtual]\fP" This function is for printing element information, and is used mostly for debugging purposes\&. .PP Reimplemented from \fBSoElement\fP\&. .SS "void SoInt32Element::set (const intindex, \fBSoState\fP *conststate, const int32_tvalue)\fC [static]\fP" FIXME: write doc\&. .SH "Member Data Documentation" .PP .SS "SoInt32Element::data\fC [protected]\fP" The 32-bit integer value of the element\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.