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