Test for inequality between this hzEmaddr and an email address held in a character string
| Return Type | Function name | Arguments |
|---|---|---|
| bool | hzEmaddr::operator!= | (const char*,) |
Declared in file: hzEmaddr.h
Defined in file : hzEmaddr.cpp
Function Logic:
Function body:
bool hzEmaddr::operator!= (const char* cpStr)
{
// Test for inequality between this hzEmaddr and an email address held in a character string
//
// Arguments: 1) E Test email address
//
// Returns: True If this email addesss is not lexically equal to the supplied
// False If this email address has the same value as the supplied
_hzfunc("hzEmaddr::operator!=") ;
_ema_space* pCtrl ; // This email address space
if ((!cpStr || !cpStr[0])&& !m_addr)
return false ;
if (!cpStr || !cpStr[0])
return true ;
if (!m_addr)
return true ;
// pCtrl = (_ema_space*) g_ssrInet.Xlate(m_addr) ;
pCtrl = _emaXlate(m_addr) ;
return CstrCompare((char*) pCtrl->m_data, cpStr) == 0? false:true ;
}