Retrieve email address from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_EMADDR and be empty otherwise Arguments: None

Return TypeFunction nameArguments
hzEmaddrhzAtom::Emaddr(void)

Declared in file: hzDatabase.h
Defined in file : hzAtom.cpp

Function Logic:

0:START 1:unknown 2:unknown 3:items items 4:Return ema 5:Return _hz_null_hzEmaddr

Function body:

hzEmaddr hzAtom::Emaddr (void)
{
   //  Retrieve email address from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_EMADDR and be empty otherwise
   //  
   //  Arguments: None
   //  Returns: hzEmail Instance by value
   if (m_eStatus == ATOM_SET && m_eType == BASETYPE_EMADDR)
   {
       hzEmaddr    ema ;   //  To be returned
                           //  hzEmaddr tmp ; // Cast
       if (m_Data.m_uInt32)
       {
           ema._int_set(m_Data.m_uInt32) ;
           ema._inc_copy() ;
           return ema ;
       }
       //  tmp._int_set(m_Data.m_uInt32) ; ema = tmp ; tmp._int_clr() ; return ema ;
   }
   return _hz_null_hzEmaddr ;
}