IOSS 2.0
Loading...
Searching...
No Matches
Iotm::text_mesh::TextMeshLexer Class Reference

#include <Iotm_TextMeshUtils.h>

Public Member Functions

 TextMeshLexer ()
 
void set_input_string (const std::string &input)
 
int get_int ()
 
unsigned get_unsigned ()
 
std::string get_string ()
 
void get_newline ()
 
bool has_token () const
 
bool has_newline () const
 
bool has_number () const
 
bool has_string () const
 

Private Member Functions

void read_next_token ()
 
bool has_more_input ()
 
bool char_is_whitespace ()
 
bool char_is_comma ()
 
bool char_is_newline ()
 
bool char_is_digit ()
 
char current_char ()
 
std::string make_upper_case (std::string str)
 

Private Attributes

std::string m_input {}
 
unsigned m_currentIndex {0}
 
std::string m_oldToken {}
 
std::string m_token {}
 
bool m_isNumber {false}
 

Constructor & Destructor Documentation

◆ TextMeshLexer()

Iotm::text_mesh::TextMeshLexer::TextMeshLexer ( )
inline

Member Function Documentation

◆ char_is_comma()

bool Iotm::text_mesh::TextMeshLexer::char_is_comma ( )
inlineprivate

◆ char_is_digit()

bool Iotm::text_mesh::TextMeshLexer::char_is_digit ( )
inlineprivate

◆ char_is_newline()

bool Iotm::text_mesh::TextMeshLexer::char_is_newline ( )
inlineprivate

◆ char_is_whitespace()

bool Iotm::text_mesh::TextMeshLexer::char_is_whitespace ( )
inlineprivate

◆ current_char()

char Iotm::text_mesh::TextMeshLexer::current_char ( )
inlineprivate

◆ get_int()

int Iotm::text_mesh::TextMeshLexer::get_int ( )
inline

◆ get_newline()

void Iotm::text_mesh::TextMeshLexer::get_newline ( )
inline

◆ get_string()

std::string Iotm::text_mesh::TextMeshLexer::get_string ( )
inline

◆ get_unsigned()

unsigned Iotm::text_mesh::TextMeshLexer::get_unsigned ( )
inline

◆ has_more_input()

bool Iotm::text_mesh::TextMeshLexer::has_more_input ( )
inlineprivate

◆ has_newline()

bool Iotm::text_mesh::TextMeshLexer::has_newline ( ) const
inline

◆ has_number()

bool Iotm::text_mesh::TextMeshLexer::has_number ( ) const
inline

◆ has_string()

bool Iotm::text_mesh::TextMeshLexer::has_string ( ) const
inline

◆ has_token()

bool Iotm::text_mesh::TextMeshLexer::has_token ( ) const
inline

◆ make_upper_case()

std::string Iotm::text_mesh::TextMeshLexer::make_upper_case ( std::string str)
inlineprivate

◆ read_next_token()

void Iotm::text_mesh::TextMeshLexer::read_next_token ( )
inlineprivate

◆ set_input_string()

void Iotm::text_mesh::TextMeshLexer::set_input_string ( const std::string & input)
inline

Member Data Documentation

◆ m_currentIndex

unsigned Iotm::text_mesh::TextMeshLexer::m_currentIndex {0}
private

◆ m_input

std::string Iotm::text_mesh::TextMeshLexer::m_input {}
private

◆ m_isNumber

bool Iotm::text_mesh::TextMeshLexer::m_isNumber {false}
private

◆ m_oldToken

std::string Iotm::text_mesh::TextMeshLexer::m_oldToken {}
private

◆ m_token

std::string Iotm::text_mesh::TextMeshLexer::m_token {}
private

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