Test for this URL being lexically greater than the supplied test URL
| Return Type | Function name | Arguments |
|---|---|---|
| bool | hzUrl::operator> | (hzUrl&,) |
Declared in file: hzUrl.h
Defined in file : hzUrl.cpp
Function Logic:
Function body:
bool hzUrl::operator> (hzUrl& testUrl)
{
// Test for this URL being lexically greater than the supplied test URL
//
// Argument: U The test URL
//
// Returns: True If this hzUrl is equal to the operand hzUrl
// False Otherwise
if (m_addr == testUrl.m_addr) return false ;
if (!m_addr && testUrl.m_addr) return false ;
if (m_addr && !testUrl.m_addr) return true ;
// _url_space* thisCtl ; // This URL space
// _url_space* suppCtl ; // Supplied URL space
// thisCtl = _urlXlate(m_addr) ;
// suppCtl = _urlXlate(testUrl.m_addr) ;
return Whole() > testUrl.Whole() ? true : false ;
}