RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
this class contains methods to manage the type of the GeoModelGeologicalEntity. It gives access to the number of geological entities of each type and also give the opportunity to create and manage new one. More...
#include <entity_type_manager.h>
Public Member Functions | |
index_t | nb_geological_entity_types () const |
const std::vector< GeologicalEntityType > & | geological_entity_types () const |
const GeologicalEntityType & | geological_entity_type (index_t index) const |
index_t | geological_entity_type_index (const GeologicalEntityType &type) const |
bool | is_valid_type (const GeologicalEntityType &type) const |
Private Member Functions | |
void | register_geological_entity_type (const GeologicalEntityType &geological_type_name) |
Private Attributes | |
std::vector< GeologicalEntityType > | geological_entity_types_ |
Friends | |
class | GeoModelBuilderGeology< 2 > |
class | GeoModelBuilderGeology< 3 > |
this class contains methods to manage the type of the GeoModelGeologicalEntity. It gives access to the number of geological entities of each type and also give the opportunity to create and manage new one.
Definition at line 224 of file entity_type_manager.h.
const GeologicalEntityType & RINGMesh::GeologicalTypeManager::geological_entity_type | ( | index_t | index | ) | const |
Definition at line 129 of file entity_type_manager.cpp.
index_t RINGMesh::GeologicalTypeManager::geological_entity_type_index | ( | const GeologicalEntityType & | type | ) | const |
Definition at line 135 of file entity_type_manager.cpp.
const std::vector< GeologicalEntityType > & RINGMesh::GeologicalTypeManager::geological_entity_types | ( | ) | const |
Definition at line 124 of file entity_type_manager.cpp.
bool RINGMesh::GeologicalTypeManager::is_valid_type | ( | const GeologicalEntityType & | type | ) | const |
Definition at line 141 of file entity_type_manager.cpp.
index_t RINGMesh::GeologicalTypeManager::nb_geological_entity_types | ( | ) | const |
Definition at line 118 of file entity_type_manager.cpp.
|
inlineprivate |
Definition at line 243 of file entity_type_manager.h.
|
friend |
Definition at line 226 of file entity_type_manager.h.
|
friend |
Definition at line 227 of file entity_type_manager.h.
|
private |
Definition at line 240 of file entity_type_manager.h.