MultiAgentDecisionProcess
Type Class Referenceabstract

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

#include <Type.h>

Inheritance diagram for Type:
[legend]

Public Types

enum  SubClass { UNDEFINED, AOHINDEX, POINTERTUPLE }
 

Public Member Functions

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

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.

Member Enumeration Documentation

Enumerator
UNDEFINED 
AOHINDEX 
POINTERTUPLE 

Constructor & Destructor Documentation

Type::Type ( SubClass  s = AOHINDEX)
inline

(default) Constructor

virtual Type::~Type ( )
inlinevirtual

Destructor.

Type::Type ( const Type a)
inline

Copy constructor.

Member Function Documentation

virtual Type* Type::Clone ( ) const
pure virtual
Type& Type::operator= ( const Type o)
inline

Copy assignment operator.

References _m_sc.

Referenced by Type_AOHIndex::operator=(), and Type_PointerTuple::operator=().

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

Implemented in Type_PointerTuple, and Type_AOHIndex.

Member Data Documentation

SubClass Type::_m_sc
protected

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