Retrieve URL from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_EMADDR and be empty otherwise Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| hzUrl | hzAtom::Url | (void) |
Declared in file: hzDatabase.h
Defined in file : hzAtom.cpp
Function Logic:
Function body:
hzUrl hzAtom::Url (void)
{
// Retrieve URL from this atom. This will be populated if the hzAtom has a value and the datatype is BASETYPE_EMADDR and be empty otherwise
//
// Arguments: None
// Returns: hzUrl instance of hzUrl by value.
if (m_eStatus == ATOM_SET && m_eType == BASETYPE_URL)
{
hzUrl url ; // To be returned
hzUrl tmp ; // Cast
tmp._int_set(m_Data.m_uInt32) ; url = tmp ; tmp._int_clr() ; return url ;
}
return _hz_null_hzUrl ;
}