Retrieve domain name from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_DOMAIN and be empty otherwise Arguments: None

Return TypeFunction nameArguments
hzDomainhzAtom::Domain(void)

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

Function Logic:

0:START 1:unknown 2:items dom items 3:Return dom 4:Return _hz_null_hzDomain

Function body:

hzDomain hzAtom::Domain (void)
{
   //  Retrieve domain name from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_DOMAIN and be empty otherwise
   //  
   //  Arguments: None
   //  Returns: hzDomain instance by value
   if (m_eStatus == ATOM_SET && m_eType == BASETYPE_DOMAIN)
   {
       hzDomain    dom ;   //  To be returned
       hzDomain    tmp ;   //  Cast
       tmp._int_set(m_Data.m_uInt32) ; dom = tmp ; tmp._int_clr() ; return dom ;
   }
   return _hz_null_hzDomain ;
}