logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoSFInt32 — field containing a int32_t integer

Description

       A field containing a single long (32-bit) integer.

       SoSFInt32s  are  written  to  file  as  an integer in decimal, hexadecimal (beginning with '0x') or octal
       (beginning with '0') format.

Inherits From

       SoField > SoSField > SoSFInt32

Methods

staticSoTypegetClassTypeId()virtualvoidgetTypeId()const
          Returns the type for this class or a particular object of this class.

     int32_tgetValue()const
          Returns this field's value.

     int32_toperator=(int32_tnewValue)voidsetValue(int32_tnewValue)
          Sets this field to newValue.

     intoperator==(constSoSFInt32&f)constintoperator!=(constSoSFInt32&f)const
          Returns TRUE if f is of the same type and has the same value as this field.

Name

       SoSFInt32 — field containing a int32_t integer

See Also

SoField,SoSField,SoMFInt32,SoSFUInt32SoSFInt32(3IV)()

Synopsis

#include<Inventor/fields/SoSFInt32.h>

          Methods from class SoSFInt32:

     staticSoTypegetClassTypeId()virtualvoidgetTypeId()constint32_tgetValue()constint32_toperator=(int32_tnewValue)voidsetValue(int32_tnewValue)intoperator==(constSoSFInt32&f)constintoperator!=(constSoSFInt32&f)const

          Methods from class SoField:

     voidsetIgnored(SbBoolignore)SbBoolisIgnored()constSbBoolisDefault()constvirtualSbBoolisOfType(SoTypetype)constSbBoolset(constchar*valueString)voidget(SbString&valueString)voidtouch()SbBoolconnectFrom(SoField*fromField)SbBoolconnectFrom(SoEngineOutput*fromEngine)voiddisconnect()SbBoolisConnected()constSbBoolisConnectedFromField()constSbBoolgetConnectedField(SoField*&writingField)constSbBoolisConnectedFromEngine()constSbBoolgetConnectedEngine(SoEngineOutput*&engineOutput)constvoidenableConnection(SbBoolflag)SbBoolisConnectionEnabled()constintgetForwardConnections(SoFieldList&list)constSoFieldContainer*getContainer()const

See Also