Ignore:
Timestamp:
05/06/11 10:15:47 (13 years ago)
Author:
hozdoba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/xmlio/iface/interface.cpp.in

    r188 r189  
    5050{ D360 = 0 , ALLLEAP, NOLEAP, JULIAN, GREGORIAN } XCalendarType ; 
    5151 
     52//------------------------------------------------------------------- 
     53 
    5254#define DECLARE_ATTRIBUTE(type, name) \ 
    5355        DECLARE_INTERFACE(axis, type, name) 
     
    7880        DECLARE_INTERFACE(grid, type, name) 
    7981#include "../config/grid_attribute.conf" 
     82 
     83//------------------------------------------------------------------- 
    8084 
    8185#define CASE_ELEM(elem_enum, elem_class)                                         \ 
     
    8993      return; ;;};; 
    9094 
     95//------------------------------------------------------------------- 
    9196 
    9297void xios_handle_create (XPtr * const _ret, XDType _dtype, const XString _id, XSize _id_len) 
     
    113118#undef CASE_ELEM 
    114119 
     120//------------------------------------------------------------------- 
     121 
    115122void xios_xml_parse_file  (const XString _filename, XSize _filename_len) 
    116123{ 
     
    131138} 
    132139 
     140//------------------------------------------------------------------- 
     141 
    133142void xios_xml_parse_string(const XString _xmlcontent, XSize _xmlcontent_len) 
    134143{ 
     
    149158} 
    150159 
     160//------------------------------------------------------------------- 
     161 
    151162void xios_context_set_current (XPtr const _ctx, bool _wswap) 
    152163{ 
     
    154165   CTreeManager::SetCurrentContextId(context->getId()); 
    155166} 
     167 
     168//------------------------------------------------------------------- 
    156169 
    157170void xios_context_create (XPtr * _ctxt, const XString _ctxt_id, 
     
    198211   } 
    199212} 
     213 
     214//------------------------------------------------------------------- 
    200215 
    201216#define CASE_ELEM0(elem_enum, elem_class, group_enum, group_class)                     \ 
     
    225240      } 
    226241 
    227  
     242//------------------------------------------------------------------- 
    228243 
    229244void xios_xml_tree_add(const XPtr _parent, XDType _parent_type, XPtr * _child, 
     
    264279#undef CASE_ELEM0 
    265280 
     281//------------------------------------------------------------------- 
     282 
    266283void xios_xml_tree_show(const XString _filename, XSize _filename_len) 
    267284{ 
     
    272289      CTreeManager::PrintTreeToStream(std::clog); 
    273290} 
     291 
     292//------------------------------------------------------------------- 
    274293 
    275294void xios_dtreatment_start(XPtr const _context, XFileType filetype, MPIComm comm_client_server) 
     
    321340} 
    322341 
     342//------------------------------------------------------------------- 
     343 
    323344void xios_dtreatment_end(void) 
    324345{ 
    325346 
    326347} 
     348 
     349//------------------------------------------------------------------- 
    327350 
    328351void xios_write_data(const XString _field_id, XSize _field_id_len, double * data_k8, 
     
    332355} 
    333356 
     357//------------------------------------------------------------------- 
     358 
    334359void xios_update_calendar(int step) 
    335360{ 
    336361 
    337362} 
     363 
     364//------------------------------------------------------------------- 
    338365 
    339366void xios_set_timestep(double ts_year, double ts_month, double ts_day, 
     
    344371} 
    345372 
    346  
    347  
     373//------------------------------------------------------------------- 
    348374 
    349375#ifdef __cplusplus 
Note: See TracChangeset for help on using the changeset viewer.