Set the EDO to the value in the supplied chain

Return TypeFunction nameArguments
hzEdo&hzEdo::SetValue(hzChain&,)

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

Function Logic:

0:START 1:unknown 2:g_pSMAR_Edo 3:items 4:unknown 5:m_addr pSlot u 6:unknown 7:* 8:Return *this

Function body:

hzEdo& hzEdo::SetValue (hzChain& Z)
{
   //  Set the EDO to the value in the supplied chain
   _hzfunc("hzEdo::SetValue") ;
   chIter      zi ;        //  Chain iterator
   uchar*      pSlot ;     //  EDO slot
   uchar*      u ;         //  EDO slot iterator
   if (!g_pSMAR_Edo)
       g_pSMAR_Edo = new hzSMAR(300);
   Clear() ;
   if (Z.Size())
   {
       m_addr = g_pSMAR_Edo->Alloc(Z.Size()) ;
       u = pSlot = g_pSMAR_Edo->Xlate(m_addr) ;
       for (zi = Z ; !zi.eof() ; u++, zi++)
           *u = *zi ;
   }
   return *this ;
}