fesa::FieldElement Class Reference

This class stores field information in the form of field name, field value and multiplexing criterion. More...

#include <ParserElements.h>

List of all members.

Public Member Functions

 FieldElement (const std::string fieldName)
 constructor
 ~FieldElement ()
 destructor
uint32_t getExtraConditionDepth ()
 returns the number of extra conditions
uint32_t getMultiplexingDepth ()
 return the depth of the multiplexing manager
std::string getCycleName (int32_t cycleId)
 the name of the cycle that corresponds to the id passed by argument
void getDimensions (uint32_t &dimension1, uint32_t &dimension2)
 returns the dimensions of the field

Public Attributes

std::string fieldName_
 name of the field
std::map< int32_t, std::string > fieldValuesCol_
 this map contains the set of values for the main multiplexing criterion <cycleId,value>
std::map< int32_t, std::map
< std::string, std::string > > 
fieldExtraValuesCol_
 this map contains the set of values for the extra conditions <cycleId,<extraCondition,value>>
std::map< int32_t, std::string > cyclesNamesCol_
 this map contains the ids and the names of the different cycles
uint32_t dimension1_
 first dimension of the field
uint32_t dimension2_
 second dimension of the field
bool fromPersistency_

Detailed Description

This class stores field information in the form of field name, field value and multiplexing criterion.

Definition at line 66 of file ParserElements.h.


Constructor & Destructor Documentation

fesa::FieldElement::FieldElement ( const std::string  fieldName  ) 

constructor

Parameters:
fieldName name of the field

Definition at line 30 of file ParserElements.cpp.

References dimension1_, dimension2_, and fieldName_.

fesa::FieldElement::~FieldElement (  ) 

destructor

Definition at line 37 of file ParserElements.cpp.


Member Function Documentation

std::string fesa::FieldElement::getCycleName ( int32_t  cycleId  ) 

the name of the cycle that corresponds to the id passed by argument

Returns:
the name of the cycle
Parameters:
cycleId the id of the cycle

Definition at line 53 of file ParserElements.cpp.

References cyclesNamesCol_.

void fesa::FieldElement::getDimensions ( uint32_t &  dimension1,
uint32_t &  dimension2 
)

returns the dimensions of the field

Returns:
the dimensions of the field
Parameters:
[out] dimension1 first dimension of the field
[out] dimension2 second dimension of the field

Definition at line 66 of file ParserElements.cpp.

References dimension1_, and dimension2_.

uint32_t fesa::FieldElement::getExtraConditionDepth (  ) 

returns the number of extra conditions

Returns:
depth

Definition at line 42 of file ParserElements.cpp.

References fieldExtraValuesCol_.

uint32_t fesa::FieldElement::getMultiplexingDepth (  ) 

return the depth of the multiplexing manager

Returns:
the depth

Definition at line 48 of file ParserElements.cpp.

References fieldValuesCol_.


Member Data Documentation

std::map<int32_t, std::string> fesa::FieldElement::cyclesNamesCol_

this map contains the ids and the names of the different cycles

Definition at line 128 of file ParserElements.h.

Referenced by fesa::StoreManager::fillElements(), getCycleName(), fesa::AbstractField::store(), and fesa::StoreManager::storeFields().

std::map<int32_t, std::map<std::string, std::string> > fesa::FieldElement::fieldExtraValuesCol_

this map contains the set of values for the extra conditions <cycleId,<extraCondition,value>>

Definition at line 123 of file ParserElements.h.

Referenced by fesa::StoreManager::fillElements(), getExtraConditionDepth(), fesa::AbstractField::restore(), fesa::AbstractField::store(), and fesa::StoreManager::storeFields().

std::map<int32_t, std::string> fesa::FieldElement::fieldValuesCol_

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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1