cgma
|
Public Member Functions | |
NamedGroup () | |
NamedGroup (std::string name_p) | |
const std::string & | getName () const |
const entity_collection_t & | getEntities () const |
void | add (iBase_EntityHandle new_handle) |
void | update (iBase_EntityHandle old_h, iBase_EntityHandle new_h) |
bool | contains (iBase_EntityHandle handle) const |
Protected Attributes | |
std::string | name |
entity_collection_t | entities |
Definition at line 184 of file mcnp2cad.cpp.
GeometryContext::NamedGroup::NamedGroup | ( | ) | [inline] |
Definition at line 189 of file mcnp2cad.cpp.
: name("") {}
GeometryContext::NamedGroup::NamedGroup | ( | std::string | name_p | ) | [inline] |
Definition at line 190 of file mcnp2cad.cpp.
: name(name_p) {}
void GeometryContext::NamedGroup::add | ( | iBase_EntityHandle | new_handle | ) | [inline] |
Definition at line 197 of file mcnp2cad.cpp.
{ entities.push_back(new_handle); }
bool GeometryContext::NamedGroup::contains | ( | iBase_EntityHandle | handle | ) | const [inline] |
Definition at line 213 of file mcnp2cad.cpp.
const entity_collection_t& GeometryContext::NamedGroup::getEntities | ( | ) | const [inline] |
Definition at line 195 of file mcnp2cad.cpp.
{ return entities; }
const std::string& GeometryContext::NamedGroup::getName | ( | ) | const [inline] |
Definition at line 194 of file mcnp2cad.cpp.
{ return name; }
void GeometryContext::NamedGroup::update | ( | iBase_EntityHandle | old_h, |
iBase_EntityHandle | new_h | ||
) | [inline] |
Definition at line 187 of file mcnp2cad.cpp.
std::string GeometryContext::NamedGroup::name [protected] |
Definition at line 186 of file mcnp2cad.cpp.