Return true if this hzEmaddr instance is lexically less than or equal to the operand. Note that comparison is first done on the domain part (the RHS of the @) and then done on the address part (the LHS of the @)

Return TypeFunction nameArguments
boolhzEmaddr::operator<=(hzEmaddr&,)

Declared in file: hzEmaddr.h
Defined in file : hzEmaddr.cpp

Function Logic:

0:START 1:unknown 2:Return true 3:unknown 4:Return false 5:unknown 6:Return true 7:res 8:unknown 9:Return true 10:unknown 11:Return false 12:res 13:Return res<=0?true:false

Function body:

bool hzEmaddr::operator<= (hzEmaddr& E)
{
   //  Return true if this hzEmaddr instance is lexically less than or equal to the operand. Note that comparison is first done on the domain
   //  part (the RHS of the @) and then done on the address part (the LHS of the @)
   //  
   //  Arguments: 1) E Test email address
   //  
   //  Returns: True If this addesss is lexically less than or equal to the supplied test email address
   //     False Otherwise
   _hzfunc("hzEmaddr::operator<=") ;
   int32_t     res ;       //  Comparison result
   //  Are this and the operand connected?
   if (m_addr == E.m_addr)         return true ;
   if (m_addr && E.m_addr == 0)return false ;
   if (E.m_addr && m_addr == 0)return true ;
   //  Compare domains first
   res = strcmp(GetDomain(), E.GetDomain()) ;
   if (res < 0)
       return true ;
   if (res > 0)
       return false ;
   //  Domains are equal so compare LHS
   res = _lhscompare(GetAddress(), E) ;
   return res <&eq; 0? true : false ;
}