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