Create and return a string consisting of the domain name only. Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| hzString | hzUrl::Domain | (void) |
Declared in file: hzUrl.h
Defined in file : hzUrl.cpp
Function Logic:
Function body:
hzString hzUrl::Domain (void)
{
// Create and return a string consisting of the domain name only.
//
// Arguments: None
// Returns: Instance of hzString by value being domain part of the URL
_url_space* thisCtl ; // This URL space
hzString S ; // Target hzString for domain part of URL
if (m_addr)
{
thisCtl = _urlXlate(m_addr) ;
S.SetValue(thisCtl->m_data + thisCtl->m_lenProt, (uint32_t) thisCtl->m_lenDom) ;
}
return S ;
}