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