Retrieve string from this atom. This will be populated only if the hzAtom has a value, the datatype is BASETYPE_STRING, and the string value was set to an actual hzString instance, as opposed to being set to a string held in a string repository. Arguments: None

Return TypeFunction nameArguments
hzStringhzAtom::Str(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 _hzGlobal_nullString

Function body:

hzString hzAtom::Str (void)
{
   //  Retrieve string from this atom. This will be populated only if the hzAtom has a value, the datatype is BASETYPE_STRING, and the string value was set to an actual hzString
   //  instance, as opposed to being set to a string held in a string repository.
   //  
   //  Arguments: None
   //  Returns: hzString instance by value
   if (m_eStatus == ATOM_SET && m_eType == BASETYPE_STRING)
   {
       hzString    tmp ;   //  Cast
       hzString    ret ;   //  To be returned
       tmp._int_set(m_Data.m_uInt32) ; ret = tmp ; tmp._int_clr() ; return ret ;
   }
   return _hzGlobal_nullString ;
}