SoSFUShort Class Reference
[Fields]

Field containing an unsigned short integer. More...

#include <Inventor/fields/SoSFUShort.h>

Inheritance diagram for SoSFUShort:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFUShortoperator= (const SoSFUShort &f)
 SoSFUShort ()
virtual ~SoSFUShort ()
unsigned short getValue () const
void setValue (unsigned short newValue)
unsigned short operator= (unsigned short newValue)
int operator== (const SoSFUShort &f) const
int operator!= (const SoSFUShort &f) const
virtual size_t getValueSize () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing an unsigned short integer.

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.

SEE ALSO

SoField, SoSField, SoMFUShort


Constructor & Destructor Documentation

SoSFUShort::SoSFUShort (  ) 

Default constructor.

virtual SoSFUShort::~SoSFUShort (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFUShort::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

virtual SoType SoSFUShort::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.

unsigned short SoSFUShort::getValue (  )  const [inline]

Returns this field's value.

virtual size_t SoSFUShort::getValueSize (  )  const [inline, virtual]

Get size of the value.

Reimplemented from SoField.

int SoSFUShort::operator!= ( const SoSFUShort f  )  const [inline]

Returns FALSE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

unsigned short SoSFUShort::operator= ( unsigned short  newValue  )  [inline]

Sets this field to newValue.

const SoSFUShort& SoSFUShort::operator= ( const SoSFUShort f  ) 

Copy from another field of same type.

int SoSFUShort::operator== ( const SoSFUShort f  )  const

Returns TRUE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

void SoSFUShort::setValue ( unsigned short  newValue  ) 

Sets this field to newValue.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Nov 2020
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/