fesa-core  5.0.1
fesa::DataStoreElement Class Referenceabstract

Used to store all data-store-specific information which comes from the instance-file. More...

#include <DataStoreElement.h>

Inheritance diagram for fesa::DataStoreElement:
fesa::DataStoreElementImpl fesa::DeviceElement fesa::DeviceElementImpl

Public Member Functions

virtual const std::string & getDataStoreName () const =0
 returns name of the data store, presented by this data-store-element More...
 
virtual bool isFieldElement (const std::string &fieldName) const =0
 returns true, if a field-element of the name "fieldName" was defined for this data-store in the instantiation-file More...
 
virtual boost::shared_ptr
< FieldElement > 
getFieldElement (const std::string &fieldName) const =0
 returns the requested field-element, if available. Throws an exception if the FieldElement is not found More...
 

Detailed Description

Used to store all data-store-specific information which comes from the instance-file.

Member Function Documentation

virtual const std::string& fesa::DataStoreElement::getDataStoreName ( ) const
pure virtual

returns name of the data store, presented by this data-store-element

Returns
name of the data store

Implemented in fesa::DataStoreElementImpl.

virtual boost::shared_ptr<FieldElement> fesa::DataStoreElement::getFieldElement ( const std::string &  fieldName) const
pure virtual

returns the requested field-element, if available. Throws an exception if the FieldElement is not found

Parameters
fieldNamefieldName used for the search
Returns
the requested fieldElement

Implemented in fesa::DataStoreElementImpl.

virtual bool fesa::DataStoreElement::isFieldElement ( const std::string &  fieldName) const
pure virtual

returns true, if a field-element of the name "fieldName" was defined for this data-store in the instantiation-file

Parameters
fieldNamename of the field to check
Returns
true, if fieldElement is defined

Implemented in fesa::DataStoreElementImpl.


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