Return TypeFunction nameArguments
hzEcodehdbADP::RegisterMember(const hdbMember*,)

Declared in file: hzDatabase.h
Defined in file : hdbClass.cpp

Function Logic:

0:START 1:hdbMember::Class pClass 2:!pClass 3:hzexit hdbClass::Designation 4:pClass->Designation() 5:HDB_CLASS_DESIG_SYS 6:mbrId

Function body:

hzEcode hdbADP::RegisterMember (const hdbMember* pMbr)
{
   _hzfunc("hdbADP::RegisterMember") ;
   const hdbClass* pClass ;
   uint32_t        mbrId ;
   pClass = pMbr->Class() ;
   if (!pClass)
       hzexit(E_NOINIT, "Member not initialized to its host data class") ;
   switch  (pClass->Designation())
   {
   case HDB_CLASS_DESIG_SYS:   mbrId = m_nsqMbrSys++ ; break ;
   case HDB_CLASS_DESIG_USR:   mbrId = m_nsqMbrUsr++ ; break ;
   case HDB_CLASS_DESIG_CFG:   mbrId = m_nsqMbrCfg++ ; break ;
   }
   m_mapMembers.Insert(mbrId, pMbr) ;
   pMbr->_setId(mbrId) ;
   return E_OK ;
}