RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::GeologicalTypeManager Class Reference

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 GeologicalEntityTypegeological_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< GeologicalEntityTypegeological_entity_types_
 

Friends

class GeoModelBuilderGeology< 2 >
 
class GeoModelBuilderGeology< 3 >
 

Detailed Description

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.

Member Function Documentation

◆ geological_entity_type()

const GeologicalEntityType & RINGMesh::GeologicalTypeManager::geological_entity_type ( index_t  index) const

Definition at line 129 of file entity_type_manager.cpp.

◆ geological_entity_type_index()

index_t RINGMesh::GeologicalTypeManager::geological_entity_type_index ( const GeologicalEntityType type) const

Definition at line 135 of file entity_type_manager.cpp.

◆ geological_entity_types()

const std::vector< GeologicalEntityType > & RINGMesh::GeologicalTypeManager::geological_entity_types ( ) const

Definition at line 124 of file entity_type_manager.cpp.

◆ is_valid_type()

bool RINGMesh::GeologicalTypeManager::is_valid_type ( const GeologicalEntityType type) const

Definition at line 141 of file entity_type_manager.cpp.

◆ nb_geological_entity_types()

index_t RINGMesh::GeologicalTypeManager::nb_geological_entity_types ( ) const

Definition at line 118 of file entity_type_manager.cpp.

◆ register_geological_entity_type()

void RINGMesh::GeologicalTypeManager::register_geological_entity_type ( const GeologicalEntityType geological_type_name)
inlineprivate

Definition at line 243 of file entity_type_manager.h.

Friends And Related Function Documentation

◆ GeoModelBuilderGeology< 2 >

friend class GeoModelBuilderGeology< 2 >
friend

Definition at line 226 of file entity_type_manager.h.

◆ GeoModelBuilderGeology< 3 >

friend class GeoModelBuilderGeology< 3 >
friend

Definition at line 227 of file entity_type_manager.h.

Member Data Documentation

◆ geological_entity_types_

std::vector< GeologicalEntityType > RINGMesh::GeologicalTypeManager::geological_entity_types_
private

Definition at line 240 of file entity_type_manager.h.


The documentation for this class was generated from the following files: