fix8
version 1.4.0
Open Source C++ FIX Framework
|
A class to contain regex matches using RegExp. More...
#include <f8utils.hpp>
Public Member Functions | |
RegMatch () | |
Ctor. More... | |
virtual | ~RegMatch () |
Ctor. More... | |
unsigned | SubCnt () const |
size_t | SubSize (const int which=0) const |
unsigned | SubPos (const int which=0) const |
Private Types | |
enum | { SubLimit_ = 32 } |
Maximum number of sub-expressions. More... | |
Private Attributes | |
regmatch_t | subexprs_ [SubLimit_] |
int | subCnt_ |
Friends | |
class | RegExp |
A class to contain regex matches using RegExp.
Definition at line 308 of file f8utils.hpp.
|
private |
Maximum number of sub-expressions.
Enumerator | |
---|---|
SubLimit_ |
Definition at line 312 of file f8utils.hpp.
|
inline |
|
inlinevirtual |
|
inline |
Get the number of sub-expressions found.
Definition at line 332 of file f8utils.hpp.
References subCnt_.
Referenced by FIX8::RegExp::Erase(), FIX8::RegExp::Replace(), and FIX8::RegExp::SubExpr().
|
inline |
Get the starting offset of the specified sub-expression.
which | sub-expression index (0 based) |
Definition at line 356 of file f8utils.hpp.
Referenced by FIX8::RegExp::Erase(), FIX8::RegExp::Replace(), and FIX8::RegExp::SubExpr().
|
inline |
Get the size (length) of the specified sub-expression.
which | sub-expression index (0 based) |
Definition at line 344 of file f8utils.hpp.
Referenced by FIX8::RegExp::Erase(), FIX8::RegExp::Replace(), and FIX8::RegExp::SubExpr().
|
friend |
Definition at line 365 of file f8utils.hpp.
|
private |
Definition at line 314 of file f8utils.hpp.
Referenced by FIX8::RegExp::Erase(), FIX8::RegExp::Replace(), FIX8::RegExp::SearchString(), SubCnt(), and FIX8::RegExp::SubExpr().
|
private |
Definition at line 313 of file f8utils.hpp.
Referenced by FIX8::RegExp::Erase(), FIX8::RegExp::Replace(), FIX8::RegExp::SearchString(), and FIX8::RegExp::SubExpr().