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 Type | Function name | Arguments |
|---|---|---|
| hzChain | hzAtom::Chain | (void) |
Declared in file: hzDatabase.h
Defined in file : hzAtom.cpp
Function Logic:
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 ;
}