dtHLAGM::AttachedParts Class Reference

DIS/RPR-FOM attached part. More...

#include <distypes.h>

List of all members.

Public Member Functions

 AttachedParts (unsigned int station=0)
 Constructor.
 AttachedParts (unsigned int station, const EntityType &storeType)
 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 SetStation (unsigned int station)
 Sets the part station.
unsigned int GetStation () const
 Returns the part station.
void SetStoreType (const EntityType &storeType)
 Sets the store type.
const EntityTypeGetStoreType () const
 Returns the store type.
bool IsEqual (const AttachedParts &other) const
 Returns true this equals another AttachParts object.


Detailed Description

DIS/RPR-FOM attached part.

Constructor & Destructor Documentation

dtHLAGM::AttachedParts::AttachedParts ( unsigned int  station = 0  ) 

Constructor.

Parameters:
station the part station

dtHLAGM::AttachedParts::AttachedParts ( unsigned int  station,
const EntityType storeType 
)

Constructor.

Parameters:
station the part station
storeType the store type


Member Function Documentation

size_t dtHLAGM::AttachedParts::EncodedLength (  )  const

Returns the encoded length of this object.

Returns:
the encoded length of this object, in bytes

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

Encodes this object into the specified buffer.

Parameters:
buf the buffer to contain the encoded object

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

Decodes the values contained in the specified buffer.

Parameters:
buf the buffer containing the encoded object

void dtHLAGM::AttachedParts::SetStation ( unsigned int  station  ) 

Sets the part station.

Parameters:
station the part station

unsigned int dtHLAGM::AttachedParts::GetStation (  )  const

Returns the part station.

Returns:
the part station

void dtHLAGM::AttachedParts::SetStoreType ( const EntityType storeType  ) 

Sets the store type.

Parameters:
storeType the store type

const EntityType & dtHLAGM::AttachedParts::GetStoreType (  )  const

Returns the store type.

Returns:
the store type

bool dtHLAGM::AttachedParts::IsEqual ( const AttachedParts other  )  const

Returns true this equals another AttachParts object.

Returns:
true if this is equal to other


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