IOSS 2.0
Loading...
Searching...
No Matches
Ioss::glob Namespace Reference

Classes

class  AnyNode
class  AstConsumer
class  AstNode
class  AstVisitor
class  Automata
class  BasicGlob
class  CharNode
class  ConcatNode
class  Error
class  ExtendedGlob
class  GlobNode
class  GroupNode
class  Lexer
class  MatchResults
class  NegativeSetNode
class  Parser
class  PositiveSetNode
class  RangeNode
class  SetItem
class  SetItemChar
class  SetItemRange
class  SetItemsNode
class  SimpleGlob
class  StarNode
class  State
class  StateAny
class  StateChar
class  StateFail
class  StateGroup
class  StateMatch
class  StateSet
class  StateStar
class  Token
class  UnionNode

Typedefs

template<class charT>
using String = std::basic_string<charT>
template<class charT>
using AstNodePtr = std::unique_ptr<AstNode<charT>>
template<class charT>
using extended_glob = ExtendedGlob<charT>
template<class charT>
using no_extended_glob = SimpleGlob<charT>
template<class charT, class globT = extended_glob<charT>>
using basic_glob = BasicGlob<charT, globT>
using glob = basic_glob<char, extended_glob<char>>
using wglob = basic_glob<wchar_t, extended_glob<wchar_t>>
using cmatch = MatchResults<char>
using wmatch = MatchResults<wchar_t>

Enumerations

enum class  StateType {
  MATCH , FAIL , CHAR , QUESTION ,
  MULT , SET , GROUP , UNION
}
enum class  TokenKind { UNKNOWN = 0 , CHAR , TOKEN }

Functions

template<class T, class U = T>
exchange (T &obj, U &&new_value)
template<class charT>
std::ostream & operator<< (std::ostream &stream, const Token< charT > &token)
template<class charT, class globT = extended_glob<charT>>
bool glob_match (const String< charT > &str, BasicGlob< charT, globT > &glob)
template<class charT, class globT = extended_glob<charT>>
bool glob_match (const charT *str, BasicGlob< charT, globT > &glob)
template<class charT, class globT = extended_glob<charT>>
bool glob_match (const String< charT > &str, MatchResults< charT > &res, BasicGlob< charT, globT > &glob)
template<class charT, class globT = extended_glob<charT>>
bool glob_match (const charT *str, MatchResults< charT > &res, BasicGlob< charT, globT > &glob)

Variables

static const char * token_name_str []

Typedef Documentation

◆ AstNodePtr

template<class charT>
using Ioss::glob::AstNodePtr = std::unique_ptr<AstNode<charT>>

◆ basic_glob

template<class charT, class globT = extended_glob<charT>>
using Ioss::glob::basic_glob = BasicGlob<charT, globT>

◆ cmatch

◆ extended_glob

template<class charT>
using Ioss::glob::extended_glob = ExtendedGlob<charT>

◆ glob

◆ no_extended_glob

template<class charT>
using Ioss::glob::no_extended_glob = SimpleGlob<charT>

◆ String

template<class charT>
using Ioss::glob::String = std::basic_string<charT>

◆ wglob

using Ioss::glob::wglob = basic_glob<wchar_t, extended_glob<wchar_t>>

◆ wmatch

using Ioss::glob::wmatch = MatchResults<wchar_t>

Enumeration Type Documentation

◆ StateType

enum class Ioss::glob::StateType
strong
Enumerator
MATCH 
FAIL 
CHAR 
QUESTION 
MULT 
SET 
GROUP 
UNION 

◆ TokenKind

enum class Ioss::glob::TokenKind
strong
Enumerator
UNKNOWN 
CHAR 
TOKEN 

Function Documentation

◆ exchange()

template<class T, class U = T>
T Ioss::glob::exchange ( T & obj,
U && new_value )

◆ glob_match() [1/4]

template<class charT, class globT = extended_glob<charT>>
bool Ioss::glob::glob_match ( const charT * str,
BasicGlob< charT, globT > & glob )

◆ glob_match() [2/4]

template<class charT, class globT = extended_glob<charT>>
bool Ioss::glob::glob_match ( const charT * str,
MatchResults< charT > & res,
BasicGlob< charT, globT > & glob )

◆ glob_match() [3/4]

template<class charT, class globT = extended_glob<charT>>
bool Ioss::glob::glob_match ( const String< charT > & str,
BasicGlob< charT, globT > & glob )

◆ glob_match() [4/4]

template<class charT, class globT = extended_glob<charT>>
bool Ioss::glob::glob_match ( const String< charT > & str,
MatchResults< charT > & res,
BasicGlob< charT, globT > & glob )

◆ operator<<()

template<class charT>
std::ostream & Ioss::glob::operator<< ( std::ostream & stream,
const Token< charT > & token )
inline

Variable Documentation

◆ token_name_str

const char* Ioss::glob::token_name_str[]
static
Initial value:
= {
"UNKNOWN",
"CHAR",
TOKEN(EOS, "end of source") TOKEN(SUB, "-") TOKEN(STAR, "*") TOKEN(QUESTION, "?")
TOKEN(LPAREN, "(") TOKEN(QUESTLPAREN, "?(") TOKEN(STARLPAREN, "*(")
TOKEN(PLUSLPAREN, "+(") TOKEN(NEGLPAREN, "!(") TOKEN(ATLPAREN, "@(")
TOKEN(RPAREN, ")") TOKEN(UNION, "|") TOKEN(LBRACKET, "[") TOKEN(RBRACKET, "]")
TOKEN(NEGLBRACKET, "[^") ""}
@ QUESTION
Definition Ioss_Glob.h:40
@ UNION
Definition Ioss_Glob.h:44
@ TOKEN
Definition Ioss_Glob.h:578