SoSFShort Class Reference
[Fields]

Field containing a short integer. More...

#include <Inventor/fields/SoSFShort.h>

Inheritance diagram for SoSFShort:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

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

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a short integer.

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.

SEE ALSO

SoField, SoSField, SoMFShort, SoSFUShort, SoSFInt32


Constructor & Destructor Documentation

SoSFShort::SoSFShort (  ) 

Default constructor.

virtual SoSFShort::~SoSFShort (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFShort::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

short SoSFShort::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

short SoSFShort::operator= ( short  newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFShort::setValue ( 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 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/