given type.
*/
extern bt_field_class_type bt_field_class_get_type(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
*/
static inline
bt_bool bt_field_class_type_is(const bt_field_class_type type,
- const bt_field_class_type other_type)
+ const bt_field_class_type other_type) __BT_NOEXCEPT
{
return (type & other_type) == other_type;
}
Borrows the user attributes of a field class.
*/
extern void bt_field_class_set_user_attributes(
- bt_field_class *field_class, const bt_value *user_attributes);
+ bt_field_class *field_class,
+ const bt_value *user_attributes) __BT_NOEXCEPT;
/*!
@brief
\c const version of this function.
*/
extern bt_value *bt_field_class_borrow_user_attributes(
- bt_field_class *field_class);
+ bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
See bt_field_class_borrow_user_attributes().
*/
extern const bt_value *bt_field_class_borrow_user_attributes_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_bool_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*!
@}
0 < \bt_p{length} ≤ 64.
*/
extern bt_field_class *bt_field_class_bit_array_create(
- bt_trace_class *trace_class, uint64_t length);
+ bt_trace_class *trace_class, uint64_t length) __BT_NOEXCEPT;
/*!
@brief
@bt_pre_is_ba_fc{field_class}
*/
extern uint64_t bt_field_class_bit_array_get_length(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@}
Returns the field value range of an integer field class.
*/
extern void bt_field_class_integer_set_field_value_range(
- bt_field_class *field_class, uint64_t n);
+ bt_field_class *field_class, uint64_t n) __BT_NOEXCEPT;
/*!
@brief
Sets the field value range of an integer field class.
*/
extern uint64_t bt_field_class_integer_get_field_value_range(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
*/
extern void bt_field_class_integer_set_preferred_display_base(
bt_field_class *field_class,
- bt_field_class_integer_preferred_display_base preferred_display_base);
+ bt_field_class_integer_preferred_display_base preferred_display_base)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_field_class_integer_preferred_display_base
bt_field_class_integer_get_preferred_display_base(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_integer_unsigned_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_integer_signed_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_real_single_precision_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_real_double_precision_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*! @} */
@bt_pre_is_enum_fc{field_class}
*/
extern uint64_t bt_field_class_enumeration_get_mapping_count(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
@bt_pre_not_null{mapping}
*/
extern const char *bt_field_class_enumeration_mapping_get_label(
- const bt_field_class_enumeration_mapping *mapping);
+ const bt_field_class_enumeration_mapping *mapping)
+ __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_enumeration_unsigned_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*!
@brief
extern bt_field_class_enumeration_add_mapping_status
bt_field_class_enumeration_unsigned_add_mapping(
bt_field_class *field_class, const char *label,
- const bt_integer_range_set_unsigned *ranges);
+ const bt_integer_range_set_unsigned *ranges) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_enumeration_unsigned_mapping *
bt_field_class_enumeration_unsigned_borrow_mapping_by_index_const(
- const bt_field_class *field_class, uint64_t index);
+ const bt_field_class *field_class, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_enumeration_unsigned_mapping *
bt_field_class_enumeration_unsigned_borrow_mapping_by_label_const(
- const bt_field_class *field_class, const char *label);
+ const bt_field_class *field_class, const char *label)
+ __BT_NOEXCEPT;
/*!
@brief
bt_field_class_enumeration_unsigned_get_mapping_labels_for_value(
const bt_field_class *field_class, uint64_t value,
bt_field_class_enumeration_mapping_label_array *labels,
- uint64_t *count);
+ uint64_t *count) __BT_NOEXCEPT;
/*! @} */
*/
extern const bt_integer_range_set_unsigned *
bt_field_class_enumeration_unsigned_mapping_borrow_ranges_const(
- const bt_field_class_enumeration_unsigned_mapping *mapping);
+ const bt_field_class_enumeration_unsigned_mapping *mapping)
+ __BT_NOEXCEPT;
/*!
@brief
const bt_field_class_enumeration_mapping *
bt_field_class_enumeration_unsigned_mapping_as_mapping_const(
const bt_field_class_enumeration_unsigned_mapping *mapping)
+ __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_field_class_enumeration_mapping, mapping);
}
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_enumeration_signed_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*!
@brief
extern bt_field_class_enumeration_add_mapping_status
bt_field_class_enumeration_signed_add_mapping(
bt_field_class *field_class, const char *label,
- const bt_integer_range_set_signed *ranges);
+ const bt_integer_range_set_signed *ranges) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_enumeration_signed_mapping *
bt_field_class_enumeration_signed_borrow_mapping_by_index_const(
- const bt_field_class *field_class, uint64_t index);
+ const bt_field_class *field_class, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_enumeration_signed_mapping *
bt_field_class_enumeration_signed_borrow_mapping_by_label_const(
- const bt_field_class *field_class, const char *label);
+ const bt_field_class *field_class, const char *label)
+ __BT_NOEXCEPT;
/*!
@brief
bt_field_class_enumeration_signed_get_mapping_labels_for_value(
const bt_field_class *field_class, int64_t value,
bt_field_class_enumeration_mapping_label_array *labels,
- uint64_t *count);
+ uint64_t *count) __BT_NOEXCEPT;
/*! @} */
*/
extern const bt_integer_range_set_signed *
bt_field_class_enumeration_signed_mapping_borrow_ranges_const(
- const bt_field_class_enumeration_signed_mapping *mapping);
+ const bt_field_class_enumeration_signed_mapping *mapping)
+ __BT_NOEXCEPT;
/*!
@brief
const bt_field_class_enumeration_mapping *
bt_field_class_enumeration_signed_mapping_as_mapping_const(
const bt_field_class_enumeration_signed_mapping *mapping)
+ __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_field_class_enumeration_mapping, mapping);
}
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_string_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*! @} */
\c const version of this function.
*/
extern bt_field_class *bt_field_class_array_borrow_element_field_class(
- bt_field_class *field_class);
+ bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class *
bt_field_class_array_borrow_element_field_class_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
*/
extern bt_field_class *bt_field_class_array_static_create(
bt_trace_class *trace_class,
- bt_field_class *element_field_class, uint64_t length);
+ bt_field_class *element_field_class, uint64_t length)
+ __BT_NOEXCEPT;
/*!
@brief
@bt_pre_is_sarray_fc{field_class}
*/
extern uint64_t bt_field_class_array_static_get_length(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
extern bt_field_class *bt_field_class_array_dynamic_create(
bt_trace_class *trace_class,
bt_field_class *element_field_class,
- bt_field_class *length_field_class);
+ bt_field_class *length_field_class) __BT_NOEXCEPT;
/*! @} */
*/
extern const bt_field_path *
bt_field_class_array_dynamic_with_length_field_borrow_length_field_path_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{trace_class}
*/
extern bt_field_class *bt_field_class_structure_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_field_class_structure_append_member_status
bt_field_class_structure_append_member(
- bt_field_class *field_class,
- const char *name, bt_field_class *member_field_class);
+ bt_field_class *field_class,
+ const char *name, bt_field_class *member_field_class)
+ __BT_NOEXCEPT;
/*!
@brief
@bt_pre_is_struct_fc{field_class}
*/
extern uint64_t bt_field_class_structure_get_member_count(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_index(
- bt_field_class *field_class, uint64_t index);
+ bt_field_class *field_class, uint64_t index) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_index_const(
- const bt_field_class *field_class, uint64_t index);
+ const bt_field_class *field_class, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_name(
- bt_field_class *field_class, const char *name);
+ bt_field_class *field_class, const char *name) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_name_const(
- const bt_field_class *field_class, const char *name);
+ const bt_field_class *field_class, const char *name)
+ __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{member}
*/
extern const char *bt_field_class_structure_member_get_name(
- const bt_field_class_structure_member *member);
+ const bt_field_class_structure_member *member) __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_field_class *
bt_field_class_structure_member_borrow_field_class(
- bt_field_class_structure_member *member);
+ bt_field_class_structure_member *member) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class *
bt_field_class_structure_member_borrow_field_class_const(
- const bt_field_class_structure_member *member);
+ const bt_field_class_structure_member *member) __BT_NOEXCEPT;
/*!
@brief
Borrows the user attributes of a structure field class member.
*/
extern void bt_field_class_structure_member_set_user_attributes(
- bt_field_class_structure_member *member,
- const bt_value *user_attributes);
+ bt_field_class_structure_member *member,
+ const bt_value *user_attributes) __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_value *
bt_field_class_structure_member_borrow_user_attributes(
- bt_field_class_structure_member *member);
+ bt_field_class_structure_member *member) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_value *
bt_field_class_structure_member_borrow_user_attributes_const(
- const bt_field_class_structure_member *member);
+ const bt_field_class_structure_member *member) __BT_NOEXCEPT;
/*! @} */
\c const version of this function.
*/
extern bt_field_class *bt_field_class_option_borrow_field_class(
- bt_field_class *field_class);
+ bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class *
bt_field_class_option_borrow_field_class_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
*/
extern bt_field_class *bt_field_class_option_without_selector_create(
bt_trace_class *trace_class,
- bt_field_class *optional_field_class);
+ bt_field_class *optional_field_class) __BT_NOEXCEPT;
/*! @} */
*/
extern const bt_field_path *
bt_field_class_option_with_selector_field_borrow_selector_field_path_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
extern bt_field_class *bt_field_class_option_with_selector_field_bool_create(
bt_trace_class *trace_class,
bt_field_class *optional_field_class,
- bt_field_class *selector_field_class);
+ bt_field_class *selector_field_class) __BT_NOEXCEPT;
/*!
@brief
*/
extern void
bt_field_class_option_with_selector_field_bool_set_selector_is_reversed(
- bt_field_class *field_class, bt_bool selector_is_reversed);
+ bt_field_class *field_class, bt_bool selector_is_reversed)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_bool
bt_field_class_option_with_selector_field_bool_selector_is_reversed(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
bt_trace_class *trace_class,
bt_field_class *optional_field_class,
bt_field_class *selector_field_class,
- const bt_integer_range_set_unsigned *ranges);
+ const bt_integer_range_set_unsigned *ranges)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_integer_range_set_unsigned *
bt_field_class_option_with_selector_field_integer_unsigned_borrow_selector_ranges_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
bt_trace_class *trace_class,
bt_field_class *optional_field_class,
bt_field_class *selector_field_class,
- const bt_integer_range_set_signed *ranges);
+ const bt_integer_range_set_signed *ranges) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_integer_range_set_signed *
bt_field_class_option_with_selector_field_integer_signed_borrow_selector_ranges_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
*/
extern bt_field_class *bt_field_class_variant_create(
bt_trace_class *trace_class,
- bt_field_class *selector_field_class);
+ bt_field_class *selector_field_class) __BT_NOEXCEPT;
/*!
@brief
@bt_pre_is_var_fc{field_class}
*/
extern uint64_t bt_field_class_variant_get_option_count(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_index(
- bt_field_class *field_class, uint64_t index);
+ bt_field_class *field_class, uint64_t index) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_index_const(
- const bt_field_class *field_class, uint64_t index);
+ const bt_field_class *field_class, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_name(
- bt_field_class *field_class, const char *name);
+ bt_field_class *field_class, const char *name) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_name_const(
- const bt_field_class *field_class, const char *name);
+ const bt_field_class *field_class, const char *name)
+ __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{option}
*/
extern const char *bt_field_class_variant_option_get_name(
- const bt_field_class_variant_option *option);
+ const bt_field_class_variant_option *option) __BT_NOEXCEPT;
/*!
@brief
\c const version of this function.
*/
extern bt_field_class *bt_field_class_variant_option_borrow_field_class(
- bt_field_class_variant_option *option);
+ bt_field_class_variant_option *option) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class *
bt_field_class_variant_option_borrow_field_class_const(
- const bt_field_class_variant_option *option);
+ const bt_field_class_variant_option *option) __BT_NOEXCEPT;
/*!
@brief
*/
extern void bt_field_class_variant_option_set_user_attributes(
bt_field_class_variant_option *option,
- const bt_value *user_attributes);
+ const bt_value *user_attributes) __BT_NOEXCEPT;
/*!
@brief
\c const version of this function.
*/
extern bt_value *bt_field_class_variant_option_borrow_user_attributes(
- bt_field_class_variant_option *option);
+ bt_field_class_variant_option *option) __BT_NOEXCEPT;
/*!
@brief
See bt_field_class_variant_option_borrow_user_attributes().
*/
extern const bt_value *bt_field_class_variant_option_borrow_user_attributes_const(
- const bt_field_class_variant_option *option);
+ const bt_field_class_variant_option *option) __BT_NOEXCEPT;
/*! @} */
extern bt_field_class_variant_without_selector_append_option_status
bt_field_class_variant_without_selector_append_option(
bt_field_class *field_class, const char *name,
- bt_field_class *option_field_class);
+ bt_field_class *option_field_class) __BT_NOEXCEPT;
/*! @} */
*/
extern const bt_field_path *
bt_field_class_variant_with_selector_field_borrow_selector_field_path_const(
- const bt_field_class *field_class);
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*! @} */
bt_field_class_variant_with_selector_field_integer_unsigned_append_option(
bt_field_class *field_class, const char *name,
bt_field_class *option_field_class,
- const bt_integer_range_set_unsigned *ranges);
+ const bt_integer_range_set_unsigned *ranges) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_with_selector_field_integer_unsigned_option *
bt_field_class_variant_with_selector_field_integer_unsigned_borrow_option_by_index_const(
- const bt_field_class *field_class, uint64_t index);
+ const bt_field_class *field_class, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_with_selector_field_integer_unsigned_option *
bt_field_class_variant_with_selector_field_integer_unsigned_borrow_option_by_name_const(
- const bt_field_class *field_class, const char *name);
+ const bt_field_class *field_class, const char *name)
+ __BT_NOEXCEPT;
/*! @} */
*/
extern const bt_integer_range_set_unsigned *
bt_field_class_variant_with_selector_field_integer_unsigned_option_borrow_ranges_const(
- const bt_field_class_variant_with_selector_field_integer_unsigned_option *option);
+ const bt_field_class_variant_with_selector_field_integer_unsigned_option *option)
+ __BT_NOEXCEPT;
/*!
@brief
const bt_field_class_variant_option *
bt_field_class_variant_with_selector_field_integer_unsigned_option_as_option_const(
const bt_field_class_variant_with_selector_field_integer_unsigned_option *option)
+ __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_field_class_variant_option, option);
}
bt_field_class_variant_with_selector_field_integer_signed_append_option(
bt_field_class *field_class, const char *name,
bt_field_class *option_field_class,
- const bt_integer_range_set_signed *ranges);
+ const bt_integer_range_set_signed *ranges)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_with_selector_field_integer_signed_option *
bt_field_class_variant_with_selector_field_integer_signed_borrow_option_by_index_const(
- const bt_field_class *field_class, uint64_t index);
+ const bt_field_class *field_class, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_with_selector_field_integer_signed_option *
bt_field_class_variant_with_selector_field_integer_signed_borrow_option_by_name_const(
- const bt_field_class *field_class, const char *name);
+ const bt_field_class *field_class, const char *name)
+ __BT_NOEXCEPT;
/*! @} */
*/
extern const bt_integer_range_set_signed *
bt_field_class_variant_with_selector_field_integer_signed_option_borrow_ranges_const(
- const bt_field_class_variant_with_selector_field_integer_signed_option *option);
+ const bt_field_class_variant_with_selector_field_integer_signed_option *option)
+ __BT_NOEXCEPT;
/*!
@brief
const bt_field_class_variant_option *
bt_field_class_variant_with_selector_field_integer_signed_option_as_option_const(
const bt_field_class_variant_with_selector_field_integer_signed_option *option)
+ __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_field_class_variant_option, option);
}
@sa bt_field_class_put_ref() —
Decrements the reference count of a field class.
*/
-extern void bt_field_class_get_ref(const bt_field_class *field_class);
+extern void bt_field_class_get_ref(
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_class_get_ref() —
Increments the reference count of a field class.
*/
-extern void bt_field_class_put_ref(const bt_field_class *field_class);
+extern void bt_field_class_put_ref(
+ const bt_field_class *field_class) __BT_NOEXCEPT;
/*!
@brief