| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdbBinRepos::Close | (void) |
Declared in file: hzDatabase.h
Defined in file : hdbBinRepos.cpp
Function Logic:
Function body:
hzEcode hdbBinRepos::Close (void)
{
_hzfunc("hdbBinRepos::Close") ;
if (m_nInitState < 1) return E_NOINIT ;
if (m_nInitState < 2) return E_NOTOPEN ;
if (m_RdI.is_open()) m_RdI.close() ;
if (m_RdD.is_open()) m_RdD.close() ;
if (m_WrI.is_open()) m_WrI.close() ;
if (m_WrD.is_open()) m_WrD.close() ;
threadLog("CLOSED %s\n", *m_Name) ;
m_nInitState = 1;
return E_OK ;
}