Ignore:
Timestamp:
09/15/11 10:19:26 (13 years ago)
Author:
hozdoba
Message:

nouvelle interface fortran et corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/xmlio/manager/tree_manager.cpp

    r233 r274  
    121121                           CContext::GetContextGroup(); 
    122122                            
    123          is.read (reinterpret_cast<char*>(&renum), sizeof(StdSize));    
    124          is.read (reinterpret_cast<char*>(&ctxtnb), sizeof(ENodeType)); 
     123         is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType));    
     124         is.read (reinterpret_cast<char*>(&ctxtnb), sizeof(StdSize)); 
    125125 
    126126         if (renum != CContextGroup::GetType()) 
    127127            ERROR("CTreeManager::FromBinary(StdIStream & is)", 
    128128                  << "[ renum = " << renum << "] Bad type !"); 
     129                   
     130                   
     131//         std::cout << "Nombre de contexte :" << ctxtnb << std::endl; 
    129132 
    130133         for (StdSize i = 0; i < ctxtnb; i++) 
     
    144147               StdString id(size, ' '); 
    145148               is.read (const_cast<char *>(id.data()), size * sizeof(char)); 
     149                
     150//               std::cout << "context ::::" << id << std::endl; 
    146151                
    147152               CTreeManager::SetCurrentContextId(id);                
Note: See TracChangeset for help on using the changeset viewer.