MultiAgentDecisionProcess  Release 0.2.1
Type Class Reference

Type is an abstract class that represents a Type (e.g. More...

#include <Type.h>

+ Inheritance diagram for Type:

Public Types

enum  SubClass { UNDEFINED, AOHINDEX, POINTERTUPLE }

Public Member Functions

virtual TypeClone () const =0
SubClass GetSubClass () const
Typeoperator= (const Type &o)
 Copy assignment operator.
virtual std::string SoftPrint () const =0
 Type (SubClass s=AOHINDEX)
 (default) Constructor
 Type (const Type &a)
 Copy constructor.
virtual ~Type ()
 Destructor.

Protected Attributes

SubClass _m_sc

Detailed Description

Type is an abstract class that represents a Type (e.g.

for a Bayesian game).

So far Type_PointerTuple and Type_AOHIndex extend this class.

Definition at line 40 of file Type.h.

Member Enumeration Documentation

Enumerator:
UNDEFINED 
AOHINDEX 
POINTERTUPLE 

Definition at line 43 of file Type.h.

Constructor & Destructor Documentation

Type::Type ( SubClass  s = AOHINDEX)
inline

(default) Constructor

Definition at line 53 of file Type.h.

virtual Type::~Type ( )
inlinevirtual

Destructor.

Definition at line 56 of file Type.h.

Type::Type ( const Type a)
inline

Copy constructor.

Definition at line 58 of file Type.h.

Member Function Documentation

virtual Type* Type::Clone ( ) const
pure virtual

Implemented in Type_AOHIndex.

SubClass Type::GetSubClass ( ) const
inline

Definition at line 78 of file Type.h.

References _m_sc.

Type& Type::operator= ( const Type o)
inline

Copy assignment operator.

Definition at line 62 of file Type.h.

References _m_sc.

Referenced by Type_AOHIndex::operator=().

virtual std::string Type::SoftPrint ( ) const
pure virtual

Implemented in Type_AOHIndex.

Member Data Documentation

SubClass Type::_m_sc
protected

Definition at line 47 of file Type.h.

Referenced by GetSubClass(), and operator=().


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