fesa-core
5.0.1
|
Implementation of pure virtual class FieldElement. More...
#include <FieldElementImpl.h>
Inherits fesa::FieldElement.
Public Member Functions | |
FieldElementImpl (const std::string &name, const std::string &defaultValue=std::string(), std::size_t dim=AbstractField::INVALID_SIZE, std::size_t dim1=AbstractField::INVALID_SIZE, std::size_t dim2=AbstractField::INVALID_SIZE) | |
Public Member Functions inherited from fesa::FieldElement | |
virtual const std::string & | getName () const =0 |
return the name of the field, represented by this field-element More... | |
virtual const std::string & | getDefaultValue () const =0 |
return the default value of the field, represented by this field-element More... | |
virtual std::size_t | getDim () const =0 |
return the dim of the field, represented by this field-element More... | |
virtual std::size_t | getDim1 () const =0 |
return the dim1 of the field, represented by this field-element More... | |
virtual std::size_t | getDim2 () const =0 |
return the dim2 of the field, represented by this field-element More... | |
virtual bool | hasDim () const =0 |
virtual bool | hasDim1 () const =0 |
virtual bool | hasDim2 () const =0 |
Implementation of pure virtual class FieldElement.
fesa::FieldElementImpl::FieldElementImpl | ( | const std::string & | name, |
const std::string & | defaultValue = std::string() , |
||
std::size_t | dim = AbstractField::INVALID_SIZE , |
||
std::size_t | dim1 = AbstractField::INVALID_SIZE , |
||
std::size_t | dim2 = AbstractField::INVALID_SIZE |
||
) |
Instantiates a FieldElementImpl for a field name. Value, dim, dim1, and dim2 can be optionally provided.