Changeset 189 for XMLIO_V2/dev/dev_rv/src/xmlio/iface
- Timestamp:
- 05/06/11 10:15:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/iface/interface.cpp.in
r188 r189 50 50 { D360 = 0 , ALLLEAP, NOLEAP, JULIAN, GREGORIAN } XCalendarType ; 51 51 52 //------------------------------------------------------------------- 53 52 54 #define DECLARE_ATTRIBUTE(type, name) \ 53 55 DECLARE_INTERFACE(axis, type, name) … … 78 80 DECLARE_INTERFACE(grid, type, name) 79 81 #include "../config/grid_attribute.conf" 82 83 //------------------------------------------------------------------- 80 84 81 85 #define CASE_ELEM(elem_enum, elem_class) \ … … 89 93 return; ;;};; 90 94 95 //------------------------------------------------------------------- 91 96 92 97 void xios_handle_create (XPtr * const _ret, XDType _dtype, const XString _id, XSize _id_len) … … 113 118 #undef CASE_ELEM 114 119 120 //------------------------------------------------------------------- 121 115 122 void xios_xml_parse_file (const XString _filename, XSize _filename_len) 116 123 { … … 131 138 } 132 139 140 //------------------------------------------------------------------- 141 133 142 void xios_xml_parse_string(const XString _xmlcontent, XSize _xmlcontent_len) 134 143 { … … 149 158 } 150 159 160 //------------------------------------------------------------------- 161 151 162 void xios_context_set_current (XPtr const _ctx, bool _wswap) 152 163 { … … 154 165 CTreeManager::SetCurrentContextId(context->getId()); 155 166 } 167 168 //------------------------------------------------------------------- 156 169 157 170 void xios_context_create (XPtr * _ctxt, const XString _ctxt_id, … … 198 211 } 199 212 } 213 214 //------------------------------------------------------------------- 200 215 201 216 #define CASE_ELEM0(elem_enum, elem_class, group_enum, group_class) \ … … 225 240 } 226 241 227 242 //------------------------------------------------------------------- 228 243 229 244 void xios_xml_tree_add(const XPtr _parent, XDType _parent_type, XPtr * _child, … … 264 279 #undef CASE_ELEM0 265 280 281 //------------------------------------------------------------------- 282 266 283 void xios_xml_tree_show(const XString _filename, XSize _filename_len) 267 284 { … … 272 289 CTreeManager::PrintTreeToStream(std::clog); 273 290 } 291 292 //------------------------------------------------------------------- 274 293 275 294 void xios_dtreatment_start(XPtr const _context, XFileType filetype, MPIComm comm_client_server) … … 321 340 } 322 341 342 //------------------------------------------------------------------- 343 323 344 void xios_dtreatment_end(void) 324 345 { 325 346 326 347 } 348 349 //------------------------------------------------------------------- 327 350 328 351 void xios_write_data(const XString _field_id, XSize _field_id_len, double * data_k8, … … 332 355 } 333 356 357 //------------------------------------------------------------------- 358 334 359 void xios_update_calendar(int step) 335 360 { 336 361 337 362 } 363 364 //------------------------------------------------------------------- 338 365 339 366 void xios_set_timestep(double ts_year, double ts_month, double ts_day, … … 344 371 } 345 372 346 347 373 //------------------------------------------------------------------- 348 374 349 375 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.