Generic class to manipulate a list of topologic element.
#include <XAO_GeometricElement.hxx>
GeometricElementList::GeometricElementList |
( |
| ) |
|
GeometricElementList::GeometricElementList |
( |
const int & |
nb | ) |
|
virtual XAO::GeometricElementList::~GeometricElementList |
( |
| ) |
|
|
inlinevirtual |
iterator XAO::GeometricElementList::begin |
( |
| ) |
|
|
inline |
- Returns
- an iterator on the first element.
void GeometricElementList::checkElementIndex |
( |
const int & |
index | ) |
const throw (XAO_Exception) |
|
private |
iterator XAO::GeometricElementList::end |
( |
| ) |
|
|
inline |
- Returns
- an iterator on the last element.
const int GeometricElementList::getIndexByReference |
( |
const std::string & |
reference | ) |
throw (XAO_Exception) |
- Parameters
-
reference | the searched reference. |
- Returns
- the index of the element or -1 if no element found.
const std::string GeometricElementList::getName |
( |
const int & |
index | ) |
throw (XAO_Exception) |
- Parameters
-
index | the index of the element to set. |
- Returns
- the name of the element with the given index.
- Exceptions
-
const std::string GeometricElementList::getReference |
( |
const int & |
index | ) |
throw (XAO_Exception) |
- Parameters
-
index | the index of the element. |
- Returns
- the reference of the element.
- Exceptions
-
const int XAO::GeometricElementList::getSize |
( |
| ) |
const |
|
inline |
- Returns
- the size of the list.
const bool GeometricElementList::hasName |
( |
const int & |
index | ) |
throw (XAO_Exception) |
- Parameters
-
index | the index of the element. |
- Returns
- true if the element has a name, false otherwise.
void GeometricElementList::setElement |
( |
const int & |
index, |
|
|
const std::string & |
name, |
|
|
const std::string & |
reference |
|
) |
| throw (XAO_Exception) |
- Parameters
-
index | the index of the element to set. |
name | the name to set. |
reference | the reference to set. |
- Exceptions
-
void GeometricElementList::setName |
( |
const int & |
index, |
|
|
const std::string & |
name |
|
) |
| throw (XAO_Exception) |
- Parameters
-
index | the index of the element. |
name | the name to set. |
- Exceptions
-
void GeometricElementList::setReference |
( |
const int & |
index, |
|
|
const std::string & |
reference |
|
) |
| throw (XAO_Exception) |
- Parameters
-
index | the index of the element to set. |
reference | the reference to set. |
- Exceptions
-
void GeometricElementList::setSize |
( |
const int & |
nb | ) |
|
int XAO::GeometricElementList::m_count |
|
private |
The documentation for this class was generated from the following files: