Changeset 231
- Timestamp:
- 06/20/11 13:59:28 (14 years ago)
- 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 93 93 (const StdString & fieldId, const ARRAY(float, N) & data) 94 94 { 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(); 97 98 98 99 shape.assign(shapearr, shapearr + N); 99 ARRAY_CREATE(datad, double, N, shape);100 ARRAY_CREATE(datad, double, N, [shape]); 100 101 datad->assign(data->begin(), data->end()); 101 102 … … 123 124 { 124 125 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()); 126 127 } 127 128 else -
XMLIO_V2/dev/common/src/xmlio/date.cpp
r219 r231 15 15 { 16 16 if(!this->checkDate()) 17 { 17 18 DEBUG(<< "La date initialisée a été modifiée " 18 19 << "car elle était incorrecte par rapport au calendrier souhaité."); 20 } 19 21 } 20 22 … … 25 27 { 26 28 if(!this->checkDate()) 29 { 27 30 DEBUG(<< "La date initialisée a été modifiée " 28 31 << "car elle était incorrecte par rapport au calendrier souhaité."); 32 } 29 33 } 30 34 … … 67 71 in >> date.hour >> c >> date.minute >> c >> date.second; 68 72 if(!date.checkDate()) 73 { 69 74 DEBUG("La date initialisée (depuis une chaîne de caractÚres) " 70 75 << "a été modifiée car elle était incorrecte " 71 76 << "par rapport au calendrier souhaité."); 77 } 72 78 return (in); 73 79 } -
XMLIO_V2/dev/common/src/xmlio/node/axis.hpp
r219 r231 21 21 // Declare/Define CAxisAttribute 22 22 BEGIN_DECLARE_ATTRIBUTE_MAP(CAxis) 23 #include "axis_attribute.conf"23 # include "axis_attribute.conf" 24 24 END_DECLARE_ATTRIBUTE_MAP(CAxis) 25 25 -
XMLIO_V2/dev/common/src/xmlio/node/field.hpp
r219 r231 10 10 #include "date.hpp" 11 11 #include "declare_group.hpp" 12 #include "calendar_util.hpp" 12 13 13 14 namespace xmlioserver {
Note: See TracChangeset
for help on using the changeset viewer.