Retrieve hzChain from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_STRING, and will be empty otherwise Arguments: None

Return TypeFunction nameArguments
hzChainhzAtom::Chain(void)

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

Function Logic:

0:START 1:unknown 2:items ret items 3:Return ret 4:Return _hz_null_hzChain

Function body:

hzChain hzAtom::Chain (void)
{
   //  Retrieve hzChain from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_STRING, and will be empty otherwise
   //  
   //  Arguments: None
   //  Returns: hzChain instance by value.
   if (m_eStatus == ATOM_SET && (m_eType == BASETYPE_TXTDOC || m_eType == BASETYPE_BINARY))
   {
       hzChain     ret ;   //  To be returned
       hzChain     tmp ;   //  Cast
       tmp._int_set(m_Data.m_pVoid) ; ret = tmp ; tmp._int_clr() ; return ret ;
   }
   return _hz_null_hzChain ;
}