OpenMW
Public Types | Public Member Functions | Public Attributes
CSMFilter::Token Struct Reference

List of all members.

Public Types

enum  Type {
  Type_EOS, Type_None, Type_String, Type_Number,
  Type_Open, Type_Close, Type_OpenSquare, Type_CloseSquare,
  Type_Comma, Type_OneShot, Type_Keyword_True, Type_Keyword_False,
  Type_Keyword_And, Type_Keyword_Or, Type_Keyword_Not, Type_Keyword_Text,
  Type_Keyword_Value
}

Public Member Functions

 Token (Type type=Type_None)
 Token (Type type, const std::string &string)
 Non-string type that can also be interpreted as a string.
 Token (const std::string &string)
 Token (double number)
 operator bool () const
bool isString () const

Public Attributes

Type mType
std::string mString
double mNumber

Member Enumeration Documentation

Enumerator:
Type_EOS 
Type_None 
Type_String 
Type_Number 
Type_Open 
Type_Close 
Type_OpenSquare 
Type_CloseSquare 
Type_Comma 
Type_OneShot 
Type_Keyword_True 
Attention:
Keyword enums must be arranged continuously.
Type_Keyword_False 
Type_Keyword_And 
Type_Keyword_Or 
Type_Keyword_Not 
Type_Keyword_Text 
Type_Keyword_Value 

Constructor & Destructor Documentation

CSMFilter::Token::Token ( Type  type,
const std::string &  string 
)

Non-string type that can also be interpreted as a string.

CSMFilter::Token::Token ( const std::string &  string)
CSMFilter::Token::Token ( double  number)

Member Function Documentation

CSMFilter::Token::operator bool ( ) const

Member Data Documentation


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