fesa-core  4.3.1
fesa::PersistanceDataStoreElement Class Reference

#include <PersistanceDataStoreElement.h>

Public Member Functions

 PersistanceDataStoreElement (const std::string &name, boost::optional< int64_t > id)
 constructor More...
 
boost::shared_ptr
< PersistanceFieldElement > 
getFieldElement (const std::string &fieldName)
 returns the fieldElement whose name is passed as a parameter More...
 
const std::map< std::string,
boost::shared_ptr
< PersistanceFieldElement > > & 
getFieldElementMap ()
 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 ()
 
size_t getSize ()
 

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,
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)

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 ( )

the map <fieldName,FieldElement>

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

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