#include <pcrecpparg.h>
Public Types | |
typedef bool(*) | Parser (const char *str, int n, void *dest) |
typedef bool(*) | Parser (const char *str, int n, void *dest) |
Public Member Functions | |
Arg () | |
Arg (void *) | |
PCRE_MAKE_PARSER (char, parse_char) | |
PCRE_MAKE_PARSER (unsigned char, parse_uchar) | |
PCRE_MAKE_PARSER (short, parse_short) | |
PCRE_MAKE_PARSER (unsigned short, parse_ushort) | |
PCRE_MAKE_PARSER (int, parse_int) | |
PCRE_MAKE_PARSER (unsigned int, parse_uint) | |
PCRE_MAKE_PARSER (long, parse_long) | |
PCRE_MAKE_PARSER (unsigned long, parse_ulong) | |
PCRE_MAKE_PARSER (long long, parse_longlong) | |
PCRE_MAKE_PARSER (unsigned long long, parse_ulonglong) | |
PCRE_MAKE_PARSER (float, parse_float) | |
PCRE_MAKE_PARSER (double, parse_double) | |
PCRE_MAKE_PARSER (std::string, parse_string) | |
PCRE_MAKE_PARSER (StringPiece, parse_stringpiece) | |
template<class T> | |
Arg (T *, Parser parser) | |
template<class T> | |
Arg (T *p) | |
bool | Parse (const char *str, int n) const |
Arg () | |
Arg (void *) | |
PCRE_MAKE_PARSER (char, parse_char) | |
PCRE_MAKE_PARSER (unsigned char, parse_uchar) | |
PCRE_MAKE_PARSER (short, parse_short) | |
PCRE_MAKE_PARSER (unsigned short, parse_ushort) | |
PCRE_MAKE_PARSER (int, parse_int) | |
PCRE_MAKE_PARSER (unsigned int, parse_uint) | |
PCRE_MAKE_PARSER (long, parse_long) | |
PCRE_MAKE_PARSER (unsigned long, parse_ulong) | |
PCRE_MAKE_PARSER (long long, parse_longlong) | |
PCRE_MAKE_PARSER (unsigned long long, parse_ulonglong) | |
PCRE_MAKE_PARSER (float, parse_float) | |
PCRE_MAKE_PARSER (double, parse_double) | |
PCRE_MAKE_PARSER (std::string, parse_string) | |
PCRE_MAKE_PARSER (StringPiece, parse_stringpiece) | |
template<class T> | |
Arg (T *, Parser parser) | |
template<class T> | |
Arg (T *p) | |
bool | Parse (const char *str, int n) const |
Private Member Functions | |
PCRE_DECLARE_INTEGER_PARSER (short) | |
PCRE_DECLARE_INTEGER_PARSER (ushort) | |
PCRE_DECLARE_INTEGER_PARSER (int) | |
PCRE_DECLARE_INTEGER_PARSER (uint) | |
PCRE_DECLARE_INTEGER_PARSER (long) | |
PCRE_DECLARE_INTEGER_PARSER (ulong) | |
PCRE_DECLARE_INTEGER_PARSER (longlong) | |
PCRE_DECLARE_INTEGER_PARSER (ulonglong) | |
PCRE_DECLARE_INTEGER_PARSER (short) | |
PCRE_DECLARE_INTEGER_PARSER (ushort) | |
PCRE_DECLARE_INTEGER_PARSER (int) | |
PCRE_DECLARE_INTEGER_PARSER (uint) | |
PCRE_DECLARE_INTEGER_PARSER (long) | |
PCRE_DECLARE_INTEGER_PARSER (ulong) | |
PCRE_DECLARE_INTEGER_PARSER (longlong) | |
PCRE_DECLARE_INTEGER_PARSER (ulonglong) | |
Static Private Member Functions | |
static bool | parse_null (const char *str, int n, void *dest) |
static bool | parse_char (const char *str, int n, void *dest) |
static bool | parse_uchar (const char *str, int n, void *dest) |
static bool | parse_float (const char *str, int n, void *dest) |
static bool | parse_double (const char *str, int n, void *dest) |
static bool | parse_string (const char *str, int n, void *dest) |
static bool | parse_stringpiece (const char *str, int n, void *dest) |
static bool | parse_null (const char *str, int n, void *dest) |
static bool | parse_char (const char *str, int n, void *dest) |
static bool | parse_uchar (const char *str, int n, void *dest) |
static bool | parse_float (const char *str, int n, void *dest) |
static bool | parse_double (const char *str, int n, void *dest) |
static bool | parse_string (const char *str, int n, void *dest) |
static bool | parse_stringpiece (const char *str, int n, void *dest) |
Private Attributes | |
void * | arg_ |
Parser | parser_ |
void * | arg_ |
Definition at line 57 of file pcrecpparg.h.
typedef bool(*) pcrecpp::Arg::Parser(const char *str, int n, void *dest) |
Definition at line 65 of file pcrecpparg.h.
typedef bool(*) pcrecpp::Arg::Parser(const char *str, int n, void *dest) |
Definition at line 64 of file pcrecpparg.h.
pcrecpp::Arg::Arg | ( | ) | [inline] |
Definition at line 138 of file pcrecpparg.h.
pcrecpp::Arg::Arg | ( | void * | ) | [inline] |
Definition at line 139 of file pcrecpparg.h.
pcrecpp::Arg::Arg | ( | T * | p | ) | [inline] |
Definition at line 97 of file pcrecpparg.h.
pcrecpp::Arg::Arg | ( | ) |
pcrecpp::Arg::Arg | ( | void * | ) |
pcrecpp::Arg::Arg | ( | T * | p | ) | [inline] |
Definition at line 96 of file pcrecpparg.h.
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | char | , | |
parse_char | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | char, | |
parse_uchar | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | short | , | |
parse_short | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | short, | |
parse_ushort | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | int | , | |
parse_int | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | int, | |
parse_uint | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | long | , | |
parse_long | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | long, | |
parse_ulong | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | long | long, | |
parse_longlong | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned long | long, | |
parse_ulonglong | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | float | , | |
parse_float | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | double | , | |
parse_double | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | std::string | , | |
parse_string | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | StringPiece | , | |
parse_stringpiece | ||||
) |
bool pcrecpp::Arg::Parse | ( | const char * | str, | |
int | n | |||
) | const [inline] |
bool pcrecpp::Arg::parse_null | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
bool pcrecpp::Arg::parse_char | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
bool pcrecpp::Arg::parse_uchar | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
bool pcrecpp::Arg::parse_float | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
bool pcrecpp::Arg::parse_double | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
bool pcrecpp::Arg::parse_string | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
bool pcrecpp::Arg::parse_stringpiece | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | short | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | ushort | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | int | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | uint | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | long | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | ulong | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | longlong | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | ulonglong | ) | [private] |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | char | , | |
parse_char | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | char, | |
parse_uchar | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | short | , | |
parse_short | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | short, | |
parse_ushort | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | int | , | |
parse_int | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | int, | |
parse_uint | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | long | , | |
parse_long | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned | long, | |
parse_ulong | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | long | long, | |
parse_longlong | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | unsigned long | long, | |
parse_ulonglong | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | float | , | |
parse_float | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | double | , | |
parse_double | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | std::string | , | |
parse_string | ||||
) |
pcrecpp::Arg::PCRE_MAKE_PARSER | ( | StringPiece | , | |
parse_stringpiece | ||||
) |
bool pcrecpp::Arg::Parse | ( | const char * | str, | |
int | n | |||
) | const |
static bool pcrecpp::Arg::parse_null | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
static bool pcrecpp::Arg::parse_char | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
static bool pcrecpp::Arg::parse_uchar | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
static bool pcrecpp::Arg::parse_float | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
static bool pcrecpp::Arg::parse_double | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
static bool pcrecpp::Arg::parse_string | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
static bool pcrecpp::Arg::parse_stringpiece | ( | const char * | str, | |
int | n, | |||
void * | dest | |||
) | [static, private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | short | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | ushort | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | int | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | uint | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | long | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | ulong | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | longlong | ) | [private] |
pcrecpp::Arg::PCRE_DECLARE_INTEGER_PARSER | ( | ulonglong | ) | [private] |
void* pcrecpp::Arg::arg_ [private] |
Parser pcrecpp::Arg::parser_ [private] |
void* pcrecpp::Arg::arg_ [private] |
Definition at line 104 of file pcrecpparg.h.