#include <UrlRegex.h>
Public Member Functions | |
UrlAddress () | |
UrlAddress (std::string sUrl) | |
~UrlAddress () | |
const std::string & | HostName () const |
const std::string & | Domain () const |
bool | IsValid () const |
const std::string | GetVersion () const |
bool | Parse (const std::string &sUrl) |
This is the actual implementation of the parse routine. | |
Private Member Functions | |
bool | initRegex () |
void | buildRegexObject () |
Private Attributes | |
int | ovector [OVECCOUNT] |
int | hostnameIndex |
int | domainIndex |
std::string | UrlRegexStr |
std::string | m_hostname |
std::string | m_domain |
bool | m_bIsValid |
int | m_captureCount |
int | m_PcreError |
Static Private Attributes | |
static pcre * | pPcre |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is the actual implementation of the parse routine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|