Vault
4.1
|
VBentoU16 is a VBentoAttribute that holds a Vu16 value. More...
#include <vbento.h>
Public Member Functions | |
VBentoU16 () | |
Constructs with uninitialized name and value. | |
VBentoU16 (VBinaryIOStream &stream) | |
Constructs by reading from stream. | |
VBentoU16 (const VString &name, Vu16 i) | |
Constructs from supplied name and value. | |
virtual | ~VBentoU16 () |
Destructor. | |
virtual VBentoAttribute * | clone () const |
VBentoU16 & | operator= (const VBentoU16 &rhs) |
virtual void | getValueAsXMLText (VString &s) const |
Returns a string suitable for an XML attribute value, including escaping via _escapeXMLValue() if needed. | |
virtual void | getValueAsString (VString &s) const |
Returns a printable form of the attribute value. | |
virtual void | getValueAsBentoTextString (VString &s) const |
Returns a Bento Text form of the attribute value. | |
Vu16 | getValue () const |
Returns the attribute's value. | |
void | setValue (Vu16 i) |
Sets the attribute's value. | |
Static Public Member Functions | |
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. |
VBentoU16 is a VBentoAttribute that holds a Vu16 value.
VBentoU16::VBentoU16 | ( | VBinaryIOStream & | stream | ) | [inline] |
Vu16 VBentoU16::getValue | ( | ) | const [inline] |
void VBentoU16::setValue | ( | Vu16 | i | ) | [inline] |
virtual Vs64 VBentoU16::getDataLength | ( | ) | const [inline, protected, virtual] |
Returns the length of this object's raw data only.
Implements VBentoAttribute.
virtual void VBentoU16::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 988 of file vbento.h.
References VBinaryIOStream::writeU16().