Class to represent a Geometrical Group.
#include <XAO_Group.hxx>
◆ Group()
| Group::Group |
( |
XAO::Dimension |
dim, |
|
|
int |
nbElements, |
|
|
const std::string & |
name = std::string("") |
|
) |
| |
◆ ~Group()
◆ add()
| void Group::add |
( |
int |
value | ) |
|
- Parameters
-
| value | the index of the element to add. |
References m_elements.
◆ begin()
| std::set< int >::iterator XAO::Group::begin |
( |
| ) |
|
|
inline |
- Returns
- an iterator on the first element.
◆ checkIndex()
| void Group::checkIndex |
( |
int |
element | ) |
|
|
private |
◆ count()
| int XAO::Group::count |
( |
| ) |
const |
|
inline |
- Returns
- the number of elements.
◆ end()
| std::set< int >::iterator XAO::Group::end |
( |
| ) |
|
|
inline |
- Returns
- an iterator on the last element.
◆ get()
| int XAO::Group::get |
( |
int |
index | ) |
|
|
inline |
- Parameters
-
| index | the index of the element. |
- Returns
- the reference of the element.
- Note
- use begin() and end() if you need to iterate.
◆ getDimension()
- Returns
- the dimension of the group.
◆ getName()
| const std::string XAO::Group::getName |
( |
| ) |
|
|
inline |
- Returns
- the name of the group.
◆ getNbElements()
| int XAO::Group::getNbElements |
( |
| ) |
|
|
inline |
- Returns
- the number of elements in the associated geometry.
◆ remove()
| void Group::remove |
( |
int |
value | ) |
|
- Parameters
-
| value | the index of the element to remove. |
References m_elements.
◆ setName()
| void XAO::Group::setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ m_count
◆ m_dimension
◆ m_elements
| std::set<int> XAO::Group::m_elements |
|
private |
◆ m_name
| std::string XAO::Group::m_name |
|
private |
◆ m_nbElements
| int XAO::Group::m_nbElements |
|
private |
The documentation for this class was generated from the following files: