Implementation of abstract class DataStoreElement.
More...
#include <DataStoreElementImpl.h>
|
| DataStoreElementImpl (const std::string &xpath, boost::shared_ptr< ElementXML > dataStoreElement, const DeviceElement *globalDeviceElement, const ParserElementFactory &parserElementFactory) |
|
const std::string & | getDataStoreName () const |
| returns name of the data store, presented by this data-store-element More...
|
|
bool | isFieldElement (const std::string &fieldName) const |
| returns true, if a field-element of the name "fieldName" was defined for this data-store in the instantiation-file More...
|
|
boost::shared_ptr< FieldElement > | getFieldElement (const std::string &fieldName) const |
| returns the requested field-element, if available. Throws an exception if the FieldElement is not found More...
|
|
|
std::string | name_ |
| name of the data-store, which is represented by this element
|
|
boost::optional< int64_t > | id_ |
|
Implementation of abstract class DataStoreElement.
fesa::DataStoreElementImpl::DataStoreElementImpl |
( |
const std::string & |
xpath, |
|
|
boost::shared_ptr< ElementXML > |
dataStoreElement, |
|
|
const DeviceElement * |
globalDeviceElement, |
|
|
const ParserElementFactory & |
parserElementFactory |
|
) |
| |
- Parameters
-
xpath | xpath which leads to the dataStoreElement |
dataStoreElement | here the data-store related information comes from |
globalDeviceElement | optional pointer to a global device element. Used to get variable array dimensions for example. |
parserElementFactory | factory to create sub-classes of the instantiation element class-tree |
const std::string & fesa::DataStoreElementImpl::getDataStoreName |
( |
| ) |
const |
|
virtual |
returns name of the data store, presented by this data-store-element
- Returns
- name of the data store
Implements fesa::DataStoreElement.
boost::shared_ptr< FieldElement > fesa::DataStoreElementImpl::getFieldElement |
( |
const std::string & |
fieldName | ) |
const |
|
virtual |
returns the requested field-element, if available. Throws an exception if the FieldElement is not found
- Parameters
-
fieldName | fieldName used for the search |
- Returns
- the requested fieldElement
Implements fesa::DataStoreElement.
bool fesa::DataStoreElementImpl::isFieldElement |
( |
const std::string & |
fieldName | ) |
const |
|
virtual |
returns true, if a field-element of the name "fieldName" was defined for this data-store in the instantiation-file
- Parameters
-
fieldName | name of the field to check |
- Returns
- true, if fieldElement is defined
Implements fesa::DataStoreElement.
boost::optional<int64_t> fesa::DataStoreElementImpl::id_ |
|
protected |
Optional unique identifier of the data-store.
The documentation for this class was generated from the following files:
- DataStoreElementImpl.h
- DataStoreElementImpl.cpp