A geometrical Field.
#include <XAO_Field.hxx>
Protected Member Functions | |
Field (const XAO::Dimension &dimension, const int &nbElements, const int &nbComponents, const std::string &name) | |
Constructor. More... | |
the name of the field. | |||||||||
Creates a Field of the given type.
| |||||||||
std::string | m_name | ||||||||
The name of the Field. More... | |||||||||
XAO::Dimension | m_dimension | ||||||||
The dimension of the Field. More... | |||||||||
int | m_nbComponents | ||||||||
The number of components. More... | |||||||||
std::vector< std::string > | m_components | ||||||||
The components of the field. More... | |||||||||
int | m_nbElements | ||||||||
The number of elements. More... | |||||||||
std::vector< Step * > | m_steps | ||||||||
The list of steps. More... | |||||||||
void | checkComponent (const int &component) throw (XAO_Exception) | ||||||||
void | checkStepIndex (const int &step) throw (XAO_Exception) | ||||||||
static Field * | createField (const XAO::Type &type, const XAO::Dimension &dimension, const int &nbElements, const int &nbComponents, const std::string &name=std::string("")) throw (XAO_Exception) | ||||||||
virtual | ~Field () | ||||||||
Destructor. More... | |||||||||
virtual const XAO::Type | getType ()=0 | ||||||||
Gets the Type of the field. More... | |||||||||
const std::string | getName () const | ||||||||
Gets the name of the Field. More... | |||||||||
void | setName (const std::string &name) | ||||||||
Sets the name of the Field. More... | |||||||||
const XAO::Dimension | getDimension () const | ||||||||
Gets the Dimension of the Field. More... | |||||||||
const int | countElements () const | ||||||||
Gets the number of elements of each step. More... | |||||||||
const int | countComponents () const | ||||||||
Gets the number of components. More... | |||||||||
const int | countValues () const | ||||||||
Gets the number of values for each step. More... | |||||||||
const int | countSteps () const | ||||||||
Gets the number of the steps. More... | |||||||||
const std::string | getComponentName (const int &index) throw (XAO_Exception) | ||||||||
Gets the name of a component. More... | |||||||||
void | setComponentName (const int &componentIndex, const std::string &name) throw (XAO_Exception) | ||||||||
Sets the name of a component. More... | |||||||||
void | setComponentsNames (const std::vector< std::string > &names) throw (XAO_Exception) | ||||||||
Sets the name of the components. More... | |||||||||
virtual Step * | addNewStep (const int &number)=0 throw (XAO_Exception) | ||||||||
Adds a new step of the same type than the field. More... | |||||||||
bool | removeStep (Step *step) | ||||||||
Remove a step. More... | |||||||||
bool | hasStep (const int &step) | ||||||||
Verifies if the field has a step with the given step number. More... | |||||||||
stepIterator | begin () | ||||||||
Returns the first step. More... | |||||||||
stepIterator | end () | ||||||||
Returns the last step. More... | |||||||||
|
protected |
dimension | the dimension ot the field. |
nbElements | the number of elements. |
nbComponents | the number of components. |
name | the name of the field. |
|
virtual |
References m_steps.
|
pure virtual |
number | the numer of the step. |
Implemented in XAO::BooleanField, XAO::DoubleField, XAO::IntegerField, and XAO::StringField.
|
inline |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
References XAO::BOOLEAN, XAO::DOUBLE, XAO::INTEGER, and XAO::STRING.
|
inline |
const std::string Field::getComponentName | ( | const int & | index | ) | throw (XAO_Exception) |
index | the index of the component to get. |
|
inline |
|
inline |
|
pure virtual |
Implemented in XAO::BooleanField, XAO::DoubleField, XAO::IntegerField, and XAO::StringField.
bool Field::hasStep | ( | const int & | step | ) |
step | the step number. |
References XAO::Step::getStep(), it(), and m_steps.
bool Field::removeStep | ( | Step * | step | ) |
void Field::setComponentName | ( | const int & | componentIndex, |
const std::string & | name | ||
) | throw (XAO_Exception) |
componentIndex | the index of the component to set. |
name | the name to set. |
void Field::setComponentsNames | ( | const std::vector< std::string > & | names | ) | throw (XAO_Exception) |
names | the names to set. |
|
inline |
name | the name to set. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |