Changeset 231


Ignore:
Timestamp:
06/20/11 13:59:28 (13 years ago)
Author:
hozdoba
Message:

Préparation nouvelle arborescence

Location:
XMLIO_V2/dev/common/src/xmlio
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/xmlio/data_treatment.hpp

    r219 r231  
    9393            (const StdString & fieldId, const ARRAY(float, N) & data) 
    9494      { 
    95          std::vector<boost::multi_array<double, N>::size_type shape() > shape; 
    96          const size_type *      shapearr = data->shape(); 
     95                 typedef typename boost::multi_array<double, N>::size_type sizetp; 
     96         std::vector<sizetp> shape; 
     97         const sizetp * shapearr = data->shape(); 
    9798 
    9899         shape.assign(shapearr, shapearr + N); 
    99          ARRAY_CREATE(datad, double, N, shape); 
     100         ARRAY_CREATE(datad, double, N, [shape]); 
    100101         datad->assign(data->begin(), data->end()); 
    101102 
     
    123124               {  
    124125                   boost::shared_ptr<comm::CClient> client = comm::CClient::GetClient(); 
    125                    client.sendData(fieldId, file->getId(), field->getData()); 
     126                   client->sendData(fieldId, file->getId(), field->getData()); 
    126127               } 
    127128               else 
  • XMLIO_V2/dev/common/src/xmlio/date.cpp

    r219 r231  
    1515      { 
    1616         if(!this->checkDate()) 
     17         { 
    1718            DEBUG(<< "La date initialisée a été modifiée " 
    1819                  << "car elle était incorrecte par rapport au calendrier souhaité."); 
     20         } 
    1921      } 
    2022 
     
    2527      { 
    2628         if(!this->checkDate()) 
     29         { 
    2730            DEBUG(<< "La date initialisée a été modifiée " 
    2831                  << "car elle était incorrecte par rapport au calendrier souhaité."); 
     32         } 
    2933      } 
    3034 
     
    6771         in >> date.hour >> c >> date.minute >> c >> date.second; 
    6872         if(!date.checkDate()) 
     73         { 
    6974            DEBUG("La date initialisée (depuis une chaîne de caractÚres) " 
    7075                  << "a été modifiée car elle était incorrecte " 
    7176                  << "par rapport au calendrier souhaité."); 
     77         } 
    7278         return (in); 
    7379      } 
  • XMLIO_V2/dev/common/src/xmlio/node/axis.hpp

    r219 r231  
    2121   // Declare/Define CAxisAttribute 
    2222   BEGIN_DECLARE_ATTRIBUTE_MAP(CAxis) 
    23    #include "axis_attribute.conf" 
     23include "axis_attribute.conf" 
    2424   END_DECLARE_ATTRIBUTE_MAP(CAxis) 
    2525 
  • XMLIO_V2/dev/common/src/xmlio/node/field.hpp

    r219 r231  
    1010#include "date.hpp" 
    1111#include "declare_group.hpp" 
     12#include "calendar_util.hpp" 
    1213 
    1314namespace xmlioserver { 
Note: See TracChangeset for help on using the changeset viewer.