21 #ifndef __XAO_GEOMETRICELEMENT_HXX__
22 #define __XAO_GEOMETRICELEMENT_HXX__
28 #include "XAO_Exception.hxx"
31 #pragma warning(disable:4290)
32 #pragma warning(disable:4251)
97 m_reference = reference;
104 std::string m_reference;
141 void setSize(
int nb);
150 void setElement(
int index,
const std::string& name,
const std::string& reference);
157 const std::string getName(
int index);
164 void setName(
int index,
const std::string& name);
171 bool hasName(
int index);
179 const std::string getReference(
int index);
186 void setReference(
int index,
const std::string& reference);
193 int getIndexByReference(
const std::string& reference);
198 typedef std::map<int, GeometricElement>::iterator
iterator;
213 void checkElementIndex(
int index)
const;
217 std::map<int, GeometricElement> m_elements;
Generic class to manipulate a list of topologic element.
Definition: XAO_GeometricElement.hxx:112
iterator begin()
Gets an iterator on the first element.
Definition: XAO_GeometricElement.hxx:204
std::map< int, GeometricElement >::iterator iterator
Iterator on the element of the list.
Definition: XAO_GeometricElement.hxx:198
int getSize() const
Gets the size of the list.
Definition: XAO_GeometricElement.hxx:134
iterator end()
Gets an iterator on the last element.
Definition: XAO_GeometricElement.hxx:210
virtual ~GeometricElementList()
Destructor.
Definition: XAO_GeometricElement.hxx:128
Generic class to manipulate a topologic element (vertex, edge, face or solid).
Definition: XAO_GeometricElement.hxx:43
const std::string getReference()
Gets the reference of the element.
Definition: XAO_GeometricElement.hxx:87
void setName(const std::string &name)
Sets the name of the element.
Definition: XAO_GeometricElement.hxx:72
const std::string getName()
Gets the name of the element.
Definition: XAO_GeometricElement.hxx:64
void setReference(const std::string &reference)
Sets the reference of the element.
Definition: XAO_GeometricElement.hxx:95