64 return type_ == type2.
type_;
68 return type_ != type2.
type_;
78 return type_ < rhs.
type_;
90 explicit EntityType( std::string type ) : type_( std::move( type ) )
99 type_ = std::move( type );
105 return "No_entity_type";
188 template <
class Entity_type_
template >
202 Entity_type_template
type()
const 225 if( type_ != rhs.
type_ )
229 return type_ < rhs.
type_;
231 if( index_ == NO_ID )
239 return index_ < rhs.
index_;
245 gme_id( Entity_type_template entity_type, index_t index )
246 : type_( std::move( entity_type ) ), index_( index )
255 index_t index_{ NO_ID };
bool operator!=(const EntityType &type2) const
friend std::ostream & operator<<(std::ostream &os, const gme_id &in)
bool operator<(const EntityType &rhs) const
The GeologicalEntityType described the type of the Geological entities User can defined there own Geo...
bool operator!=(const gme_id &rhs) const
static ForbiddenGeologicalEntityType & type_name_static()
bool operator==(const EntityType &type2) const
EntityType(std::string type)
MeshEntityType(std::string type)
Entity_type_template type() const
GeologicalEntityType(std::string type)
this is the GeologicalEntityType defined by default. It is mainly used to test the validity of a crea...
this is the MeshEntityType defined by default. It is mainly used to test the validity of a created Me...
Unique identification of a GeoModelEntity in a GeoModel It contains the EntityType and the index of t...
bool operator<(const gme_id &rhs) const
Entity_type_template type_
gme_id(Entity_type_template entity_type, index_t index)
void set_type(std::string type)
gmge_id(GeologicalEntityType entity_type, index_t index)
bool operator==(const gme_id &rhs) const
friend std::ostream & operator<<(std::ostream &os, const EntityType &in)
The MeshEntityType described the type of the meshed entities There are 4 MeshEntityTypes correspondin...
This template is a specialization of a gme_id to the GeoModelGeologicalEntity.
Classes to build GeoModel from various inputs.
static ForbiddenMeshEntityType & type_name_static()
gmme_id(MeshEntityType entity_type, index_t index)
This template is a specialization of a gme_id to the GeoModelMeshEntity.
const std::string & string() const
FORWARD_DECLARATION_DIMENSION_CLASS(GeoModelMeshEntityAccess)
std::string default_entity_type_string()