Field containing a short integer. More...
#include <Inventor/fields/SoSFShort.h>
Public Member Functions | |
| virtual SoType | getTypeId () const |
| const SoSFShort & | operator= (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 () |
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.
SoField, SoSField, SoMFShort, SoSFUShort, SoSFInt32
| SoSFShort::SoSFShort | ( | ) |
Default constructor.
| virtual SoSFShort::~SoSFShort | ( | ) | [virtual] |
Destructor.
| 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.
| 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.