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

SoSFShort — field containing a short integer

Description

       A field containing a short (16-bit) integer.

       SoSFShorts  are  written  to  file  as  a single short integer value, represented as decimal, hexadecimal
       (beginning with '0x') or octal (beginning with '0') value.

Inherits From

       SoField > SoSField > SoSFShort

Methods

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

     shortgetValue()const
          Returns this field's value.

     shortoperator=(shortnewValue)voidsetValue(shortnewValue)
          Sets this field to newValue.

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

Name

       SoSFShort — field containing a short integer

See Also

SoField,SoSField,SoMFShort,SoSFUShort,SoSFInt32SoSFShort(3IV)()

Synopsis

#include<Inventor/fields/SoSFShort.h>

          Methods from class SoSFShort:

     staticSoTypegetClassTypeId()virtualvoidgetTypeId()constshortgetValue()constshortoperator=(shortnewValue)voidsetValue(shortnewValue)intoperator==(constSoSFShort&f)constintoperator!=(constSoSFShort&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