SoSFUByte Class Reference
[Fields]

Field containing a uint8_t integer. More...

#include <Inventor/fields/SoSFUByte.h>

Inheritance diagram for SoSFUByte:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFUByteoperator= (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 ()

Detailed Description

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.

SEE ALSO

SoField, SoSField, SoMFUByte


Constructor & Destructor Documentation

SoSFUByte::SoSFUByte (  ) 

Default constructor.

virtual SoSFUByte::~SoSFUByte (  )  [virtual]

Destructor.


Member Function Documentation

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.

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

Copy from another field of same type.

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/