21 #ifndef __XAO_FIELD_HXX__
22 #define __XAO_FIELD_HXX__
32 #pragma warning(disable:4290)
33 #pragma warning(disable:4251)
56 int nbElements,
int nbComponents,
const std::string& name);
69 int nbElements,
int nbComponents,
70 const std::string& name = std::string(
""));
125 return m_nbComponents;
134 return m_nbElements * m_nbComponents;
148 const std::string getComponentName(
int index);
155 void setComponentName(
int componentIndex,
const std::string& name);
161 void setComponentsNames(
const std::vector<std::string>& names);
175 bool removeStep(
Step* step);
182 bool hasStep(
int step);
197 void checkComponent(
int component) ;
198 void checkStepIndex(
int step) ;
#define XAO_EXPORT
Definition: XAO.hxx:31
A geometrical Field.
Definition: XAO_Field.hxx:46
const std::string getName() const
Gets the name of the Field.
Definition: XAO_Field.hxx:87
std::string m_name
The name of the Field.
Definition: XAO_Field.hxx:202
virtual Step * addNewStep(int number)=0
Adds a new step of the same type than the field.
std::vector< std::string > m_components
The components of the field.
Definition: XAO_Field.hxx:209
int m_nbComponents
The number of components.
Definition: XAO_Field.hxx:207
void setName(const std::string &name)
Sets the name of the Field.
Definition: XAO_Field.hxx:96
stepIterator end()
Returns the last step.
Definition: XAO_Field.hxx:194
int m_nbElements
The number of elements.
Definition: XAO_Field.hxx:211
virtual XAO::Type getType()=0
Gets the Type of the field.
int countComponents() const
Gets the number of components.
Definition: XAO_Field.hxx:123
int countElements() const
Gets the number of elements of each step.
Definition: XAO_Field.hxx:114
stepIterator begin()
Returns the first step.
Definition: XAO_Field.hxx:188
int countSteps() const
Gets the number of the steps.
Definition: XAO_Field.hxx:141
XAO::Dimension getDimension() const
Gets the Dimension of the Field.
Definition: XAO_Field.hxx:105
int countValues() const
Gets the number of values for each step.
Definition: XAO_Field.hxx:132
XAO::Dimension m_dimension
The dimension of the Field.
Definition: XAO_Field.hxx:204
std::vector< Step * > m_steps
The list of steps.
Definition: XAO_Field.hxx:214
Base class for steps.
Definition: XAO_Step.hxx:39
Definition: BrepGeometryTest.hxx:26
Dimension
Definition: XAO_XaoUtils.hxx:50
Type
Definition: XAO_XaoUtils.hxx:62
std::vector< Step * >::iterator stepIterator
Definition: XAO_Field.hxx:39