Changeset 369 for XIOS/trunk/src/interface/c_attr/icfile_attr.cpp
- Timestamp:
- 10/16/12 13:04:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c_attr/icfile_attr.cpp
r352 r369 11 11 #include "icutil.hpp" 12 12 #include "timer.hpp" 13 #include " file.hpp"13 #include "node_type.hpp" 14 14 15 15 extern "C" … … 183 183 if(!cstr2string(type, type_size, type_str)) return; 184 184 CTimer::get("XIOS").resume(); 185 file_hdl->type. setValue(type_str);185 file_hdl->type.fromString(type_str); 186 186 file_hdl->sendAttributToServer(file_hdl->type); 187 187 CTimer::get("XIOS").suspend(); … … 191 191 { 192 192 CTimer::get("XIOS").resume(); 193 if(!string_copy(file_hdl->type.get Value(),type , type_size))193 if(!string_copy(file_hdl->type.getStringValue(),type , type_size)) 194 194 ERROR("void cxios_get_file_type(file_Ptr file_hdl, char * type, int type_size)", <<"Input string is to short"); 195 195 CTimer::get("XIOS").suspend();
Note: See TracChangeset
for help on using the changeset viewer.