21 #ifndef __XAO_GROUP_HXX__
22 #define __XAO_GROUP_HXX__
30 #pragma warning(disable:4251)
95 return m_elements.size();
107 std::set<int>::iterator it = m_elements.begin();
108 std::advance(it, index);
122 void remove(
int value);
128 std::set<int>::iterator
begin() {
return m_elements.begin(); }
134 std::set<int>::iterator
end() {
return m_elements.end(); }
142 void checkIndex(
int element);
#define XAO_EXPORT
Definition: XAO.hxx:31
Class to represent a Geometrical Group.
Definition: XAO_Group.hxx:39
int m_count
The number of elements in the group.
Definition: XAO_Group.hxx:152
XAO::Dimension getDimension()
Gets the dimension of the group.
Definition: XAO_Group.hxx:75
int count() const
Gets the number of elements in the group.
Definition: XAO_Group.hxx:93
void setName(const std::string &name)
Sets the name of the group.
Definition: XAO_Group.hxx:66
const std::string getName()
Gets the name of the group.
Definition: XAO_Group.hxx:58
int get(int index)
Gets the reference of an element.
Definition: XAO_Group.hxx:104
std::string m_name
The name of the group.
Definition: XAO_Group.hxx:146
XAO::Dimension m_dimension
The dimension of the group.
Definition: XAO_Group.hxx:150
std::set< int > m_elements
The elements of the group.
Definition: XAO_Group.hxx:154
std::set< int >::iterator end()
Gets an iterator on the last element in the group.
Definition: XAO_Group.hxx:134
int getNbElements()
Gets the numbers of elements in the geometry of the same type than the group.
Definition: XAO_Group.hxx:84
int m_nbElements
The number of elements in the associated geometry.
Definition: XAO_Group.hxx:148
std::set< int >::iterator begin()
Gets an iterator on the first element in the group.
Definition: XAO_Group.hxx:128
Definition: BrepGeometryTest.hxx:26
Dimension
Definition: XAO_XaoUtils.hxx:50