VCF::Regex::Match Class Reference
Contains details of matches found during regex searches, namely the regex object that performed the search, the position in which the match was made and the exact text that triggered the match.
More...
#include <RegExKit.h>
List of all members.
Detailed Description
Contains details of matches found during regex searches, namely the regex object that performed the search, the position in which the match was made and the exact text that triggered the match.
This class is for reporting purposes only and as such it is not intended that objects of this type are created by the user.
Constructor & Destructor Documentation
| VCF::Regex::Match::Match |
( |
unsigned char * |
pos = NULL, |
|
|
String |
text = "", |
|
|
Host *const |
env = NULL |
|
) |
[inline] |
|
| VCF::Regex::Match::Match |
( |
const Match & |
rhs |
) |
[inline] |
|
Member Function Documentation
| unsigned char* VCF::Regex::Match::getPos |
( |
|
) |
const [inline] |
|
|
|
Returns the offset position of the first character of the match.
- Returns:
- ptrdiff_t Offset position relative to the beginning of the search range.
|
| ptrdiff_t VCF::Regex::Match::getPosAsOffset |
( |
|
) |
const |
|
|
|
Returns the offset position of the first character of the match.
- Returns:
- ptrdiff_t Offset position relative to the beginning of the search range.
|
| const String& VCF::Regex::Match::getText |
( |
|
) |
const [inline] |
|
|
|
Returns the text that matched the search expression.
- Returns:
- String Matching text.
|
| bool VCF::Regex::Match::operator< |
( |
const Match & |
rhs |
) |
const [inline] |
|
| Match& VCF::Regex::Match::operator= |
( |
const Match & |
rhs |
) |
[inline] |
|
| bool VCF::Regex::Match::operator== |
( |
const Match & |
rhs |
) |
const [inline] |
|
Friends And Related Function Documentation
friend class Host [friend] |
|
The documentation for this class was generated from the following file: