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

#include <entity_type.h>

Inheritance diagram for RINGMesh::EntityType:
RINGMesh::GeologicalEntityType RINGMesh::MeshEntityType RINGMesh::ForbiddenGeologicalEntityType RINGMesh::ForbiddenMeshEntityType

Public Member Functions

bool operator== (const EntityType &type2) const
 
bool operator!= (const EntityType &type2) const
 
bool operator< (const EntityType &rhs) const
 
const std::string & string () const
 

Protected Member Functions

 EntityType (std::string type)
 
 EntityType ()
 
void set_type (std::string type)
 

Private Member Functions

std::string default_entity_type_string ()
 

Private Attributes

std::string type_ {}
 

Friends

std::ostream & operator<< (std::ostream &os, const EntityType &in)
 

Detailed Description

Definition at line 59 of file entity_type.h.

Constructor & Destructor Documentation

◆ EntityType() [1/2]

RINGMesh::EntityType::EntityType ( std::string  type)
inlineexplicitprotected

Definition at line 90 of file entity_type.h.

◆ EntityType() [2/2]

RINGMesh::EntityType::EntityType ( )
inlineprotected

Definition at line 93 of file entity_type.h.

Member Function Documentation

◆ default_entity_type_string()

std::string RINGMesh::EntityType::default_entity_type_string ( )
inlineprivate

Definition at line 103 of file entity_type.h.

◆ operator!=()

bool RINGMesh::EntityType::operator!= ( const EntityType type2) const
inline

Definition at line 66 of file entity_type.h.

◆ operator<()

bool RINGMesh::EntityType::operator< ( const EntityType rhs) const
inline

Definition at line 76 of file entity_type.h.

◆ operator==()

bool RINGMesh::EntityType::operator== ( const EntityType type2) const
inline

Definition at line 62 of file entity_type.h.

◆ set_type()

void RINGMesh::EntityType::set_type ( std::string  type)
inlineprotected

Definition at line 97 of file entity_type.h.

◆ string()

const std::string& RINGMesh::EntityType::string ( ) const
inline

Definition at line 81 of file entity_type.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const EntityType in 
)
friend

Definition at line 70 of file entity_type.h.

Member Data Documentation

◆ type_

std::string RINGMesh::EntityType::type_ {}
private

Definition at line 87 of file entity_type.h.


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