IOSS 2.0
|
#include <Ioss_Glob.h>
Public Member Functions | |
Automata ()=default | |
Automata (const Automata< charT > &)=delete | |
Automata< charT > & | operator= (const Automata< charT > &automata)=delete |
Automata (Automata< charT > &&automata) | |
Automata< charT > & | operator= (Automata< charT > &&automata) |
const State< charT > & | GetState (size_t pos) const |
State< charT > & | GetState (size_t pos) |
size_t | FailState () const |
Automata< charT > & | SetFailState (size_t state_pos) |
Automata< charT > & | SetMatchState (size_t state_pos) |
size_t | GetNumStates () const |
std::tuple< bool, size_t > | Exec (const String< charT > &str, bool comp_end=true) |
std::vector< String< charT > > | GetMatchedStrings () const |
template<class T , typename... Args> | |
size_t | NewState (Args &&...args) |
Public Attributes | |
size_t | fail_state_ {0} |
Private Member Functions | |
std::tuple< bool, size_t > | ExecAux (const String< charT > &str, bool comp_end=true) const |
void | ResetStates () |
Private Attributes | |
std::vector< std::unique_ptr< State< charT > > > | states_ |
size_t | match_state_ {} |
size_t | start_state_ {0} |
|
default |
|
delete |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inlineprivate |
|
inline |
|
inline |
size_t Ioss::glob::Automata< charT >::fail_state_ {0} |
|
private |
|
private |
|
private |