[325] | 1 | /* ************************************************************************** * |
---|
| 2 | * Interface auto generated - do not modify * |
---|
| 3 | * ************************************************************************** */ |
---|
| 4 | |
---|
| 5 | #include <boost/multi_array.hpp> |
---|
| 6 | #include <boost/shared_ptr.hpp> |
---|
| 7 | #include "xmlioserver.hpp" |
---|
[352] | 8 | #include "attribute_template.hpp" |
---|
| 9 | #include "object_template.hpp" |
---|
| 10 | #include "group_template.hpp" |
---|
[325] | 11 | #include "icutil.hpp" |
---|
[347] | 12 | #include "timer.hpp" |
---|
[369] | 13 | #include "node_type.hpp" |
---|
[325] | 14 | |
---|
| 15 | extern "C" |
---|
| 16 | { |
---|
[345] | 17 | typedef xios::CFileGroup* filegroup_Ptr; |
---|
[325] | 18 | |
---|
| 19 | void cxios_set_filegroup_description(filegroup_Ptr filegroup_hdl, const char * description, int description_size) |
---|
| 20 | { |
---|
| 21 | std::string description_str; |
---|
| 22 | if(!cstr2string(description, description_size, description_str)) return; |
---|
[347] | 23 | CTimer::get("XIOS").resume(); |
---|
[325] | 24 | filegroup_hdl->description.setValue(description_str); |
---|
[347] | 25 | CTimer::get("XIOS").suspend(); |
---|
[325] | 26 | } |
---|
| 27 | |
---|
| 28 | void cxios_get_filegroup_description(filegroup_Ptr filegroup_hdl, char * description, int description_size) |
---|
| 29 | { |
---|
[347] | 30 | CTimer::get("XIOS").resume(); |
---|
[445] | 31 | if(!string_copy(filegroup_hdl->description.getInheritedValue(),description , description_size)) |
---|
[325] | 32 | ERROR("void cxios_get_filegroup_description(filegroup_Ptr filegroup_hdl, char * description, int description_size)", <<"Input string is to short"); |
---|
[347] | 33 | CTimer::get("XIOS").suspend(); |
---|
[325] | 34 | } |
---|
| 35 | |
---|
[432] | 36 | bool cxios_is_defined_filegroup_description(filegroup_Ptr filegroup_hdl ) |
---|
| 37 | { |
---|
| 38 | CTimer::get("XIOS").resume(); |
---|
[445] | 39 | return filegroup_hdl->description.hasInheritedValue(); |
---|
[432] | 40 | CTimer::get("XIOS").suspend(); |
---|
| 41 | } |
---|
[325] | 42 | |
---|
[432] | 43 | |
---|
| 44 | |
---|
[325] | 45 | void cxios_set_filegroup_enabled(filegroup_Ptr filegroup_hdl, bool enabled) |
---|
| 46 | { |
---|
[347] | 47 | CTimer::get("XIOS").resume(); |
---|
[325] | 48 | filegroup_hdl->enabled.setValue(enabled); |
---|
[347] | 49 | CTimer::get("XIOS").suspend(); |
---|
[325] | 50 | } |
---|
| 51 | |
---|
| 52 | void cxios_get_filegroup_enabled(filegroup_Ptr filegroup_hdl, bool* enabled) |
---|
| 53 | { |
---|
[445] | 54 | *enabled = filegroup_hdl->enabled.getInheritedValue(); |
---|
[325] | 55 | } |
---|
| 56 | |
---|
[432] | 57 | bool cxios_is_defined_filegroup_enabled(filegroup_Ptr filegroup_hdl ) |
---|
| 58 | { |
---|
| 59 | CTimer::get("XIOS").resume(); |
---|
[445] | 60 | return filegroup_hdl->enabled.hasInheritedValue(); |
---|
[432] | 61 | CTimer::get("XIOS").suspend(); |
---|
| 62 | } |
---|
[325] | 63 | |
---|
[432] | 64 | |
---|
| 65 | |
---|
[517] | 66 | void cxios_set_filegroup_format(filegroup_Ptr filegroup_hdl, const char * format, int format_size) |
---|
| 67 | { |
---|
| 68 | std::string format_str; |
---|
| 69 | if(!cstr2string(format, format_size, format_str)) return; |
---|
| 70 | CTimer::get("XIOS").resume(); |
---|
| 71 | filegroup_hdl->format.fromString(format_str); |
---|
| 72 | CTimer::get("XIOS").suspend(); |
---|
| 73 | } |
---|
| 74 | |
---|
| 75 | void cxios_get_filegroup_format(filegroup_Ptr filegroup_hdl, char * format, int format_size) |
---|
| 76 | { |
---|
| 77 | CTimer::get("XIOS").resume(); |
---|
| 78 | if(!string_copy(filegroup_hdl->format.getInheritedStringValue(),format , format_size)) |
---|
| 79 | ERROR("void cxios_get_filegroup_format(filegroup_Ptr filegroup_hdl, char * format, int format_size)", <<"Input string is to short"); |
---|
| 80 | CTimer::get("XIOS").suspend(); |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | bool cxios_is_defined_filegroup_format(filegroup_Ptr filegroup_hdl ) |
---|
| 84 | { |
---|
| 85 | CTimer::get("XIOS").resume(); |
---|
| 86 | return filegroup_hdl->format.hasInheritedValue(); |
---|
| 87 | CTimer::get("XIOS").suspend(); |
---|
| 88 | } |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | |
---|
[325] | 92 | void cxios_set_filegroup_group_ref(filegroup_Ptr filegroup_hdl, const char * group_ref, int group_ref_size) |
---|
| 93 | { |
---|
| 94 | std::string group_ref_str; |
---|
| 95 | if(!cstr2string(group_ref, group_ref_size, group_ref_str)) return; |
---|
[347] | 96 | CTimer::get("XIOS").resume(); |
---|
[325] | 97 | filegroup_hdl->group_ref.setValue(group_ref_str); |
---|
[347] | 98 | CTimer::get("XIOS").suspend(); |
---|
[325] | 99 | } |
---|
| 100 | |
---|
| 101 | void cxios_get_filegroup_group_ref(filegroup_Ptr filegroup_hdl, char * group_ref, int group_ref_size) |
---|
| 102 | { |
---|
[347] | 103 | CTimer::get("XIOS").resume(); |
---|
[445] | 104 | if(!string_copy(filegroup_hdl->group_ref.getInheritedValue(),group_ref , group_ref_size)) |
---|
[325] | 105 | ERROR("void cxios_get_filegroup_group_ref(filegroup_Ptr filegroup_hdl, char * group_ref, int group_ref_size)", <<"Input string is to short"); |
---|
[347] | 106 | CTimer::get("XIOS").suspend(); |
---|
[325] | 107 | } |
---|
| 108 | |
---|
[432] | 109 | bool cxios_is_defined_filegroup_group_ref(filegroup_Ptr filegroup_hdl ) |
---|
| 110 | { |
---|
| 111 | CTimer::get("XIOS").resume(); |
---|
[445] | 112 | return filegroup_hdl->group_ref.hasInheritedValue(); |
---|
[432] | 113 | CTimer::get("XIOS").suspend(); |
---|
| 114 | } |
---|
[325] | 115 | |
---|
[432] | 116 | |
---|
| 117 | |
---|
[415] | 118 | void cxios_set_filegroup_min_digits(filegroup_Ptr filegroup_hdl, int min_digits) |
---|
| 119 | { |
---|
| 120 | CTimer::get("XIOS").resume(); |
---|
| 121 | filegroup_hdl->min_digits.setValue(min_digits); |
---|
| 122 | CTimer::get("XIOS").suspend(); |
---|
| 123 | } |
---|
| 124 | |
---|
| 125 | void cxios_get_filegroup_min_digits(filegroup_Ptr filegroup_hdl, int* min_digits) |
---|
| 126 | { |
---|
[445] | 127 | *min_digits = filegroup_hdl->min_digits.getInheritedValue(); |
---|
[415] | 128 | } |
---|
| 129 | |
---|
[432] | 130 | bool cxios_is_defined_filegroup_min_digits(filegroup_Ptr filegroup_hdl ) |
---|
| 131 | { |
---|
| 132 | CTimer::get("XIOS").resume(); |
---|
[445] | 133 | return filegroup_hdl->min_digits.hasInheritedValue(); |
---|
[432] | 134 | CTimer::get("XIOS").suspend(); |
---|
| 135 | } |
---|
[415] | 136 | |
---|
[432] | 137 | |
---|
| 138 | |
---|
[325] | 139 | void cxios_set_filegroup_name(filegroup_Ptr filegroup_hdl, const char * name, int name_size) |
---|
| 140 | { |
---|
| 141 | std::string name_str; |
---|
| 142 | if(!cstr2string(name, name_size, name_str)) return; |
---|
[347] | 143 | CTimer::get("XIOS").resume(); |
---|
[325] | 144 | filegroup_hdl->name.setValue(name_str); |
---|
[347] | 145 | CTimer::get("XIOS").suspend(); |
---|
[325] | 146 | } |
---|
| 147 | |
---|
| 148 | void cxios_get_filegroup_name(filegroup_Ptr filegroup_hdl, char * name, int name_size) |
---|
| 149 | { |
---|
[347] | 150 | CTimer::get("XIOS").resume(); |
---|
[445] | 151 | if(!string_copy(filegroup_hdl->name.getInheritedValue(),name , name_size)) |
---|
[325] | 152 | ERROR("void cxios_get_filegroup_name(filegroup_Ptr filegroup_hdl, char * name, int name_size)", <<"Input string is to short"); |
---|
[347] | 153 | CTimer::get("XIOS").suspend(); |
---|
[325] | 154 | } |
---|
| 155 | |
---|
[432] | 156 | bool cxios_is_defined_filegroup_name(filegroup_Ptr filegroup_hdl ) |
---|
| 157 | { |
---|
| 158 | CTimer::get("XIOS").resume(); |
---|
[445] | 159 | return filegroup_hdl->name.hasInheritedValue(); |
---|
[432] | 160 | CTimer::get("XIOS").suspend(); |
---|
| 161 | } |
---|
[325] | 162 | |
---|
[432] | 163 | |
---|
| 164 | |
---|
[325] | 165 | void cxios_set_filegroup_name_suffix(filegroup_Ptr filegroup_hdl, const char * name_suffix, int name_suffix_size) |
---|
| 166 | { |
---|
| 167 | std::string name_suffix_str; |
---|
| 168 | if(!cstr2string(name_suffix, name_suffix_size, name_suffix_str)) return; |
---|
[347] | 169 | CTimer::get("XIOS").resume(); |
---|
[325] | 170 | filegroup_hdl->name_suffix.setValue(name_suffix_str); |
---|
[347] | 171 | CTimer::get("XIOS").suspend(); |
---|
[325] | 172 | } |
---|
| 173 | |
---|
| 174 | void cxios_get_filegroup_name_suffix(filegroup_Ptr filegroup_hdl, char * name_suffix, int name_suffix_size) |
---|
| 175 | { |
---|
[347] | 176 | CTimer::get("XIOS").resume(); |
---|
[445] | 177 | if(!string_copy(filegroup_hdl->name_suffix.getInheritedValue(),name_suffix , name_suffix_size)) |
---|
[325] | 178 | ERROR("void cxios_get_filegroup_name_suffix(filegroup_Ptr filegroup_hdl, char * name_suffix, int name_suffix_size)", <<"Input string is to short"); |
---|
[347] | 179 | CTimer::get("XIOS").suspend(); |
---|
[325] | 180 | } |
---|
| 181 | |
---|
[432] | 182 | bool cxios_is_defined_filegroup_name_suffix(filegroup_Ptr filegroup_hdl ) |
---|
| 183 | { |
---|
| 184 | CTimer::get("XIOS").resume(); |
---|
[445] | 185 | return filegroup_hdl->name_suffix.hasInheritedValue(); |
---|
[432] | 186 | CTimer::get("XIOS").suspend(); |
---|
| 187 | } |
---|
[325] | 188 | |
---|
[432] | 189 | |
---|
| 190 | |
---|
[325] | 191 | void cxios_set_filegroup_output_freq(filegroup_Ptr filegroup_hdl, const char * output_freq, int output_freq_size) |
---|
| 192 | { |
---|
| 193 | std::string output_freq_str; |
---|
| 194 | if(!cstr2string(output_freq, output_freq_size, output_freq_str)) return; |
---|
[347] | 195 | CTimer::get("XIOS").resume(); |
---|
[325] | 196 | filegroup_hdl->output_freq.setValue(output_freq_str); |
---|
[347] | 197 | CTimer::get("XIOS").suspend(); |
---|
[325] | 198 | } |
---|
| 199 | |
---|
| 200 | void cxios_get_filegroup_output_freq(filegroup_Ptr filegroup_hdl, char * output_freq, int output_freq_size) |
---|
| 201 | { |
---|
[347] | 202 | CTimer::get("XIOS").resume(); |
---|
[445] | 203 | if(!string_copy(filegroup_hdl->output_freq.getInheritedValue(),output_freq , output_freq_size)) |
---|
[325] | 204 | ERROR("void cxios_get_filegroup_output_freq(filegroup_Ptr filegroup_hdl, char * output_freq, int output_freq_size)", <<"Input string is to short"); |
---|
[347] | 205 | CTimer::get("XIOS").suspend(); |
---|
[325] | 206 | } |
---|
| 207 | |
---|
[432] | 208 | bool cxios_is_defined_filegroup_output_freq(filegroup_Ptr filegroup_hdl ) |
---|
| 209 | { |
---|
| 210 | CTimer::get("XIOS").resume(); |
---|
[445] | 211 | return filegroup_hdl->output_freq.hasInheritedValue(); |
---|
[432] | 212 | CTimer::get("XIOS").suspend(); |
---|
| 213 | } |
---|
[325] | 214 | |
---|
[432] | 215 | |
---|
| 216 | |
---|
[325] | 217 | void cxios_set_filegroup_output_level(filegroup_Ptr filegroup_hdl, int output_level) |
---|
| 218 | { |
---|
[347] | 219 | CTimer::get("XIOS").resume(); |
---|
[325] | 220 | filegroup_hdl->output_level.setValue(output_level); |
---|
[347] | 221 | CTimer::get("XIOS").suspend(); |
---|
[325] | 222 | } |
---|
| 223 | |
---|
| 224 | void cxios_get_filegroup_output_level(filegroup_Ptr filegroup_hdl, int* output_level) |
---|
| 225 | { |
---|
[445] | 226 | *output_level = filegroup_hdl->output_level.getInheritedValue(); |
---|
[325] | 227 | } |
---|
| 228 | |
---|
[432] | 229 | bool cxios_is_defined_filegroup_output_level(filegroup_Ptr filegroup_hdl ) |
---|
| 230 | { |
---|
| 231 | CTimer::get("XIOS").resume(); |
---|
[445] | 232 | return filegroup_hdl->output_level.hasInheritedValue(); |
---|
[432] | 233 | CTimer::get("XIOS").suspend(); |
---|
| 234 | } |
---|
[325] | 235 | |
---|
[432] | 236 | |
---|
| 237 | |
---|
[336] | 238 | void cxios_set_filegroup_par_access(filegroup_Ptr filegroup_hdl, const char * par_access, int par_access_size) |
---|
| 239 | { |
---|
| 240 | std::string par_access_str; |
---|
| 241 | if(!cstr2string(par_access, par_access_size, par_access_str)) return; |
---|
[347] | 242 | CTimer::get("XIOS").resume(); |
---|
[336] | 243 | filegroup_hdl->par_access.setValue(par_access_str); |
---|
[347] | 244 | CTimer::get("XIOS").suspend(); |
---|
[336] | 245 | } |
---|
| 246 | |
---|
| 247 | void cxios_get_filegroup_par_access(filegroup_Ptr filegroup_hdl, char * par_access, int par_access_size) |
---|
| 248 | { |
---|
[347] | 249 | CTimer::get("XIOS").resume(); |
---|
[445] | 250 | if(!string_copy(filegroup_hdl->par_access.getInheritedValue(),par_access , par_access_size)) |
---|
[336] | 251 | ERROR("void cxios_get_filegroup_par_access(filegroup_Ptr filegroup_hdl, char * par_access, int par_access_size)", <<"Input string is to short"); |
---|
[347] | 252 | CTimer::get("XIOS").suspend(); |
---|
[336] | 253 | } |
---|
| 254 | |
---|
[432] | 255 | bool cxios_is_defined_filegroup_par_access(filegroup_Ptr filegroup_hdl ) |
---|
| 256 | { |
---|
| 257 | CTimer::get("XIOS").resume(); |
---|
[445] | 258 | return filegroup_hdl->par_access.hasInheritedValue(); |
---|
[432] | 259 | CTimer::get("XIOS").suspend(); |
---|
| 260 | } |
---|
[336] | 261 | |
---|
[432] | 262 | |
---|
| 263 | |
---|
[325] | 264 | void cxios_set_filegroup_split_freq(filegroup_Ptr filegroup_hdl, const char * split_freq, int split_freq_size) |
---|
| 265 | { |
---|
| 266 | std::string split_freq_str; |
---|
| 267 | if(!cstr2string(split_freq, split_freq_size, split_freq_str)) return; |
---|
[347] | 268 | CTimer::get("XIOS").resume(); |
---|
[325] | 269 | filegroup_hdl->split_freq.setValue(split_freq_str); |
---|
[347] | 270 | CTimer::get("XIOS").suspend(); |
---|
[325] | 271 | } |
---|
| 272 | |
---|
| 273 | void cxios_get_filegroup_split_freq(filegroup_Ptr filegroup_hdl, char * split_freq, int split_freq_size) |
---|
| 274 | { |
---|
[347] | 275 | CTimer::get("XIOS").resume(); |
---|
[445] | 276 | if(!string_copy(filegroup_hdl->split_freq.getInheritedValue(),split_freq , split_freq_size)) |
---|
[325] | 277 | ERROR("void cxios_get_filegroup_split_freq(filegroup_Ptr filegroup_hdl, char * split_freq, int split_freq_size)", <<"Input string is to short"); |
---|
[347] | 278 | CTimer::get("XIOS").suspend(); |
---|
[325] | 279 | } |
---|
| 280 | |
---|
[432] | 281 | bool cxios_is_defined_filegroup_split_freq(filegroup_Ptr filegroup_hdl ) |
---|
| 282 | { |
---|
| 283 | CTimer::get("XIOS").resume(); |
---|
[445] | 284 | return filegroup_hdl->split_freq.hasInheritedValue(); |
---|
[432] | 285 | CTimer::get("XIOS").suspend(); |
---|
| 286 | } |
---|
[325] | 287 | |
---|
[432] | 288 | |
---|
| 289 | |
---|
| 290 | void cxios_set_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl, const char * split_freq_format, int split_freq_format_size) |
---|
| 291 | { |
---|
| 292 | std::string split_freq_format_str; |
---|
| 293 | if(!cstr2string(split_freq_format, split_freq_format_size, split_freq_format_str)) return; |
---|
| 294 | CTimer::get("XIOS").resume(); |
---|
| 295 | filegroup_hdl->split_freq_format.setValue(split_freq_format_str); |
---|
| 296 | CTimer::get("XIOS").suspend(); |
---|
| 297 | } |
---|
| 298 | |
---|
| 299 | void cxios_get_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl, char * split_freq_format, int split_freq_format_size) |
---|
| 300 | { |
---|
| 301 | CTimer::get("XIOS").resume(); |
---|
[445] | 302 | if(!string_copy(filegroup_hdl->split_freq_format.getInheritedValue(),split_freq_format , split_freq_format_size)) |
---|
[432] | 303 | ERROR("void cxios_get_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl, char * split_freq_format, int split_freq_format_size)", <<"Input string is to short"); |
---|
| 304 | CTimer::get("XIOS").suspend(); |
---|
| 305 | } |
---|
| 306 | |
---|
| 307 | bool cxios_is_defined_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl ) |
---|
| 308 | { |
---|
| 309 | CTimer::get("XIOS").resume(); |
---|
[445] | 310 | return filegroup_hdl->split_freq_format.hasInheritedValue(); |
---|
[432] | 311 | CTimer::get("XIOS").suspend(); |
---|
| 312 | } |
---|
| 313 | |
---|
| 314 | |
---|
| 315 | |
---|
[325] | 316 | void cxios_set_filegroup_sync_freq(filegroup_Ptr filegroup_hdl, const char * sync_freq, int sync_freq_size) |
---|
| 317 | { |
---|
| 318 | std::string sync_freq_str; |
---|
| 319 | if(!cstr2string(sync_freq, sync_freq_size, sync_freq_str)) return; |
---|
[347] | 320 | CTimer::get("XIOS").resume(); |
---|
[325] | 321 | filegroup_hdl->sync_freq.setValue(sync_freq_str); |
---|
[347] | 322 | CTimer::get("XIOS").suspend(); |
---|
[325] | 323 | } |
---|
| 324 | |
---|
| 325 | void cxios_get_filegroup_sync_freq(filegroup_Ptr filegroup_hdl, char * sync_freq, int sync_freq_size) |
---|
| 326 | { |
---|
[347] | 327 | CTimer::get("XIOS").resume(); |
---|
[445] | 328 | if(!string_copy(filegroup_hdl->sync_freq.getInheritedValue(),sync_freq , sync_freq_size)) |
---|
[325] | 329 | ERROR("void cxios_get_filegroup_sync_freq(filegroup_Ptr filegroup_hdl, char * sync_freq, int sync_freq_size)", <<"Input string is to short"); |
---|
[347] | 330 | CTimer::get("XIOS").suspend(); |
---|
[325] | 331 | } |
---|
| 332 | |
---|
[432] | 333 | bool cxios_is_defined_filegroup_sync_freq(filegroup_Ptr filegroup_hdl ) |
---|
| 334 | { |
---|
| 335 | CTimer::get("XIOS").resume(); |
---|
[445] | 336 | return filegroup_hdl->sync_freq.hasInheritedValue(); |
---|
[432] | 337 | CTimer::get("XIOS").suspend(); |
---|
| 338 | } |
---|
[325] | 339 | |
---|
[432] | 340 | |
---|
| 341 | |
---|
[325] | 342 | void cxios_set_filegroup_type(filegroup_Ptr filegroup_hdl, const char * type, int type_size) |
---|
| 343 | { |
---|
| 344 | std::string type_str; |
---|
| 345 | if(!cstr2string(type, type_size, type_str)) return; |
---|
[347] | 346 | CTimer::get("XIOS").resume(); |
---|
[369] | 347 | filegroup_hdl->type.fromString(type_str); |
---|
[347] | 348 | CTimer::get("XIOS").suspend(); |
---|
[325] | 349 | } |
---|
| 350 | |
---|
| 351 | void cxios_get_filegroup_type(filegroup_Ptr filegroup_hdl, char * type, int type_size) |
---|
| 352 | { |
---|
[347] | 353 | CTimer::get("XIOS").resume(); |
---|
[445] | 354 | if(!string_copy(filegroup_hdl->type.getInheritedStringValue(),type , type_size)) |
---|
[325] | 355 | ERROR("void cxios_get_filegroup_type(filegroup_Ptr filegroup_hdl, char * type, int type_size)", <<"Input string is to short"); |
---|
[347] | 356 | CTimer::get("XIOS").suspend(); |
---|
[325] | 357 | } |
---|
| 358 | |
---|
[432] | 359 | bool cxios_is_defined_filegroup_type(filegroup_Ptr filegroup_hdl ) |
---|
| 360 | { |
---|
| 361 | CTimer::get("XIOS").resume(); |
---|
[445] | 362 | return filegroup_hdl->type.hasInheritedValue(); |
---|
[432] | 363 | CTimer::get("XIOS").suspend(); |
---|
| 364 | } |
---|
[325] | 365 | |
---|
| 366 | |
---|
[432] | 367 | |
---|
| 368 | |
---|
[325] | 369 | } |
---|