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

#include <Ioss_Glob.h>

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

Public Member Functions

 StateSet (Automata< charT > &states, std::vector< std::unique_ptr< SetItem< charT > > > items, bool neg=false)
 
bool SetCheck (const String< charT > &str, size_t pos) const
 
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

std::vector< std::unique_ptr< SetItem< charT > > > items_
 
bool neg_
 

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

◆ StateSet()

template<class charT >
Ioss::glob::StateSet< charT >::StateSet ( Automata< charT > & states,
std::vector< std::unique_ptr< SetItem< charT > > > items,
bool neg = false )
inline

Member Function Documentation

◆ Check()

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

◆ Next()

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

◆ SetCheck()

template<class charT >
bool Ioss::glob::StateSet< charT >::SetCheck ( const String< charT > & str,
size_t pos ) const
inline

Member Data Documentation

◆ items_

template<class charT >
std::vector<std::unique_ptr<SetItem<charT> > > Ioss::glob::StateSet< charT >::items_
private

◆ neg_

template<class charT >
bool Ioss::glob::StateSet< charT >::neg_
private

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