Changeset 1612 for XIOS/dev/dev_olga/src/interface/c/iccalendar_wrapper.cpp
- Timestamp:
- 11/23/18 14:48:14 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/interface/c/iccalendar_wrapper.cpp
r1542 r1612 29 29 30 30 void cxios_calendar_wrapper_handle_create(XCalendarWrapperPtr* _ret, const char* _id, int _id_len) 31 TRY 31 32 { 32 33 std::string id; … … 36 37 CTimer::get("XIOS").suspend(); 37 38 } 39 CATCH_DUMP_STACK 38 40 39 41 void cxios_get_current_calendar_wrapper(XCalendarWrapperPtr* _ret) 42 TRY 40 43 { 41 44 CTimer::get("XIOS").resume(); … … 43 46 CTimer::get("XIOS").suspend(); 44 47 } 48 CATCH_DUMP_STACK 45 49 46 50 // -------------------- Vérification des identifiants ----------------------- 47 51 48 52 void cxios_calendar_wrapper_valid_id(bool* _ret, const char* _id, int _id_len) 53 TRY 49 54 { 50 55 std::string id; … … 54 59 CTimer::get("XIOS").suspend(); 55 60 } 61 CATCH_DUMP_STACK 56 62 57 63 // ----------------------- Custom getters and setters ----------------------- 58 64 59 65 void cxios_set_calendar_wrapper_date_start_date(XCalendarWrapperPtr calendarWrapper_hdl, cxios_date start_date_c) 66 TRY 60 67 { 61 68 CTimer::get("XIOS").resume(); … … 70 77 CTimer::get("XIOS").suspend(); 71 78 } 79 CATCH_DUMP_STACK 72 80 73 81 void cxios_get_calendar_wrapper_date_start_date(XCalendarWrapperPtr calendarWrapper_hdl, cxios_date* start_date_c) 82 TRY 74 83 { 75 84 CTimer::get("XIOS").resume(); … … 83 92 CTimer::get("XIOS").suspend(); 84 93 } 94 CATCH_DUMP_STACK 85 95 86 96 void cxios_set_calendar_wrapper_date_time_origin(XCalendarWrapperPtr calendarWrapper_hdl, cxios_date time_origin_c) 97 TRY 87 98 { 88 99 CTimer::get("XIOS").resume(); … … 97 108 CTimer::get("XIOS").suspend(); 98 109 } 110 CATCH_DUMP_STACK 99 111 100 112 void cxios_get_calendar_wrapper_date_time_origin(XCalendarWrapperPtr calendarWrapper_hdl, cxios_date* time_origin_c) 113 TRY 101 114 { 102 115 CTimer::get("XIOS").resume(); … … 110 123 CTimer::get("XIOS").suspend(); 111 124 } 125 CATCH_DUMP_STACK 112 126 113 127 // ----------------------- Calendar creation and update ---------------------- 114 128 115 129 void cxios_create_calendar(XCalendarWrapperPtr calendarWrapper_hdl) 130 TRY 116 131 { 117 132 CTimer::get("XIOS").resume(); … … 119 134 CTimer::get("XIOS").suspend(); 120 135 } 136 CATCH_DUMP_STACK 121 137 122 138 void cxios_update_calendar_timestep(XCalendarWrapperPtr calendarWrapper_hdl) 139 TRY 123 140 { 124 141 CTimer::get("XIOS").resume(); … … 126 143 CTimer::get("XIOS").suspend(); 127 144 } 145 CATCH_DUMP_STACK 128 146 } // extern "C"
Note: See TracChangeset
for help on using the changeset viewer.