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