ADTF
|
Regular expression argument class. More...
Public Member Functions | |
cRegularExpressionArg () | |
Empty constructor so we can declare arrays of cRegularExpressionArg. | |
cRegularExpressionArg (fnRegExpParser pParser, tVoid *pData) | |
Copy constructor. More... | |
tVoid | Set (fnRegExpParser pParser, tVoid *pData) |
Assign parser and data. More... | |
tVoid * | GetData () const |
Retrieve arguments. More... | |
fnRegExpParser | GetParser () const |
Retrieve the parser. More... | |
cRegularExpressionArg (tChar *p) | |
CTR. More... | |
cRegularExpressionArg (cString *p) | |
CTR. More... | |
cRegularExpressionArg (cStringPiece *p) | |
CTR. More... | |
cRegularExpressionArg (tVoid *pRef) | |
CTR. More... | |
tBool | Parse (const tChar *str, tInt n) const |
Parse the given string. More... | |
Private Member Functions | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tInt8) | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tUInt8) | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tInt16) | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tUInt16) | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tInt32) | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tUInt32) | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tInt64) | |
AEVREGEXP_DECLARE_INTEGER_PARSER (tUInt64) | |
Static Private Member Functions | |
static tBool | parse_null (const tChar *str, tInt n, tVoid *dest) |
static tBool | parse_tChar (const tChar *str, tInt n, tVoid *dest) |
static tBool | parse_tFloat32 (const tChar *str, tInt n, tVoid *dest) |
static tBool | parse_tFloat64 (const tChar *str, tInt n, tVoid *dest) |
static tBool | parse_stdstring (const tChar *str, tInt n, tVoid *dest) |
static tBool | parse_string (const tChar *str, tInt n, tVoid *dest) |
static tBool | parse_stringpiece (const tChar *str, tInt n, tVoid *dest) |
static tBool A_UTILS_DEPRECATED() | parse_int (const tChar *str, tInt n, tVoid *dest) |
Private Attributes | |
tVoid * | arg_ |
fnRegExpParser | parser_ |
Regular expression argument class.
Definition at line 421 of file regularexpression_helper.h.
|
inline |
Copy constructor.
pParser | [in] Parser. |
pData | [in] Data. |
Definition at line 472 of file regularexpression_helper.h.
|
inline |
|
inline |
CTR.
p | [in] argument as cString. |
Definition at line 552 of file regularexpression_helper.h.
|
inline |
CTR.
p | [in] argument as cStringPiece. |
Definition at line 559 of file regularexpression_helper.h.
|
inline |
CTR.
pRef | [in] argument as tVoid. |
Definition at line 566 of file regularexpression_helper.h.
|
inline |
|
inline |
Parse the given string.
str | [in] String to parse. |
n | [in] Length. |
Definition at line 580 of file regularexpression_helper.h.
|
inline |
Assign parser and data.
pParser | [in] Parser. |
pData | [in] Data. |
Definition at line 485 of file regularexpression_helper.h.