Return a pointer to an already asserted hdbObject instance Pointer to the hdbObject if it has been asserted. Null otherwise.

Return TypeFunction nameArguments
hdbObject*hdsInfo::ObjectSelect(hzString&,)

Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp

Function Logic:

0:START 1:m_pObj 2:unknown 3:pObj_test 4:unknown 5:m_pObj 6:Return m_pObj

Function body:

hdbObject* hdsInfo::ObjectSelect (hzString& objKey)
{
   //  Category: Dissemino Operation
   //  
   //  Return a pointer to an already asserted hdbObject instance
   //  
   //  Argument: objKey The application name for the hdbObject instance
   //  
   //  Returns: Pointer to the hdbObject if it has been asserted.
   //     Null otherwise.
   hzList<hdbObject*>::Iter    objI ;  //  Object iterator
   hdbObject*  pObj_test ;     //  Test object pointer
   m_pObj = 0;
   for (objI = m_Objects ; objI.Valid() ; objI++)
   {
       pObj_test = objI.Element() ;
       if (pObj_test->ObjKey() != objKey)
           continue ;
       m_pObj = pObj_test ;
       break ;
   }
   return m_pObj ;
}