Return Type | Function name | Arguments |
---|---|---|
hzEcode | hdbObject::GetBool | (bool&,const hdbMember*,) |
Declared in file: hzDatabase.h
Defined in file : hdbObject.cpp
Function Logic:
Function body:
hzEcode hdbObject::GetBool (bool& result, const hdbMember* pMbr) { _hzfunc("hdbObject::GetBool") ; result = false ; if (!this) hzexit(E_CORRUPT, "No instance") ; if (!m_pClass) return hzerr(E_NOINIT, "Single object container not init to a data class") ; if (!pMbr) return hzerr(E_ARGUMENT, "No member supplied") ; if (pMbr->Class() != m_pClass) return hzerr(E_CORRUPT, "Member %s does not belong to class %s", pMbr->txtName(), m_pClass->txtName()) ; if (!m_pRoot) return E_OK ; return m_pRoot->GetBool(result, pMbr) ; }