DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
Diades::Sdmdl::VariableData Class Reference

#include <Variable.hh>

Public Types

typedef Diades::Utils::Exception< VariableDataException
 

Public Member Functions

 VariableData (vector< string >::size_type index, VariableFactory *factory) throw (Exception)
 
 ~VariableData ()
 
const string & label () const
 
ValueFactoryvalueFactory () const throw (Exception)
 
VariableFactoryfactory () const
 

Static Public Member Functions

static string typeName ()
 

Protected Attributes

unordered_map< string, vector< Value >::size_type > mapping
 
vector< Valuedom
 
vector< Value >::size_type deflt
 
bool _observable
 

Private Attributes

vector< string >::size_type _dataIndex
 
VariableFactory_factory
 
ValueFactory_valueFactory
 

Friends

class VariableFactory
 
class Variable
 

Detailed Description

Definition at line 25 of file Variable.hh.

Member Typedef Documentation

Definition at line 38 of file Variable.hh.

Constructor & Destructor Documentation

Diades::Sdmdl::VariableData::VariableData ( vector< string >::size_type  index,
VariableFactory factory 
)
throw (Exception
)
inline

Definition at line 41 of file Variable.hh.

References require.

Diades::Sdmdl::VariableData::~VariableData ( )
inline

Definition at line 48 of file Variable.hh.

Member Function Documentation

VariableFactory* Diades::Sdmdl::VariableData::factory ( ) const
inline

Definition at line 55 of file Variable.hh.

References ensure.

Referenced by Diades::Sdmdl::Variable::factory().

const string& Diades::Sdmdl::VariableData::label ( ) const
static string Diades::Sdmdl::VariableData::typeName ( )
inlinestatic

Definition at line 39 of file Variable.hh.

ValueFactory* Diades::Sdmdl::VariableData::valueFactory ( ) const
throw (Exception
)
inline

Definition at line 50 of file Variable.hh.

References ensure.

Referenced by Diades::Sdmdl::Variable::valueFactory().

Friends And Related Function Documentation

friend class Variable
friend

Definition at line 61 of file Variable.hh.

friend class VariableFactory
friend

Definition at line 60 of file Variable.hh.

Member Data Documentation

vector<string>::size_type Diades::Sdmdl::VariableData::_dataIndex
private

Definition at line 28 of file Variable.hh.

VariableFactory* Diades::Sdmdl::VariableData::_factory
private

Definition at line 29 of file Variable.hh.

bool Diades::Sdmdl::VariableData::_observable
protected
ValueFactory* Diades::Sdmdl::VariableData::_valueFactory
private

Definition at line 30 of file Variable.hh.

vector<Value>::size_type Diades::Sdmdl::VariableData::deflt
protected

Definition at line 34 of file Variable.hh.

Referenced by Diades::Sdmdl::Variable::defaultValue().

vector<Value> Diades::Sdmdl::VariableData::dom
protected
unordered_map<string,vector<Value>::size_type> Diades::Sdmdl::VariableData::mapping
protected

Definition at line 32 of file Variable.hh.


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