fesa-core  5.0.1
fesa::PersistanceDataStoreElement Class Reference

#include <PersistanceDataStoreElement.h>

Public Member Functions

 PersistanceDataStoreElement (const std::string &name, const std::string &timingDomain, boost::optional< int64_t > id)
 constructor More...
 
boost::shared_ptr
< PersistanceFieldElement > 
getFieldElement (const std::string &fieldName) const
 returns the fieldElement whose name is passed as a parameter More...
 
const std::map< std::string,
boost::shared_ptr
< PersistanceFieldElement > > & 
getFieldElementMap () const
 the map <fieldName,FieldElement> More...
 
void addFieldElement (boost::shared_ptr< PersistanceFieldElement > fieldElement)
 this method adds a new field to the list More...
 
const std::string & getName () const
 
std::size_t getSize () const
 

Detailed Description

This class represents a persistent data store. This can be a device, a global device or a timing domain

Constructor & Destructor Documentation

fesa::PersistanceDataStoreElement::PersistanceDataStoreElement ( const std::string &  name,
const std::string &  timingDomain,
boost::optional< int64_t >  id 
)

constructor

Parameters
nameof the data store

Member Function Documentation

void fesa::PersistanceDataStoreElement::addFieldElement ( boost::shared_ptr< PersistanceFieldElement >  fieldElement)

this method adds a new field to the list

Parameters
fieldElementthe field to add
boost::shared_ptr< PersistanceFieldElement > fesa::PersistanceDataStoreElement::getFieldElement ( const std::string &  fieldName) const

returns the fieldElement whose name is passed as a parameter

Returns
the fieldElement
Parameters
fieldNamename of the field to look for
const std::map< std::string, boost::shared_ptr< PersistanceFieldElement > > & fesa::PersistanceDataStoreElement::getFieldElementMap ( ) const

the map <fieldName,FieldElement>

Returns
the map
const std::string & fesa::PersistanceDataStoreElement::getName ( ) const
Returns
the name of the data store
std::size_t fesa::PersistanceDataStoreElement::getSize ( ) const
Returns
the size of the field

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