#include <RegexConverterBox.h>
Comprises a range of bytes in the input received over the network.
Public Member Functions | |
Subexpr () | |
Dummy constructor. | |
Subexpr (const char *begin, const char *end) | |
Constructs a subexpression comprising a range of bytes. | |
string | as_string () const |
Returns the subexpression as a string. | |
template<typename CharArray> bool | toStringField (CharArray &buf) const |
Saves the subexpression as a string field. | |
bool | toStringField (char *field, unsigned int size) const |
Saves the subexpression as a string field. | |
int32 | toInt () const throw ( AuroraException ) |
Converts the subexpression to a 32 bit integer value. | |
int64 | toLong () const throw ( AuroraException ) |
Converts the subexpression to a 64 bit integer value. | |
single | toSingle () const throw ( AuroraException ) |
Converts the subexpression to a 32 bit floating-point value. | |
double | toDouble () const throw ( AuroraException ) |
Converts the subexpression to a 64 bit floating-point value. | |
Public Attributes | |
const char * | begin |
The beginning of the subexpression. | |
const char * | end |
The end of the subexpression. |
|
Dummy constructor.
|
|
Constructs a subexpression comprising a range of bytes.
|
|
Returns the subexpression as a string.
|
|
Converts the subexpression to a 64 bit floating-point value.
|
|
Converts the subexpression to a 32 bit integer value.
|
|
Converts the subexpression to a 64 bit integer value.
|
|
Converts the subexpression to a 32 bit floating-point value.
|
|
Saves the subexpression as a string field.
|
|
Saves the subexpression as a string field.
|
|
The beginning of the subexpression.
|
|
The end of the subexpression.
|