VCF::Regex::UTF_16LE Class Reference
Regex engine for UTF-16LE text. More...
#include <RegExKit.h>
Inheritance diagram for VCF::Regex::UTF_16LE:

Public Member Functions | |
| UTF_16LE (const String &expression, const unsigned char *const first, const unsigned char *const last, const RegExKit::Syntax &syntax=RegExKit::sDefault) | |
| Standard constructor. | |
| UTF_16LE (const String &expression, const String &source, const RegExKit::Syntax &syntax=RegExKit::sDefault) | |
| Alternate constructor using a String to denote the search range. | |
| void | setRangeAsString (const String &newExpression) |
| Sets the search range pointers to the beginning and end of a VCF::String object. | |
Protected Member Functions | |
| virtual int | init () |
| virtual unsigned int | characterWidth (const unsigned char *const location) const |
| virtual Match | createMatch (const OnigRegion *region, const ptrdiff_t pos) const |
| virtual String::size_type | countCharacters (const unsigned char *const start, const unsigned char *const end) const |
| bool | Regex::UTF_16LE::isSurrogate (VCFChar octet) const |
Detailed Description
Regex engine for UTF-16LE text.After creating this object, always call compile() immediately.
- See also:
- Host
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Standard constructor. It is the user's responsibility to ensure that the data in the search range remains valid for the lifetime of the UTF_16LE object.
|
|
||||||||||||||||
|
Alternate constructor using a String to denote the search range. It is the user's responsibility to ensure that the String object remains valid for the lifetime of the UTF_16LE object.
|
Member Function Documentation
|
|
Implements VCF::Regex::Host. |
|
||||||||||||
|
Implements VCF::Regex::Host. |
|
||||||||||||
|
Implements VCF::Regex::Host. |
|
|
Implements VCF::Regex::Host. |
|
|
|
|
|
Sets the search range pointers to the beginning and end of a VCF::String object. This is implemented by classes derived from Host as the result depends on the character width and representation.
Implements VCF::Regex::Host. |
The documentation for this class was generated from the following file:
- vcf/RegExKit/RegExKit.h
