Return Type | Function name | Arguments |
---|---|---|
hzEcode | hdbObject::Clear | (void) |
Declared in file: hzDatabase.h
Defined in file : hdbObject.cpp
Function Logic:
Function body:
hzEcode hdbObject::Clear (void) { _hzfunc("hdbObject::Clear") ; if (!m_pClass) return E_NOINIT ; if (!m_pRoot) return E_OK ; if (m_pRoot->m_copy > 1) { m_pRoot->m_copy-- ; m_pRoot = 0; return E_OK ; } m_pRoot->Clear() ; delete m_pRoot ; m_pRoot = 0; return E_OK ; }