dtHLAGM::Tag Class Reference

A Tag type. More...

#include <distypes.h>

List of all members.

Public Member Functions

 Tag (double tagValue=0.0)
 Constructor.
size_t EncodedLength () const
 Returns the encoded length of this object.
void Encode (char *buf) const
 Encodes this object into the specified buffer.
void Decode (const char *buf)
 Decodes the values contained in the specified buffer.
void SetTag (double tagValue)
 Sets the value of the Tag.
double GetTag () const
 Returns the value of the Tag.


Detailed Description

A Tag type.

Constructor & Destructor Documentation

dtHLAGM::Tag::Tag ( double  tagValue = 0.0  ) 

Constructor.

Parameters:
tagValue the value of the Tag


Member Function Documentation

size_t dtHLAGM::Tag::EncodedLength (  )  const

Returns the encoded length of this object.

Returns:
the encoded length of this object, in bytes

void dtHLAGM::Tag::Encode ( char *  buf  )  const

Encodes this object into the specified buffer.

Parameters:
buf the buffer to contain the encoded object

void dtHLAGM::Tag::Decode ( const char *  buf  ) 

Decodes the values contained in the specified buffer.

Parameters:
buf the buffer containing the encoded object

void dtHLAGM::Tag::SetTag ( double  tagValue  ) 

Sets the value of the Tag.

Parameters:
tagValue the value of the Tag

double dtHLAGM::Tag::GetTag (  )  const

Returns the value of the Tag.

Returns:
the value of the Tag


http://www.delta3d.org
2.0.0 generated 14 Feb 2008