Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| hzIpaddr | hzAtom::Ipaddr | (void) |
Declared in file: hzDatabase.h
Defined in file : hzAtom.cpp
Function Logic:
Function body:
hzIpaddr hzAtom::Ipaddr (void)
{
// Arguments: None
// Returns: Instance of hzIpaddr by value. This will be populated if the hzAtom has a value and the datatype is BASETYPE_IPADDR and be empty otherwise.
hzIpaddr tmp ; // Return value
if (m_eStatus == ATOM_SET && m_eType == BASETYPE_IPADDR)
{
tmp = m_Data.m_uInt32 ;
return tmp ;
}
return _hzGlobal_nullIP ;
}