Populate object by reading in a whole object delta

Return TypeFunction nameArguments
hzEcodehdbObject::ImportDelta(hzChain&,)

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

Function Logic:

0:START 1:zi 2:unknown 3:Return hzerr(E_FORMAT,Whole object deltas are expected to begin with '@obj') 4:items 5:unknown 6:m_pRoot 7:Return _import_delta_r(zi,m_pRoot,0)

Function body:

hzEcode hdbObject::ImportDelta (hzChain& Z)
{
   //  Populate object by reading in a whole object delta
   //  
   //  Argument: Z Chain to which delta is written
   //  
   //  Returns: E_FORMAT If the delta is malformed
   //     E_OK  Operation successful
   _hzfunc("hdbObject::ImportDelta") ;
   chIter      zi ;    //  Chain iterator
   zi = Z ;
   if (zi != "@obj")
       return hzerr(E_FORMAT, "Whole object deltas are expected to begin with '@obj'") ;
   //  Clear object
   Clear() ;
   if (!m_pRoot)
       m_pRoot = _obj_data::GetInstance(m_pClass) ;
   //  threadLog("Importing delta of %d bytes\n", Z.Size()) ;
   return _import_delta_r(zi, m_pRoot, 0);
}