Field containing a int32_t integer. More...
#include <Inventor/fields/SoSFInt32.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFInt32 & | operator= (const SoSFInt32 &f) |
SoSFInt32 () | |
virtual | ~SoSFInt32 () |
int32_t | getValue () const |
void | setValue (int32_t newValue) |
int32_t | operator= (int32_t newValue) |
int | operator== (const SoSFInt32 &f) const |
int | operator!= (const SoSFInt32 &f) const |
virtual size_t | getValueSize () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing a int32_t integer.
A field containing a single long (32-bit) integer.
SoSFInt32s are written to file as an integer in decimal, hexadecimal (beginning with '0x') or octal (beginning with '0') format.
SoField, SoSField, SoMFInt32, SoSFUInt32
SoSFInt32::SoSFInt32 | ( | ) |
Default constructor.
virtual SoSFInt32::~SoSFInt32 | ( | ) | [virtual] |
Destructor.
static SoType SoSFInt32::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFInt32::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
int32_t SoSFInt32::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFInt32::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFInt32::operator!= | ( | const SoSFInt32 & | f | ) | const [inline] |
Returns FALSE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
int32_t SoSFInt32::operator= | ( | int32_t | newValue | ) | [inline] |
Sets this field to newValue.
int SoSFInt32::operator== | ( | const SoSFInt32 & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFInt32::setValue | ( | int32_t | newValue | ) |
Sets this field to newValue.