This class stores field information in the form of field name, field value and multiplexing criterion. More...
#include <ParserElements.h>
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_ |
This class stores field information in the form of field name, field value and multiplexing criterion.
Definition at line 66 of file ParserElements.h.
fesa::FieldElement::FieldElement | ( | const std::string | fieldName | ) |
constructor
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.
std::string fesa::FieldElement::getCycleName | ( | int32_t | cycleId | ) |
the name of the cycle that corresponds to the id passed by argument
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
[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
Definition at line 42 of file ParserElements.cpp.
References fieldExtraValuesCol_.
uint32_t fesa::FieldElement::getMultiplexingDepth | ( | ) |
return the depth of the multiplexing manager
Definition at line 48 of file ParserElements.cpp.
References fieldValuesCol_.
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().
uint32_t fesa::FieldElement::dimension1_ |
first dimension of the field
Definition at line 133 of file ParserElements.h.
Referenced by FieldElement(), fesa::InitializeDataStoreManager::fillElement(), getDimensions(), fesa::FieldStringArray::initialize(), fesa::FieldString::initialize(), fesa::FieldArray2D< T >::initialize(), fesa::FieldArray< T >::initialize(), and fesa::InitializeDataStoreManager::processDeviceRelationField().
uint32_t fesa::FieldElement::dimension2_ |
second dimension of the field
Definition at line 138 of file ParserElements.h.
Referenced by FieldElement(), fesa::InitializeDataStoreManager::fillElement(), getDimensions(), fesa::FieldStringArray::initialize(), and fesa::FieldArray2D< T >::initialize().
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::string fesa::FieldElement::fieldName_ |
name of the field
Definition at line 111 of file ParserElements.h.
Referenced by fesa::DataStoreElement::addFieldElement(), FieldElement(), fesa::DataStoreElement::setFieldValue(), and fesa::AbstractField::store().
std::map<int32_t, std::string> fesa::FieldElement::fieldValuesCol_ |
this map contains the set of values for the main multiplexing criterion <cycleId,value>
Definition at line 117 of file ParserElements.h.
Referenced by fesa::InitializeDataStoreManager::fillElement(), fesa::StoreManager::fillElements(), fesa::DataStoreElement::getFieldValue(), getMultiplexingDepth(), fesa::InitializeDataStoreManager::processDeviceRelationField(), fesa::AbstractField::restore(), fesa::DataStoreElement::setFieldValue(), fesa::AbstractField::store(), and fesa::StoreManager::storeFields().
Definition at line 143 of file ParserElements.h.
Referenced by fesa::StoreManager::fillElements(), fesa::InitializeDataStoreManager::processDeviceFields(), fesa::AbstractField::restore(), fesa::InitializeDataStoreManager::retrieveDomainStoreElements(), and fesa::InitializeDataStoreManager::retrieveGlobalDeviceElement().