![]() |
Vault
4.1
|
VBentoS32Array is a VBentoArray that holds an array of Vs32 values. More...
#include <vbento.h>
Public Member Functions | |
VBentoS32Array () | |
Constructs with uninitialized name and an initially empty array. | |
VBentoS32Array (VBinaryIOStream &stream) | |
Constructs by reading from stream. | |
VBentoS32Array (const VString &name) | |
Constructs from supplied name, with an initially empty array. | |
VBentoS32Array (const VString &name, const Vs32Array &elements) | |
Constructs from supplied name and array to be copied. | |
virtual | ~VBentoS32Array () |
Destructor. | |
virtual VBentoAttribute * | clone () const |
VBentoS32Array & | operator= (const VBentoS32Array &rhs) |
const Vs32Array & | getValue () const |
Returns the attribute's value. | |
void | setValue (const Vs32Array &elements) |
Sets the attribute's value. | |
void | appendValue (Vs32 element) |
Appends to the attribute's value. | |
void | appendValues (const Vs32Array &elements) |
Appends to the attribute's value. | |
virtual void | writeToXMLTextStream (VTextIOStream &stream, bool lineWrap, int depth) const |
Override to form this complex attribute as a child tag with its own attributes. | |
Static Public Member Functions | |
static VBentoS32Array * | newFromBentoTextString (const VString &name, const VString &bentoText) |
static const VString & | DATA_TYPE_ID () |
The data type name / class ID string. | |
Protected Member Functions | |
virtual Vs64 | getDataLength () const |
Returns the length of this object's raw data only. | |
virtual void | writeDataToBinaryStream (VBinaryIOStream &stream) const |
Writes the object's raw data only to a binary stream. | |
virtual int | _getNumElements () const |
virtual void | _appendElementBentoText (int elementIndex, VString &s) const |
VBentoS32Array is a VBentoArray that holds an array of Vs32 values.
VBentoS32Array::VBentoS32Array | ( | VBinaryIOStream & | stream | ) | [inline] |
Constructs by reading from stream.
stream | the stream to read |
Definition at line 2047 of file vbento.h.
References VBinaryIOStream::readS32().
const Vs32Array& VBentoS32Array::getValue | ( | ) | const [inline] |
void VBentoS32Array::setValue | ( | const Vs32Array & | elements | ) | [inline] |
void VBentoS32Array::appendValue | ( | Vs32 | element | ) | [inline] |
void VBentoS32Array::appendValues | ( | const Vs32Array & | elements | ) | [inline] |
virtual Vs64 VBentoS32Array::getDataLength | ( | ) | const [inline, protected, virtual] |
Returns the length of this object's raw data only.
Implements VBentoAttribute.
virtual void VBentoS32Array::writeDataToBinaryStream | ( | VBinaryIOStream & | stream | ) | const [inline, protected, virtual] |
Writes the object's raw data only to a binary stream.
stream | the stream to write to |
Implements VBentoAttribute.
Definition at line 2065 of file vbento.h.
References VBinaryIOStream::writeS32().