Return TypeFunction nameArguments
voidhzPMapS::DeltaOpen(void)

Declared and defined in file: hzTmplMapS.h

Function Logic:

0:START 1:unknown 2:unknown 3:items 4:unknown 5:items 6:unknown 7:items 8:unknown 9:items 10:unknown 11:items 12:unknown 13:items 14:unknown 15:unknown 16:items 17:items 18:m_bOpen items 19: No text

Function body:

void hzPMapS::DeltaOpen (void)
   {
       std::ifstream   is ;    //  Delta file for input
       struct stat     fs ;    //  File status
       KEY             key ;   //  Key
       OBJ             obj ;   //  Object
       //  rc = OpenInputStrm(is, *m_path) ;
       if (lstat(*m_path, &fs) == 0)
       {
           if (fs.st_size)
           {
               is.open(*m_path) ;
               for (; is.tellg() < fs.st_size ;)
               {
                   is >> key ;
                   if (is.fail())
                       is.clear() ;
                   if (is.tellg() == fs.st_size)
                       break ;
                   is >> obj ;
                   if (is.fail())
                       is.clear() ;
                   if (is.tellg() == fs.st_size)
                       threadLog("B: At EOF\n") ;
                   if (!key)   continue ;
                   if (!obj)   continue ;
                   m_map.Insert(key, obj) ;
               }
               is.close() ;
           }
       }
       m_bOpen = true ;
       m_os.open(*m_path, std::ios::app) ;
   }