IOSS 2.0
Loading...
Searching...
No Matches
Ioss::glob::StateChar< charT > Class Template Reference

#include <Ioss_Glob.h>

Inheritance diagram for Ioss::glob::StateChar< charT >:
[legend]
Collaboration diagram for Ioss::glob::StateChar< charT >:
[legend]

Public Member Functions

 StateChar (Automata< charT > &states, charT c)
 
bool Check (const String< charT > &str, size_t pos) override
 
std::tuple< size_t, size_t > Next (const String< charT > &str, size_t pos) override
 
- Public Member Functions inherited from Ioss::glob::State< charT >
 State (StateType type, Automata< charT > &states)
 
virtual ~State ()=default
 
StateType Type () const
 
Automata< charT > & GetAutomata ()
 
void AddNextState (size_t state_pos)
 
const std::vector< size_t > & GetNextStates () const
 
const String< charT > & MatchedStr ()
 
virtual void ResetState ()
 

Private Attributes

charT c_
 

Additional Inherited Members

- Protected Member Functions inherited from Ioss::glob::State< charT >
void SetMatchedStr (const String< charT > &str)
 
void SetMatchedStr (charT c)
 

Constructor & Destructor Documentation

◆ StateChar()

template<class charT >
Ioss::glob::StateChar< charT >::StateChar ( Automata< charT > & states,
charT c )
inline

Member Function Documentation

◆ Check()

template<class charT >
bool Ioss::glob::StateChar< charT >::Check ( const String< charT > & str,
size_t pos )
inlineoverridevirtual

◆ Next()

template<class charT >
std::tuple< size_t, size_t > Ioss::glob::StateChar< charT >::Next ( const String< charT > & str,
size_t pos )
inlineoverridevirtual

Member Data Documentation

◆ c_

template<class charT >
charT Ioss::glob::StateChar< charT >::c_
private

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