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

Préparation nouvelle arborescence

File:
1 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 
Note: See TracChangeset for help on using the changeset viewer.