5 #include <boost/multi_array.hpp>
21 CTimer::get(
"XIOS").resume();
22 filegroup_hdl->append.setValue(append);
23 CTimer::get(
"XIOS").suspend();
28 CTimer::get(
"XIOS").resume();
29 *append = filegroup_hdl->append.getInheritedValue();
30 CTimer::get(
"XIOS").suspend();
35 CTimer::get(
"XIOS").resume();
36 bool isDefined = filegroup_hdl->append.hasInheritedValue();
37 CTimer::get(
"XIOS").suspend();
44 std::string comment_str;
45 if (!
cstr2string(comment, comment_size, comment_str))
return;
46 CTimer::get(
"XIOS").resume();
47 filegroup_hdl->comment.setValue(comment_str);
48 CTimer::get(
"XIOS").suspend();
53 CTimer::get(
"XIOS").resume();
54 if (!
string_copy(filegroup_hdl->comment.getInheritedValue(), comment, comment_size))
55 ERROR(
"void cxios_get_filegroup_comment(filegroup_Ptr filegroup_hdl, char * comment, int comment_size)", <<
"Input string is too short");
56 CTimer::get(
"XIOS").suspend();
61 CTimer::get(
"XIOS").resume();
62 bool isDefined = filegroup_hdl->comment.hasInheritedValue();
63 CTimer::get(
"XIOS").suspend();
70 CTimer::get(
"XIOS").resume();
71 filegroup_hdl->compression_level.setValue(compression_level);
72 CTimer::get(
"XIOS").suspend();
77 CTimer::get(
"XIOS").resume();
78 *compression_level = filegroup_hdl->compression_level.getInheritedValue();
79 CTimer::get(
"XIOS").suspend();
84 CTimer::get(
"XIOS").resume();
85 bool isDefined = filegroup_hdl->compression_level.hasInheritedValue();
86 CTimer::get(
"XIOS").suspend();
93 std::string convention_str;
94 if (!
cstr2string(convention, convention_size, convention_str))
return;
95 CTimer::get(
"XIOS").resume();
96 filegroup_hdl->convention.fromString(convention_str);
97 CTimer::get(
"XIOS").suspend();
102 CTimer::get(
"XIOS").resume();
103 if (!
string_copy(filegroup_hdl->convention.getInheritedStringValue(), convention, convention_size))
104 ERROR(
"void cxios_get_filegroup_convention(filegroup_Ptr filegroup_hdl, char * convention, int convention_size)", <<
"Input string is too short");
105 CTimer::get(
"XIOS").suspend();
110 CTimer::get(
"XIOS").resume();
111 bool isDefined = filegroup_hdl->convention.hasInheritedValue();
112 CTimer::get(
"XIOS").suspend();
119 std::string convention_str_str;
120 if (!
cstr2string(convention_str, convention_str_size, convention_str_str))
return;
121 CTimer::get(
"XIOS").resume();
122 filegroup_hdl->convention_str.setValue(convention_str_str);
123 CTimer::get(
"XIOS").suspend();
128 CTimer::get(
"XIOS").resume();
129 if (!
string_copy(filegroup_hdl->convention_str.getInheritedValue(), convention_str, convention_str_size))
130 ERROR(
"void cxios_get_filegroup_convention_str(filegroup_Ptr filegroup_hdl, char * convention_str, int convention_str_size)", <<
"Input string is too short");
131 CTimer::get(
"XIOS").suspend();
136 CTimer::get(
"XIOS").resume();
137 bool isDefined = filegroup_hdl->convention_str.hasInheritedValue();
138 CTimer::get(
"XIOS").suspend();
145 CTimer::get(
"XIOS").resume();
146 filegroup_hdl->cyclic.setValue(cyclic);
147 CTimer::get(
"XIOS").suspend();
152 CTimer::get(
"XIOS").resume();
153 *cyclic = filegroup_hdl->cyclic.getInheritedValue();
154 CTimer::get(
"XIOS").suspend();
159 CTimer::get(
"XIOS").resume();
160 bool isDefined = filegroup_hdl->cyclic.hasInheritedValue();
161 CTimer::get(
"XIOS").suspend();
168 std::string description_str;
169 if (!
cstr2string(description, description_size, description_str))
return;
170 CTimer::get(
"XIOS").resume();
171 filegroup_hdl->description.setValue(description_str);
172 CTimer::get(
"XIOS").suspend();
177 CTimer::get(
"XIOS").resume();
178 if (!
string_copy(filegroup_hdl->description.getInheritedValue(), description, description_size))
179 ERROR(
"void cxios_get_filegroup_description(filegroup_Ptr filegroup_hdl, char * description, int description_size)", <<
"Input string is too short");
180 CTimer::get(
"XIOS").suspend();
185 CTimer::get(
"XIOS").resume();
186 bool isDefined = filegroup_hdl->description.hasInheritedValue();
187 CTimer::get(
"XIOS").suspend();
194 CTimer::get(
"XIOS").resume();
195 filegroup_hdl->enabled.setValue(enabled);
196 CTimer::get(
"XIOS").suspend();
201 CTimer::get(
"XIOS").resume();
202 *enabled = filegroup_hdl->enabled.getInheritedValue();
203 CTimer::get(
"XIOS").suspend();
208 CTimer::get(
"XIOS").resume();
209 bool isDefined = filegroup_hdl->enabled.hasInheritedValue();
210 CTimer::get(
"XIOS").suspend();
217 std::string format_str;
218 if (!
cstr2string(format, format_size, format_str))
return;
219 CTimer::get(
"XIOS").resume();
220 filegroup_hdl->format.fromString(format_str);
221 CTimer::get(
"XIOS").suspend();
226 CTimer::get(
"XIOS").resume();
227 if (!
string_copy(filegroup_hdl->format.getInheritedStringValue(), format, format_size))
228 ERROR(
"void cxios_get_filegroup_format(filegroup_Ptr filegroup_hdl, char * format, int format_size)", <<
"Input string is too short");
229 CTimer::get(
"XIOS").suspend();
234 CTimer::get(
"XIOS").resume();
235 bool isDefined = filegroup_hdl->format.hasInheritedValue();
236 CTimer::get(
"XIOS").suspend();
243 std::string group_ref_str;
244 if (!
cstr2string(group_ref, group_ref_size, group_ref_str))
return;
245 CTimer::get(
"XIOS").resume();
246 filegroup_hdl->group_ref.setValue(group_ref_str);
247 CTimer::get(
"XIOS").suspend();
252 CTimer::get(
"XIOS").resume();
253 if (!
string_copy(filegroup_hdl->group_ref.getInheritedValue(), group_ref, group_ref_size))
254 ERROR(
"void cxios_get_filegroup_group_ref(filegroup_Ptr filegroup_hdl, char * group_ref, int group_ref_size)", <<
"Input string is too short");
255 CTimer::get(
"XIOS").suspend();
260 CTimer::get(
"XIOS").resume();
261 bool isDefined = filegroup_hdl->group_ref.hasInheritedValue();
262 CTimer::get(
"XIOS").suspend();
269 CTimer::get(
"XIOS").resume();
270 filegroup_hdl->min_digits.setValue(min_digits);
271 CTimer::get(
"XIOS").suspend();
276 CTimer::get(
"XIOS").resume();
277 *min_digits = filegroup_hdl->min_digits.getInheritedValue();
278 CTimer::get(
"XIOS").suspend();
283 CTimer::get(
"XIOS").resume();
284 bool isDefined = filegroup_hdl->min_digits.hasInheritedValue();
285 CTimer::get(
"XIOS").suspend();
292 std::string mode_str;
293 if (!
cstr2string(mode, mode_size, mode_str))
return;
294 CTimer::get(
"XIOS").resume();
295 filegroup_hdl->mode.fromString(mode_str);
296 CTimer::get(
"XIOS").suspend();
301 CTimer::get(
"XIOS").resume();
302 if (!
string_copy(filegroup_hdl->mode.getInheritedStringValue(), mode, mode_size))
303 ERROR(
"void cxios_get_filegroup_mode(filegroup_Ptr filegroup_hdl, char * mode, int mode_size)", <<
"Input string is too short");
304 CTimer::get(
"XIOS").suspend();
309 CTimer::get(
"XIOS").resume();
310 bool isDefined = filegroup_hdl->mode.hasInheritedValue();
311 CTimer::get(
"XIOS").suspend();
318 std::string name_str;
319 if (!
cstr2string(name, name_size, name_str))
return;
320 CTimer::get(
"XIOS").resume();
321 filegroup_hdl->name.setValue(name_str);
322 CTimer::get(
"XIOS").suspend();
327 CTimer::get(
"XIOS").resume();
328 if (!
string_copy(filegroup_hdl->name.getInheritedValue(), name, name_size))
329 ERROR(
"void cxios_get_filegroup_name(filegroup_Ptr filegroup_hdl, char * name, int name_size)", <<
"Input string is too short");
330 CTimer::get(
"XIOS").suspend();
335 CTimer::get(
"XIOS").resume();
336 bool isDefined = filegroup_hdl->name.hasInheritedValue();
337 CTimer::get(
"XIOS").suspend();
344 std::string name_suffix_str;
345 if (!
cstr2string(name_suffix, name_suffix_size, name_suffix_str))
return;
346 CTimer::get(
"XIOS").resume();
347 filegroup_hdl->name_suffix.setValue(name_suffix_str);
348 CTimer::get(
"XIOS").suspend();
353 CTimer::get(
"XIOS").resume();
354 if (!
string_copy(filegroup_hdl->name_suffix.getInheritedValue(), name_suffix, name_suffix_size))
355 ERROR(
"void cxios_get_filegroup_name_suffix(filegroup_Ptr filegroup_hdl, char * name_suffix, int name_suffix_size)", <<
"Input string is too short");
356 CTimer::get(
"XIOS").suspend();
361 CTimer::get(
"XIOS").resume();
362 bool isDefined = filegroup_hdl->name_suffix.hasInheritedValue();
363 CTimer::get(
"XIOS").suspend();
370 CTimer::get(
"XIOS").resume();
371 filegroup_hdl->output_freq.allocate();
372 CDuration& output_freq = filegroup_hdl->output_freq.get();
373 output_freq.
year = output_freq_c.
year;
375 output_freq.
day = output_freq_c.
day;
376 output_freq.
hour = output_freq_c.
hour;
380 CTimer::get(
"XIOS").suspend();
385 CTimer::get(
"XIOS").resume();
386 CDuration output_freq = filegroup_hdl->output_freq.getInheritedValue();
387 output_freq_c->
year = output_freq.
year;
389 output_freq_c->
day = output_freq.
day;
390 output_freq_c->
hour = output_freq.
hour;
394 CTimer::get(
"XIOS").suspend();
399 CTimer::get(
"XIOS").resume();
400 bool isDefined = filegroup_hdl->output_freq.hasInheritedValue();
401 CTimer::get(
"XIOS").suspend();
408 CTimer::get(
"XIOS").resume();
409 filegroup_hdl->output_level.setValue(output_level);
410 CTimer::get(
"XIOS").suspend();
415 CTimer::get(
"XIOS").resume();
416 *output_level = filegroup_hdl->output_level.getInheritedValue();
417 CTimer::get(
"XIOS").suspend();
422 CTimer::get(
"XIOS").resume();
423 bool isDefined = filegroup_hdl->output_level.hasInheritedValue();
424 CTimer::get(
"XIOS").suspend();
431 std::string par_access_str;
432 if (!
cstr2string(par_access, par_access_size, par_access_str))
return;
433 CTimer::get(
"XIOS").resume();
434 filegroup_hdl->par_access.fromString(par_access_str);
435 CTimer::get(
"XIOS").suspend();
440 CTimer::get(
"XIOS").resume();
441 if (!
string_copy(filegroup_hdl->par_access.getInheritedStringValue(), par_access, par_access_size))
442 ERROR(
"void cxios_get_filegroup_par_access(filegroup_Ptr filegroup_hdl, char * par_access, int par_access_size)", <<
"Input string is too short");
443 CTimer::get(
"XIOS").suspend();
448 CTimer::get(
"XIOS").resume();
449 bool isDefined = filegroup_hdl->par_access.hasInheritedValue();
450 CTimer::get(
"XIOS").suspend();
457 CTimer::get(
"XIOS").resume();
458 filegroup_hdl->read_metadata_par.setValue(read_metadata_par);
459 CTimer::get(
"XIOS").suspend();
464 CTimer::get(
"XIOS").resume();
465 *read_metadata_par = filegroup_hdl->read_metadata_par.getInheritedValue();
466 CTimer::get(
"XIOS").suspend();
471 CTimer::get(
"XIOS").resume();
472 bool isDefined = filegroup_hdl->read_metadata_par.hasInheritedValue();
473 CTimer::get(
"XIOS").suspend();
480 CTimer::get(
"XIOS").resume();
481 filegroup_hdl->record_offset.setValue(record_offset);
482 CTimer::get(
"XIOS").suspend();
487 CTimer::get(
"XIOS").resume();
488 *record_offset = filegroup_hdl->record_offset.getInheritedValue();
489 CTimer::get(
"XIOS").suspend();
494 CTimer::get(
"XIOS").resume();
495 bool isDefined = filegroup_hdl->record_offset.hasInheritedValue();
496 CTimer::get(
"XIOS").suspend();
503 CTimer::get(
"XIOS").resume();
504 filegroup_hdl->split_end_offset.allocate();
505 CDuration& split_end_offset = filegroup_hdl->split_end_offset.get();
506 split_end_offset.
year = split_end_offset_c.
year;
507 split_end_offset.
month = split_end_offset_c.
month;
508 split_end_offset.
day = split_end_offset_c.
day;
509 split_end_offset.
hour = split_end_offset_c.
hour;
513 CTimer::get(
"XIOS").suspend();
518 CTimer::get(
"XIOS").resume();
519 CDuration split_end_offset = filegroup_hdl->split_end_offset.getInheritedValue();
520 split_end_offset_c->
year = split_end_offset.
year;
521 split_end_offset_c->
month = split_end_offset.
month;
522 split_end_offset_c->
day = split_end_offset.
day;
523 split_end_offset_c->
hour = split_end_offset.
hour;
527 CTimer::get(
"XIOS").suspend();
532 CTimer::get(
"XIOS").resume();
533 bool isDefined = filegroup_hdl->split_end_offset.hasInheritedValue();
534 CTimer::get(
"XIOS").suspend();
541 CTimer::get(
"XIOS").resume();
542 filegroup_hdl->split_freq.allocate();
543 CDuration& split_freq = filegroup_hdl->split_freq.get();
544 split_freq.
year = split_freq_c.
year;
546 split_freq.
day = split_freq_c.
day;
547 split_freq.
hour = split_freq_c.
hour;
551 CTimer::get(
"XIOS").suspend();
556 CTimer::get(
"XIOS").resume();
557 CDuration split_freq = filegroup_hdl->split_freq.getInheritedValue();
558 split_freq_c->
year = split_freq.
year;
560 split_freq_c->
day = split_freq.
day;
561 split_freq_c->
hour = split_freq.
hour;
565 CTimer::get(
"XIOS").suspend();
570 CTimer::get(
"XIOS").resume();
571 bool isDefined = filegroup_hdl->split_freq.hasInheritedValue();
572 CTimer::get(
"XIOS").suspend();
579 std::string split_freq_format_str;
580 if (!
cstr2string(split_freq_format, split_freq_format_size, split_freq_format_str))
return;
581 CTimer::get(
"XIOS").resume();
582 filegroup_hdl->split_freq_format.setValue(split_freq_format_str);
583 CTimer::get(
"XIOS").suspend();
588 CTimer::get(
"XIOS").resume();
589 if (!
string_copy(filegroup_hdl->split_freq_format.getInheritedValue(), split_freq_format, split_freq_format_size))
590 ERROR(
"void cxios_get_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl, char * split_freq_format, int split_freq_format_size)", <<
"Input string is too short");
591 CTimer::get(
"XIOS").suspend();
596 CTimer::get(
"XIOS").resume();
597 bool isDefined = filegroup_hdl->split_freq_format.hasInheritedValue();
598 CTimer::get(
"XIOS").suspend();
605 std::string split_last_date_str;
606 if (!
cstr2string(split_last_date, split_last_date_size, split_last_date_str))
return;
607 CTimer::get(
"XIOS").resume();
608 filegroup_hdl->split_last_date.setValue(split_last_date_str);
609 CTimer::get(
"XIOS").suspend();
614 CTimer::get(
"XIOS").resume();
615 if (!
string_copy(filegroup_hdl->split_last_date.getInheritedValue(), split_last_date, split_last_date_size))
616 ERROR(
"void cxios_get_filegroup_split_last_date(filegroup_Ptr filegroup_hdl, char * split_last_date, int split_last_date_size)", <<
"Input string is too short");
617 CTimer::get(
"XIOS").suspend();
622 CTimer::get(
"XIOS").resume();
623 bool isDefined = filegroup_hdl->split_last_date.hasInheritedValue();
624 CTimer::get(
"XIOS").suspend();
631 CTimer::get(
"XIOS").resume();
632 filegroup_hdl->split_start_offset.allocate();
633 CDuration& split_start_offset = filegroup_hdl->split_start_offset.get();
634 split_start_offset.
year = split_start_offset_c.
year;
635 split_start_offset.
month = split_start_offset_c.
month;
636 split_start_offset.
day = split_start_offset_c.
day;
637 split_start_offset.
hour = split_start_offset_c.
hour;
638 split_start_offset.
minute = split_start_offset_c.
minute;
639 split_start_offset.
second = split_start_offset_c.
second;
641 CTimer::get(
"XIOS").suspend();
646 CTimer::get(
"XIOS").resume();
647 CDuration split_start_offset = filegroup_hdl->split_start_offset.getInheritedValue();
648 split_start_offset_c->
year = split_start_offset.
year;
649 split_start_offset_c->
month = split_start_offset.
month;
650 split_start_offset_c->
day = split_start_offset.
day;
651 split_start_offset_c->
hour = split_start_offset.
hour;
652 split_start_offset_c->
minute = split_start_offset.
minute;
653 split_start_offset_c->
second = split_start_offset.
second;
655 CTimer::get(
"XIOS").suspend();
660 CTimer::get(
"XIOS").resume();
661 bool isDefined = filegroup_hdl->split_start_offset.hasInheritedValue();
662 CTimer::get(
"XIOS").suspend();
669 CTimer::get(
"XIOS").resume();
670 filegroup_hdl->sync_freq.allocate();
671 CDuration& sync_freq = filegroup_hdl->sync_freq.get();
674 sync_freq.
day = sync_freq_c.
day;
679 CTimer::get(
"XIOS").suspend();
684 CTimer::get(
"XIOS").resume();
685 CDuration sync_freq = filegroup_hdl->sync_freq.getInheritedValue();
688 sync_freq_c->
day = sync_freq.
day;
693 CTimer::get(
"XIOS").suspend();
698 CTimer::get(
"XIOS").resume();
699 bool isDefined = filegroup_hdl->sync_freq.hasInheritedValue();
700 CTimer::get(
"XIOS").suspend();
707 std::string time_counter_str;
708 if (!
cstr2string(time_counter, time_counter_size, time_counter_str))
return;
709 CTimer::get(
"XIOS").resume();
710 filegroup_hdl->time_counter.fromString(time_counter_str);
711 CTimer::get(
"XIOS").suspend();
716 CTimer::get(
"XIOS").resume();
717 if (!
string_copy(filegroup_hdl->time_counter.getInheritedStringValue(), time_counter, time_counter_size))
718 ERROR(
"void cxios_get_filegroup_time_counter(filegroup_Ptr filegroup_hdl, char * time_counter, int time_counter_size)", <<
"Input string is too short");
719 CTimer::get(
"XIOS").suspend();
724 CTimer::get(
"XIOS").resume();
725 bool isDefined = filegroup_hdl->time_counter.hasInheritedValue();
726 CTimer::get(
"XIOS").suspend();
733 std::string time_counter_name_str;
734 if (!
cstr2string(time_counter_name, time_counter_name_size, time_counter_name_str))
return;
735 CTimer::get(
"XIOS").resume();
736 filegroup_hdl->time_counter_name.setValue(time_counter_name_str);
737 CTimer::get(
"XIOS").suspend();
742 CTimer::get(
"XIOS").resume();
743 if (!
string_copy(filegroup_hdl->time_counter_name.getInheritedValue(), time_counter_name, time_counter_name_size))
744 ERROR(
"void cxios_get_filegroup_time_counter_name(filegroup_Ptr filegroup_hdl, char * time_counter_name, int time_counter_name_size)", <<
"Input string is too short");
745 CTimer::get(
"XIOS").suspend();
750 CTimer::get(
"XIOS").resume();
751 bool isDefined = filegroup_hdl->time_counter_name.hasInheritedValue();
752 CTimer::get(
"XIOS").suspend();
759 std::string time_stamp_format_str;
760 if (!
cstr2string(time_stamp_format, time_stamp_format_size, time_stamp_format_str))
return;
761 CTimer::get(
"XIOS").resume();
762 filegroup_hdl->time_stamp_format.setValue(time_stamp_format_str);
763 CTimer::get(
"XIOS").suspend();
768 CTimer::get(
"XIOS").resume();
769 if (!
string_copy(filegroup_hdl->time_stamp_format.getInheritedValue(), time_stamp_format, time_stamp_format_size))
770 ERROR(
"void cxios_get_filegroup_time_stamp_format(filegroup_Ptr filegroup_hdl, char * time_stamp_format, int time_stamp_format_size)", <<
"Input string is too short");
771 CTimer::get(
"XIOS").suspend();
776 CTimer::get(
"XIOS").resume();
777 bool isDefined = filegroup_hdl->time_stamp_format.hasInheritedValue();
778 CTimer::get(
"XIOS").suspend();
785 std::string time_stamp_name_str;
786 if (!
cstr2string(time_stamp_name, time_stamp_name_size, time_stamp_name_str))
return;
787 CTimer::get(
"XIOS").resume();
788 filegroup_hdl->time_stamp_name.setValue(time_stamp_name_str);
789 CTimer::get(
"XIOS").suspend();
794 CTimer::get(
"XIOS").resume();
795 if (!
string_copy(filegroup_hdl->time_stamp_name.getInheritedValue(), time_stamp_name, time_stamp_name_size))
796 ERROR(
"void cxios_get_filegroup_time_stamp_name(filegroup_Ptr filegroup_hdl, char * time_stamp_name, int time_stamp_name_size)", <<
"Input string is too short");
797 CTimer::get(
"XIOS").suspend();
802 CTimer::get(
"XIOS").resume();
803 bool isDefined = filegroup_hdl->time_stamp_name.hasInheritedValue();
804 CTimer::get(
"XIOS").suspend();
811 std::string time_units_str;
812 if (!
cstr2string(time_units, time_units_size, time_units_str))
return;
813 CTimer::get(
"XIOS").resume();
814 filegroup_hdl->time_units.fromString(time_units_str);
815 CTimer::get(
"XIOS").suspend();
820 CTimer::get(
"XIOS").resume();
821 if (!
string_copy(filegroup_hdl->time_units.getInheritedStringValue(), time_units, time_units_size))
822 ERROR(
"void cxios_get_filegroup_time_units(filegroup_Ptr filegroup_hdl, char * time_units, int time_units_size)", <<
"Input string is too short");
823 CTimer::get(
"XIOS").suspend();
828 CTimer::get(
"XIOS").resume();
829 bool isDefined = filegroup_hdl->time_units.hasInheritedValue();
830 CTimer::get(
"XIOS").suspend();
837 std::string timeseries_str;
838 if (!
cstr2string(timeseries, timeseries_size, timeseries_str))
return;
839 CTimer::get(
"XIOS").resume();
840 filegroup_hdl->timeseries.fromString(timeseries_str);
841 CTimer::get(
"XIOS").suspend();
846 CTimer::get(
"XIOS").resume();
847 if (!
string_copy(filegroup_hdl->timeseries.getInheritedStringValue(), timeseries, timeseries_size))
848 ERROR(
"void cxios_get_filegroup_timeseries(filegroup_Ptr filegroup_hdl, char * timeseries, int timeseries_size)", <<
"Input string is too short");
849 CTimer::get(
"XIOS").suspend();
854 CTimer::get(
"XIOS").resume();
855 bool isDefined = filegroup_hdl->timeseries.hasInheritedValue();
856 CTimer::get(
"XIOS").suspend();
863 std::string ts_prefix_str;
864 if (!
cstr2string(ts_prefix, ts_prefix_size, ts_prefix_str))
return;
865 CTimer::get(
"XIOS").resume();
866 filegroup_hdl->ts_prefix.setValue(ts_prefix_str);
867 CTimer::get(
"XIOS").suspend();
872 CTimer::get(
"XIOS").resume();
873 if (!
string_copy(filegroup_hdl->ts_prefix.getInheritedValue(), ts_prefix, ts_prefix_size))
874 ERROR(
"void cxios_get_filegroup_ts_prefix(filegroup_Ptr filegroup_hdl, char * ts_prefix, int ts_prefix_size)", <<
"Input string is too short");
875 CTimer::get(
"XIOS").suspend();
880 CTimer::get(
"XIOS").resume();
881 bool isDefined = filegroup_hdl->ts_prefix.hasInheritedValue();
882 CTimer::get(
"XIOS").suspend();
889 std::string type_str;
890 if (!
cstr2string(type, type_size, type_str))
return;
891 CTimer::get(
"XIOS").resume();
892 filegroup_hdl->type.fromString(type_str);
893 CTimer::get(
"XIOS").suspend();
898 CTimer::get(
"XIOS").resume();
899 if (!
string_copy(filegroup_hdl->type.getInheritedStringValue(),
type, type_size))
900 ERROR(
"void cxios_get_filegroup_type(filegroup_Ptr filegroup_hdl, char * type, int type_size)", <<
"Input string is too short");
901 CTimer::get(
"XIOS").suspend();
906 CTimer::get(
"XIOS").resume();
907 bool isDefined = filegroup_hdl->type.hasInheritedValue();
908 CTimer::get(
"XIOS").suspend();
915 std::string uuid_format_str;
916 if (!
cstr2string(uuid_format, uuid_format_size, uuid_format_str))
return;
917 CTimer::get(
"XIOS").resume();
918 filegroup_hdl->uuid_format.setValue(uuid_format_str);
919 CTimer::get(
"XIOS").suspend();
924 CTimer::get(
"XIOS").resume();
925 if (!
string_copy(filegroup_hdl->uuid_format.getInheritedValue(), uuid_format, uuid_format_size))
926 ERROR(
"void cxios_get_filegroup_uuid_format(filegroup_Ptr filegroup_hdl, char * uuid_format, int uuid_format_size)", <<
"Input string is too short");
927 CTimer::get(
"XIOS").suspend();
932 CTimer::get(
"XIOS").resume();
933 bool isDefined = filegroup_hdl->uuid_format.hasInheritedValue();
934 CTimer::get(
"XIOS").suspend();
941 std::string uuid_name_str;
942 if (!
cstr2string(uuid_name, uuid_name_size, uuid_name_str))
return;
943 CTimer::get(
"XIOS").resume();
944 filegroup_hdl->uuid_name.setValue(uuid_name_str);
945 CTimer::get(
"XIOS").suspend();
950 CTimer::get(
"XIOS").resume();
951 if (!
string_copy(filegroup_hdl->uuid_name.getInheritedValue(), uuid_name, uuid_name_size))
952 ERROR(
"void cxios_get_filegroup_uuid_name(filegroup_Ptr filegroup_hdl, char * uuid_name, int uuid_name_size)", <<
"Input string is too short");
953 CTimer::get(
"XIOS").suspend();
958 CTimer::get(
"XIOS").resume();
959 bool isDefined = filegroup_hdl->uuid_name.hasInheritedValue();
960 CTimer::get(
"XIOS").suspend();
bool cxios_is_defined_filegroup_enabled(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_comment(filegroup_Ptr filegroup_hdl, const char *comment, int comment_size)
void cxios_get_filegroup_mode(filegroup_Ptr filegroup_hdl, char *mode, int mode_size)
bool cxios_is_defined_filegroup_time_stamp_format(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_split_end_offset(filegroup_Ptr filegroup_hdl, cxios_duration *split_end_offset_c)
void cxios_set_filegroup_name_suffix(filegroup_Ptr filegroup_hdl, const char *name_suffix, int name_suffix_size)
void cxios_set_filegroup_time_stamp_format(filegroup_Ptr filegroup_hdl, const char *time_stamp_format, int time_stamp_format_size)
bool cxios_is_defined_filegroup_time_counter(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_convention(filegroup_Ptr filegroup_hdl, char *convention, int convention_size)
void cxios_set_filegroup_mode(filegroup_Ptr filegroup_hdl, const char *mode, int mode_size)
xios::CFileGroup * filegroup_Ptr
void cxios_set_filegroup_convention_str(filegroup_Ptr filegroup_hdl, const char *convention_str, int convention_str_size)
bool cxios_is_defined_filegroup_append(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_time_units(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_format(filegroup_Ptr filegroup_hdl, const char *format, int format_size)
void cxios_set_filegroup_convention(filegroup_Ptr filegroup_hdl, const char *convention, int convention_size)
void cxios_set_filegroup_uuid_format(filegroup_Ptr filegroup_hdl, const char *uuid_format, int uuid_format_size)
bool cxios_is_defined_filegroup_type(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_output_level(filegroup_Ptr filegroup_hdl, int output_level)
void cxios_get_filegroup_split_start_offset(filegroup_Ptr filegroup_hdl, cxios_duration *split_start_offset_c)
void cxios_set_filegroup_compression_level(filegroup_Ptr filegroup_hdl, int compression_level)
bool cxios_is_defined_filegroup_timeseries(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_timeseries(filegroup_Ptr filegroup_hdl, char *timeseries, int timeseries_size)
void cxios_get_filegroup_split_freq(filegroup_Ptr filegroup_hdl, cxios_duration *split_freq_c)
bool cxios_is_defined_filegroup_ts_prefix(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_time_counter_name(filegroup_Ptr filegroup_hdl, char *time_counter_name, int time_counter_name_size)
void cxios_set_filegroup_append(filegroup_Ptr filegroup_hdl, bool append)
double year
Propriétés publiques ///.
void cxios_get_filegroup_append(filegroup_Ptr filegroup_hdl, bool *append)
bool cxios_is_defined_filegroup_record_offset(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_split_freq(filegroup_Ptr filegroup_hdl, cxios_duration split_freq_c)
void cxios_set_filegroup_ts_prefix(filegroup_Ptr filegroup_hdl, const char *ts_prefix, int ts_prefix_size)
void cxios_set_filegroup_split_end_offset(filegroup_Ptr filegroup_hdl, cxios_duration split_end_offset_c)
bool cxios_is_defined_filegroup_time_counter_name(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_description(filegroup_Ptr filegroup_hdl, char *description, int description_size)
bool cxios_is_defined_filegroup_convention(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_split_start_offset(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_enabled(filegroup_Ptr filegroup_hdl, bool *enabled)
void cxios_get_filegroup_comment(filegroup_Ptr filegroup_hdl, char *comment, int comment_size)
bool cxios_is_defined_filegroup_description(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_par_access(filegroup_Ptr filegroup_hdl, char *par_access, int par_access_size)
void cxios_get_filegroup_read_metadata_par(filegroup_Ptr filegroup_hdl, bool *read_metadata_par)
void cxios_get_filegroup_compression_level(filegroup_Ptr filegroup_hdl, int *compression_level)
void cxios_get_filegroup_time_counter(filegroup_Ptr filegroup_hdl, char *time_counter, int time_counter_size)
void cxios_get_filegroup_output_level(filegroup_Ptr filegroup_hdl, int *output_level)
bool cxios_is_defined_filegroup_split_last_date(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_group_ref(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_split_last_date(filegroup_Ptr filegroup_hdl, const char *split_last_date, int split_last_date_size)
bool cxios_is_defined_filegroup_output_freq(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_split_start_offset(filegroup_Ptr filegroup_hdl, cxios_duration split_start_offset_c)
void cxios_set_filegroup_time_counter_name(filegroup_Ptr filegroup_hdl, const char *time_counter_name, int time_counter_name_size)
void cxios_get_filegroup_time_stamp_format(filegroup_Ptr filegroup_hdl, char *time_stamp_format, int time_stamp_format_size)
void cxios_get_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl, char *split_freq_format, int split_freq_format_size)
bool string_copy(const std::string &str, char *cstr, int cstr_size)
void cxios_get_filegroup_group_ref(filegroup_Ptr filegroup_hdl, char *group_ref, int group_ref_size)
bool cxios_is_defined_filegroup_name_suffix(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_description(filegroup_Ptr filegroup_hdl, const char *description, int description_size)
void cxios_get_filegroup_cyclic(filegroup_Ptr filegroup_hdl, bool *cyclic)
bool cxios_is_defined_filegroup_convention_str(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_mode(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_name_suffix(filegroup_Ptr filegroup_hdl, char *name_suffix, int name_suffix_size)
bool cxios_is_defined_filegroup_format(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_uuid_format(filegroup_Ptr filegroup_hdl, char *uuid_format, int uuid_format_size)
bool cxios_is_defined_filegroup_time_stamp_name(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_time_stamp_name(filegroup_Ptr filegroup_hdl, char *time_stamp_name, int time_stamp_name_size)
void cxios_set_filegroup_type(filegroup_Ptr filegroup_hdl, const char *type, int type_size)
bool cxios_is_defined_filegroup_read_metadata_par(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_sync_freq(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_split_end_offset(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_par_access(filegroup_Ptr filegroup_hdl, const char *par_access, int par_access_size)
void cxios_set_filegroup_enabled(filegroup_Ptr filegroup_hdl, bool enabled)
void cxios_get_filegroup_name(filegroup_Ptr filegroup_hdl, char *name, int name_size)
void cxios_set_filegroup_record_offset(filegroup_Ptr filegroup_hdl, int record_offset)
void cxios_set_filegroup_timeseries(filegroup_Ptr filegroup_hdl, const char *timeseries, int timeseries_size)
void cxios_set_filegroup_time_counter(filegroup_Ptr filegroup_hdl, const char *time_counter, int time_counter_size)
void cxios_get_filegroup_time_units(filegroup_Ptr filegroup_hdl, char *time_units, int time_units_size)
void cxios_set_filegroup_cyclic(filegroup_Ptr filegroup_hdl, bool cyclic)
bool cxios_is_defined_filegroup_uuid_name(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_comment(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_cyclic(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_output_freq(filegroup_Ptr filegroup_hdl, cxios_duration output_freq_c)
bool cxios_is_defined_filegroup_name(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_sync_freq(filegroup_Ptr filegroup_hdl, cxios_duration *sync_freq_c)
bool cxios_is_defined_filegroup_output_level(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_min_digits(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl, const char *split_freq_format, int split_freq_format_size)
void cxios_get_filegroup_output_freq(filegroup_Ptr filegroup_hdl, cxios_duration *output_freq_c)
bool cxios_is_defined_filegroup_par_access(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_time_units(filegroup_Ptr filegroup_hdl, const char *time_units, int time_units_size)
void cxios_set_filegroup_uuid_name(filegroup_Ptr filegroup_hdl, const char *uuid_name, int uuid_name_size)
void cxios_set_filegroup_min_digits(filegroup_Ptr filegroup_hdl, int min_digits)
void cxios_get_filegroup_uuid_name(filegroup_Ptr filegroup_hdl, char *uuid_name, int uuid_name_size)
void cxios_set_filegroup_group_ref(filegroup_Ptr filegroup_hdl, const char *group_ref, int group_ref_size)
void cxios_get_filegroup_split_last_date(filegroup_Ptr filegroup_hdl, char *split_last_date, int split_last_date_size)
void cxios_set_filegroup_sync_freq(filegroup_Ptr filegroup_hdl, cxios_duration sync_freq_c)
bool cstr2string(const char *cstr, int cstr_size, std::string &str)
bool cxios_is_defined_filegroup_split_freq_format(filegroup_Ptr filegroup_hdl)
bool cxios_is_defined_filegroup_split_freq(filegroup_Ptr filegroup_hdl)
void cxios_get_filegroup_min_digits(filegroup_Ptr filegroup_hdl, int *min_digits)
void cxios_get_filegroup_record_offset(filegroup_Ptr filegroup_hdl, int *record_offset)
void cxios_set_filegroup_time_stamp_name(filegroup_Ptr filegroup_hdl, const char *time_stamp_name, int time_stamp_name_size)
void cxios_get_filegroup_type(filegroup_Ptr filegroup_hdl, char *type, int type_size)
bool cxios_is_defined_filegroup_uuid_format(filegroup_Ptr filegroup_hdl)
void cxios_set_filegroup_name(filegroup_Ptr filegroup_hdl, const char *name, int name_size)
void cxios_get_filegroup_ts_prefix(filegroup_Ptr filegroup_hdl, char *ts_prefix, int ts_prefix_size)
void cxios_get_filegroup_format(filegroup_Ptr filegroup_hdl, char *format, int format_size)
void cxios_get_filegroup_convention_str(filegroup_Ptr filegroup_hdl, char *convention_str, int convention_str_size)
void cxios_set_filegroup_read_metadata_par(filegroup_Ptr filegroup_hdl, bool read_metadata_par)
bool cxios_is_defined_filegroup_compression_level(filegroup_Ptr filegroup_hdl)