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

VBentoIPoint3D is a VBentoAttribute that holds a VIPoint3D value. More...

#include <vbento.h>

Inheritance diagram for VBentoIPoint3D:
VBentoAttribute

List of all members.

Public Member Functions

 VBentoIPoint3D ()
 Constructs with uninitialized name and the current time as value.
 VBentoIPoint3D (VBinaryIOStream &stream)
 Constructs by reading from stream.
 VBentoIPoint3D (const VString &name, const VIPoint3D &s)
 Constructs from supplied name and value.
virtual ~VBentoIPoint3D ()
 Destructor.
virtual VBentoAttributeclone () const
VBentoIPoint3Doperator= (const VBentoIPoint3D &rhs)
virtual bool xmlAppearsAsArray () const
 True if XML output requires this attribute to use a separate child tag for its array elements; implies override of writeToXMLTextStream.
virtual void writeToXMLTextStream (VTextIOStream &stream, bool lineWrap, int indentDepth) const
 Writes the attribute to a text stream as XML.
virtual void getValueAsXMLText (VString &) 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.
const VIPoint3DgetValue () const
 Returns the attribute's value.
void setValue (const VIPoint3D &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

VBentoIPoint3D is a VBentoAttribute that holds a VIPoint3D value.

Definition at line 1564 of file vbento.h.


Constructor & Destructor Documentation

VBentoIPoint3D::VBentoIPoint3D ( VBinaryIOStream stream) [inline]

Constructs by reading from stream.

Parameters:
streamthe stream to read

Definition at line 1570 of file vbento.h.


Member Function Documentation

void VBentoIPoint3D::writeToXMLTextStream ( VTextIOStream stream,
bool  lineWrap,
int  indentDepth 
) const [virtual]

Writes the attribute to a text stream as XML.

Parameters:
streamthe stream to write to
lineWraptrue if each bento node should start on its own indented line
indentDepthif lineWrap is true, the indent level depth of this node

Reimplemented from VBentoAttribute.

Definition at line 903 of file vbento.cpp.

References VBentoAttribute::getName().

const VIPoint3D& VBentoIPoint3D::getValue ( ) const [inline]

Returns the attribute's value.

Returns:
a reference to the value object

Definition at line 1584 of file vbento.h.

void VBentoIPoint3D::setValue ( const VIPoint3D i) [inline]

Sets the attribute's value.

Parameters:
ithe attribute value

Definition at line 1585 of file vbento.h.

virtual Vs64 VBentoIPoint3D::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 1589 of file vbento.h.

virtual void VBentoIPoint3D::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 1590 of file vbento.h.


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

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