NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <string>
#include <vector>
#include "../ParserLib/muParserDef.h"
#include "../utils/stringtools.hpp"
#include "../structures.hpp"
Go to the source code of this file.
Classes | |
class | StringArg |
Simply container to provide the data for a StringView instance usable by all the string functions. More... | |
class | StringVector |
This class is an extension to the std::vector<std::string> to provide the vector-like functionalities as requested by the string parser. It also provides the functionality to distinguish between a string and a numerical value. More... | |
struct | StringStackItem |
A simple container for a single item in the string expression RPN stack. More... | |
struct | StringFuncArgs |
This structure combines all string function's arguments into a single structure to align all string function's signatures. More... | |
struct | StringFuncHandle |
This structure defines the internal string function signature. It contains the pointer to the actual function, its signature type and whether the function is capable of handling multiple arguments. More... | |
struct | StringResult |
This structure contains all possible return values of the central string parser in single combined structure. More... | |
struct | Umlauts |
Structure containing the german umlauts. The lower field will contain lower case umlauts, upper field contains the upper case umlauts. More... | |
Typedefs | |
typedef StringVector | s_vect |
Simple abbreviation. More... | |
typedef std::vector< long long int > | n_vect |
Simple abbreviation. More... | |
typedef std::vector< mu::value_type > | d_vect |
Simple abbreviation. More... | |
typedef StringVector(* | StringFunc) (StringFuncArgs &) |
Defines the pointer to an arbitrary string function as StringFunc. More... | |
Enumerations | |
enum | FunctionSignatureType { NOARGS , PARSER_INT , VAL , PARSER_DOUBLE , DBL_VALOPT , PARSER_STRING , STR , PARSER_STRING_DOUBLE , STR_DBL , PARSER_STRING_INT_INT , STR_VAL , STR_VALOPT , STR_VAL_VALOPT , PARSER_STRING_INT_INT_STRING , STR_VAL_VALOPT_STROPT , PARSER_STRING_STRING_INT_INT , STR_STR , STR_STROPT , STR_STROPT_VALOPT , STR_STR_VALOPT , STR_STR_VALOPT_VALOPT , PARSER_STRING_STRING_STRING_INT_INT , STR_STR_STROPT , STR_STR_STR_VALOPT_VALOPT } |
This enumeration contains all possible string function signature types (as they are called from the user, not internally). More... | |
enum | StringParserFlags { NO_FLAG = 0 , NO_QUOTES = 1 , PEEK = 2 , KEEP_MASKED_QUOTES = 4 , KEEP_MASKED_CONTROL_CHARS = 8 } |
Defines the possible flags, which the user might pass to the string parser. More... | |
typedef std::vector<mu::value_type> d_vect |
Simple abbreviation.
Definition at line 231 of file stringdatastructures.hpp.
typedef std::vector<long long int> n_vect |
Simple abbreviation.
Definition at line 226 of file stringdatastructures.hpp.
typedef StringVector s_vect |
Simple abbreviation.
Definition at line 221 of file stringdatastructures.hpp.
typedef StringVector(* StringFunc) (StringFuncArgs &) |
Defines the pointer to an arbitrary string function as StringFunc.
Definition at line 256 of file stringdatastructures.hpp.
This enumeration contains all possible string function signature types (as they are called from the user, not internally).
Definition at line 264 of file stringdatastructures.hpp.
enum StringParserFlags |
Defines the possible flags, which the user might pass to the string parser.
Enumerator | |
---|---|
NO_FLAG | |
NO_QUOTES | |
PEEK | |
KEEP_MASKED_QUOTES | |
KEEP_MASKED_CONTROL_CHARS |
Definition at line 365 of file stringdatastructures.hpp.