![]() |
Vault
4.1
|
VBentoDoubleArray is a VBentoArray that holds an array of VDouble values. More...
#include <vbento.h>
Public Member Functions | |
VBentoDoubleArray () | |
Constructs with uninitialized name and an initially empty array. | |
VBentoDoubleArray (VBinaryIOStream &stream) | |
Constructs by reading from stream. | |
VBentoDoubleArray (const VString &name) | |
Constructs from supplied name, with an initially empty array. | |
VBentoDoubleArray (const VString &name, const VDoubleArray &elements) | |
Constructs from supplied name and array to be copied. | |
virtual | ~VBentoDoubleArray () |
Destructor. | |
virtual VBentoAttribute * | clone () const |
VBentoDoubleArray & | operator= (const VBentoDoubleArray &rhs) |
const VDoubleArray & | getValue () const |
Returns the attribute's value. | |
void | setValue (const VDoubleArray &elements) |
Sets the attribute's value. | |
void | appendValue (VDouble element) |
Appends to the attribute's value. | |
void | appendValues (const VDoubleArray &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 VBentoDoubleArray * | 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 |
VBentoDoubleArray is a VBentoArray that holds an array of VDouble values.
VBentoDoubleArray::VBentoDoubleArray | ( | VBinaryIOStream & | stream | ) | [inline] |
Constructs by reading from stream.
stream | the stream to read |
Definition at line 2203 of file vbento.h.
References VBinaryIOStream::readDouble(), and VBinaryIOStream::readS32().
const VDoubleArray& VBentoDoubleArray::getValue | ( | ) | const [inline] |
void VBentoDoubleArray::setValue | ( | const VDoubleArray & | elements | ) | [inline] |
void VBentoDoubleArray::appendValue | ( | VDouble | element | ) | [inline] |
void VBentoDoubleArray::appendValues | ( | const VDoubleArray & | elements | ) | [inline] |
virtual Vs64 VBentoDoubleArray::getDataLength | ( | ) | const [inline, protected, virtual] |
Returns the length of this object's raw data only.
Implements VBentoAttribute.
virtual void VBentoDoubleArray::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 2221 of file vbento.h.
References VBinaryIOStream::writeDouble(), and VBinaryIOStream::writeS32().