KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AggregateType Class Reference

#include <AggregateType.h>

Inheritance diagram for AggregateType:
Collaboration diagram for AggregateType:

Public Member Functions

 AggregateType ()
 
 AggregateType (KDIS::DATA_TYPE::ENUMS::AggregateKind Kind, KUINT8 Domain, KDIS::DATA_TYPE::ENUMS::Country Country, KUINT8 Categoy, KUINT8 SubCategory, KUINT8 Specific, KUINT8 Extra)
 
 AggregateType (KUINT8 Kind, KUINT8 Domain, KUINT8 Country, KUINT8 Categoy, KUINT8 SubCategory, KUINT8 Specific, KUINT8 Extra)
 
 AggregateType (KDataStream &stream) throw ( KException )
 
virtual void Decode (KDataStream &stream) throw ( KException )
 Description: Convert From Network Data. More...
 
virtual KDataStream Encode () const
 Description: Convert To Network Data. More...
 
virtual void Encode (KDataStream &stream) const
 
virtual KString GetAsString () const
 Description: Returns a string representation. More...
 
KUINT8 GetCategory () const
 
KDIS::DATA_TYPE::ENUMS::Country GetCountry () const
 
KDIS::DATA_TYPE::ENUMS::EntityDomain GetDomain () const
 
KDIS::DATA_TYPE::ENUMS::AggregateKind GetEntityKind () const
 
KUINT8 GetExtra () const
 
KUINT8 GetSpecific () const
 
KUINT8 GetSubCategory () const
 
KBOOL operator!= (const AggregateType &Value) const
 
KBOOL operator< (const AggregateType &Value) const
 
KBOOL operator== (const AggregateType &Value) const
 
void SetCategory (KUINT8 UI)
 Description: Category. More...
 
void SetCountry (KDIS::DATA_TYPE::ENUMS::Country UI)
 Description: Country. More...
 
void SetDomain (KDIS::DATA_TYPE::ENUMS::EntityDomain UI)
 Description: Domain - Same as Entity Type record. More...
 
void SetEntityKind (KDIS::DATA_TYPE::ENUMS::AggregateKind AK)
 Description: Kind. More...
 
void SetExtra (KUINT8 UI)
 Description: Extra. More...
 
void SetSpecific (KUINT8 UI)
 Description: Specific. More...
 
void SetSubCategory (KUINT8 UI)
 Description: Sub Category. More...
 
virtual ~AggregateType ()
 
- Public Member Functions inherited from DataTypeBase
 DataTypeBase ()
 
virtual ~DataTypeBase ()
 

Static Public Attributes

static const KUINT16 AGGREGATE_TYPE_SIZE = 8
 

Protected Attributes

KUINT16 m_ui16Country
 
KUINT8 m_ui8Category
 
KUINT8 m_ui8Domain
 
KUINT8 m_ui8Extra
 
KUINT8 m_ui8Kind
 
KUINT8 m_ui8Specific
 
KUINT8 m_ui8SubCategory
 

Constructor & Destructor Documentation

AggregateType ( KDIS::DATA_TYPE::ENUMS::AggregateKind  Kind,
KUINT8  Domain,
KDIS::DATA_TYPE::ENUMS::Country  Country,
KUINT8  Categoy,
KUINT8  SubCategory,
KUINT8  Specific,
KUINT8  Extra 
)
AggregateType ( KUINT8  Kind,
KUINT8  Domain,
KUINT8  Country,
KUINT8  Categoy,
KUINT8  SubCategory,
KUINT8  Specific,
KUINT8  Extra 
)
AggregateType ( KDataStream stream)
throw (KException
)
virtual ~AggregateType ( )
virtual

Member Function Documentation

void SetEntityKind ( KDIS::DATA_TYPE::ENUMS::AggregateKind  AK)

Description: Kind.

KDIS::DATA_TYPE::ENUMS::AggregateKind GetEntityKind ( ) const
void SetDomain ( KDIS::DATA_TYPE::ENUMS::EntityDomain  UI)

Description: Domain - Same as Entity Type record.

void SetCountry ( KDIS::DATA_TYPE::ENUMS::Country  UI)

Description: Country.

KDIS::DATA_TYPE::ENUMS::Country GetCountry ( ) const
void SetCategory ( KUINT8  UI)

Description: Category.

KUINT8 GetCategory ( ) const
void SetSubCategory ( KUINT8  UI)

Description: Sub Category.

KUINT8 GetSubCategory ( ) const
void SetSpecific ( KUINT8  UI)

Description: Specific.

KUINT8 GetSpecific ( ) const
void SetExtra ( KUINT8  UI)

Description: Extra.

KUINT8 GetExtra ( ) const
virtual KString GetAsString ( ) const
virtual

Description: Returns a string representation.

Implements DataTypeBase.

virtual void Decode ( KDataStream stream)
throw (KException
)
virtual

Description: Convert From Network Data.

Implements DataTypeBase.

virtual KDataStream Encode ( ) const
virtual

Description: Convert To Network Data.

Implements DataTypeBase.

virtual void Encode ( KDataStream stream) const
virtual

Implements DataTypeBase.

KBOOL operator== ( const AggregateType Value) const
KBOOL operator!= ( const AggregateType Value) const
KBOOL operator< ( const AggregateType Value) const

Member Data Documentation

KUINT8 m_ui8Kind
protected
KUINT8 m_ui8Domain
protected
KUINT16 m_ui16Country
protected
KUINT8 m_ui8Category
protected
KUINT8 m_ui8SubCategory
protected
KUINT8 m_ui8Specific
protected
KUINT8 m_ui8Extra
protected
const KUINT16 AGGREGATE_TYPE_SIZE = 8
static

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