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

SoSFUShort — field containing an unsigned short integer

Description

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

       SoSFUShorts  are  written  to file in decimal, hexadecimal (beginning with '0x') or octal (beginning with
       '0') values.

Inherits From

       SoField > SoSField > SoSFUShort

Methods

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

     shortunsignedshortgetValue()const
          Returns this field's value.

     shortunsignedshortoperator=(shortunsignedshortnewValue)voidsetValue(shortunsignedshortnewValue)
          Sets this field to newValue.

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

Name

       SoSFUShort — field containing an unsigned short integer

See Also

SoField,SoSField,SoMFUShortSoSFUShort(3IV)()

Synopsis

#include<Inventor/fields/SoSFUShort.h>

          Methods from class SoSFUShort:

     staticSoTypegetClassTypeId()virtualvoidgetTypeId()constshortunsignedshortgetValue()constshortunsignedshortoperator=(shortunsignedshortnewValue)voidsetValue(shortunsignedshortnewValue)intoperator==(constSoSFUShort&f)constintoperator!=(constSoSFUShort&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