Vault  4.1
Public Member Functions | Static Public Member Functions | Protected Member Functions
VBentoU64 Class Reference

VBentoU64 is a VBentoAttribute that holds a Vu64 value. More...

#include <vbento.h>

Inheritance diagram for VBentoU64:
VBentoAttribute

List of all members.

Public Member Functions

 VBentoU64 ()
 Constructs with uninitialized name and value.
 VBentoU64 (VBinaryIOStream &stream)
 Constructs by reading from stream.
 VBentoU64 (const VString &name, Vu64 i)
 Constructs from supplied name and value.
virtual ~VBentoU64 ()
 Destructor.
virtual VBentoAttributeclone () const
VBentoU64operator= (const VBentoU64 &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.
Vu64 getValue () const
 Returns the attribute's value.
void setValue (Vu64 i)
 Sets the attribute's value.

Static Public Member Functions

static const VStringDATA_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.

Detailed Description

VBentoU64 is a VBentoAttribute that holds a Vu64 value.

Definition at line 1097 of file vbento.h.


Constructor & Destructor Documentation

VBentoU64::VBentoU64 ( VBinaryIOStream stream) [inline]

Constructs by reading from stream.

Parameters:
streamthe stream to read

Definition at line 1103 of file vbento.h.


Member Function Documentation

Vu64 VBentoU64::getValue ( ) const [inline]

Returns the attribute's value.

Returns:
the value

Definition at line 1114 of file vbento.h.

void VBentoU64::setValue ( Vu64  i) [inline]

Sets the attribute's value.

Parameters:
ithe attribute value

Definition at line 1115 of file vbento.h.

virtual Vs64 VBentoU64::getDataLength ( ) const [inline, protected, virtual]

Returns the length of this object's raw data only.

Returns:
the length of the object's raw data

Implements VBentoAttribute.

Definition at line 1119 of file vbento.h.

virtual void VBentoU64::writeDataToBinaryStream ( VBinaryIOStream stream) const [inline, protected, virtual]

Writes the object's raw data only to a binary stream.

Parameters:
streamthe stream to write to

Implements VBentoAttribute.

Definition at line 1120 of file vbento.h.

References VBinaryIOStream::writeU64().


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

Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.