IOSS 2.0
Loading...
Searching...
No Matches
Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping > Class Template Reference

#include <Iotm_TextMeshUtils.h>

Collaboration diagram for Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >:
[legend]

Public Member Functions

 TextMeshParser (unsigned enforcedDimension)
 
 TextMeshParser ()
 
TextMeshData< EntityId, Topologyparse (const std::string &meshDescription)
 
void set_error_handler (ErrorHandler errorHandler)
 

Private Types

using Topology = typename TopologyMapping::Topology
 

Private Member Functions

void initialize_constructor ()
 
void initialize_connectivity_parse (const std::string &meshDescription)
 
void initialize_parse (const std::string &meshDescription)
 
void finalize_parse ()
 
void parse_description ()
 
ElementData< EntityId, Topologyparse_element ()
 
int parse_proc_id ()
 
EntityId parse_elem_id ()
 
Topology parse_topology ()
 
std::vector< EntityIdparse_node_ids (const Topology &topology)
 
std::string parse_part (const Topology &topology)
 
int parse_int ()
 
unsigned parse_unsigned ()
 
std::string parse_string ()
 
void parse_newline ()
 
void validate_required_field (bool hasNextRequiredField)
 
void validate_no_extra_fields ()
 
void validate_topology (const Topology &topology, const std::string &providedName)
 
void validate_node_count (const Topology &topology, size_t numNodes)
 

Private Attributes

unsigned m_lineNumber {0}
 
TextMeshData< EntityId, Topologym_data
 
TextMeshLexer m_lexer
 
TopologyMapping m_topologyMapping
 
ErrorHandler m_errorHandler
 
TextMeshOptionParser< EntityId, Topologym_optionParser
 

Member Typedef Documentation

◆ Topology

Constructor & Destructor Documentation

◆ TextMeshParser() [1/2]

template<typename EntityId , typename TopologyMapping >
Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::TextMeshParser ( unsigned enforcedDimension)
inlineexplicit

◆ TextMeshParser() [2/2]

Member Function Documentation

◆ finalize_parse()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::finalize_parse ( )
inlineprivate

◆ initialize_connectivity_parse()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::initialize_connectivity_parse ( const std::string & meshDescription)
inlineprivate

◆ initialize_constructor()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::initialize_constructor ( )
inlineprivate

◆ initialize_parse()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::initialize_parse ( const std::string & meshDescription)
inlineprivate

◆ parse()

template<typename EntityId , typename TopologyMapping >
TextMeshData< EntityId, Topology > Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse ( const std::string & meshDescription)
inline

◆ parse_description()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_description ( )
inlineprivate

◆ parse_elem_id()

template<typename EntityId , typename TopologyMapping >
EntityId Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_elem_id ( )
inlineprivate

◆ parse_element()

template<typename EntityId , typename TopologyMapping >
ElementData< EntityId, Topology > Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_element ( )
inlineprivate

◆ parse_int()

template<typename EntityId , typename TopologyMapping >
int Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_int ( )
inlineprivate

◆ parse_newline()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_newline ( )
inlineprivate

◆ parse_node_ids()

template<typename EntityId , typename TopologyMapping >
std::vector< EntityId > Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_node_ids ( const Topology & topology)
inlineprivate

◆ parse_part()

template<typename EntityId , typename TopologyMapping >
std::string Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_part ( const Topology & topology)
inlineprivate

◆ parse_proc_id()

template<typename EntityId , typename TopologyMapping >
int Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_proc_id ( )
inlineprivate

◆ parse_string()

template<typename EntityId , typename TopologyMapping >
std::string Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_string ( )
inlineprivate

◆ parse_topology()

template<typename EntityId , typename TopologyMapping >
Topology Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_topology ( )
inlineprivate

◆ parse_unsigned()

template<typename EntityId , typename TopologyMapping >
unsigned Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::parse_unsigned ( )
inlineprivate

◆ set_error_handler()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::set_error_handler ( ErrorHandler errorHandler)
inline

◆ validate_no_extra_fields()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::validate_no_extra_fields ( )
inlineprivate

◆ validate_node_count()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::validate_node_count ( const Topology & topology,
size_t numNodes )
inlineprivate

◆ validate_required_field()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::validate_required_field ( bool hasNextRequiredField)
inlineprivate

◆ validate_topology()

template<typename EntityId , typename TopologyMapping >
void Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::validate_topology ( const Topology & topology,
const std::string & providedName )
inlineprivate

Member Data Documentation

◆ m_data

◆ m_errorHandler

template<typename EntityId , typename TopologyMapping >
ErrorHandler Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::m_errorHandler
private

◆ m_lexer

◆ m_lineNumber

template<typename EntityId , typename TopologyMapping >
unsigned Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::m_lineNumber {0}
private

◆ m_optionParser

◆ m_topologyMapping

template<typename EntityId , typename TopologyMapping >
TopologyMapping Iotm::text_mesh::TextMeshParser< EntityId, TopologyMapping >::m_topologyMapping
private

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