Returns the type enumerator of a \bt_fc.
*/
extern bt_field_class_type bt_field_get_class_type(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*! @} */
@sa bt_field_borrow_class_const() —
\c const version of this function.
*/
-extern bt_field_class *bt_field_borrow_class(bt_field *field);
+extern bt_field_class *bt_field_borrow_class(bt_field *field) __BT_NOEXCEPT;
/*!
@brief
See bt_field_borrow_class().
*/
extern const bt_field_class *bt_field_borrow_class_const(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*! @} */
@sa bt_field_bool_get_value() —
Returns the value of a boolean field.
*/
-extern void bt_field_bool_set_value(bt_field *field, bt_bool value);
+extern void bt_field_bool_set_value(bt_field *field, bt_bool value)
+ __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_bool_set_value() —
Sets the value of a boolean field.
*/
-extern bt_bool bt_field_bool_get_value(const bt_field *field);
+extern bt_bool bt_field_bool_get_value(const bt_field *field) __BT_NOEXCEPT;
/*! @} */
Returns the bits of a bit array field as an integer.
*/
extern void bt_field_bit_array_set_value_as_integer(bt_field *field,
- uint64_t bits);
+ uint64_t bits) __BT_NOEXCEPT;
/*!
@brief
Sets the bits of a bit array field from an integer.
*/
extern uint64_t bt_field_bit_array_get_value_as_integer(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*! @} */
Returns the value of an unsigned integer field.
*/
extern void bt_field_integer_unsigned_set_value(bt_field *field,
- uint64_t value);
+ uint64_t value) __BT_NOEXCEPT;
/*!
@brief
Sets the value of an unsigned integer field.
*/
extern uint64_t bt_field_integer_unsigned_get_value(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
Returns the value of an signed integer field.
*/
extern void bt_field_integer_signed_set_value(bt_field *field,
- int64_t value);
+ int64_t value) __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_integer_signed_set_value() —
Sets the value of an signed integer field.
*/
-extern int64_t bt_field_integer_signed_get_value(const bt_field *field);
+extern int64_t bt_field_integer_signed_get_value(
+ const bt_field *field) __BT_NOEXCEPT;
/*! @} */
extern bt_field_enumeration_get_mapping_labels_status
bt_field_enumeration_unsigned_get_mapping_labels(const bt_field *field,
bt_field_class_enumeration_mapping_label_array *labels,
- uint64_t *count);
+ uint64_t *count) __BT_NOEXCEPT;
/*!
@brief
extern bt_field_enumeration_get_mapping_labels_status
bt_field_enumeration_signed_get_mapping_labels(const bt_field *field,
bt_field_class_enumeration_mapping_label_array *labels,
- uint64_t *count);
+ uint64_t *count) __BT_NOEXCEPT;
/*! @} */
Returns the value of a single-precision real field.
*/
extern void bt_field_real_single_precision_set_value(bt_field *field,
- float value);
+ float value) __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_real_single_precision_set_value() —
Sets the value of a single-precision real field.
*/
-extern float bt_field_real_single_precision_get_value(const bt_field *field);
+extern float bt_field_real_single_precision_get_value(
+ const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
Returns the value of a double-precision real field.
*/
extern void bt_field_real_double_precision_set_value(bt_field *field,
- double value);
+ double value) __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_real_double_precision_set_value() —
Sets the value of a double-precision real field.
*/
-extern double bt_field_real_double_precision_get_value(const bt_field *field);
+extern double bt_field_real_double_precision_get_value(
+ const bt_field *field) __BT_NOEXCEPT;
/*! @} */
Clears a string field.
*/
extern bt_field_string_set_value_status bt_field_string_set_value(
- bt_field *field, const char *value);
+ bt_field *field, const char *value) __BT_NOEXCEPT;
/*!
@brief
@bt_pre_not_null{field}
@bt_pre_is_string_field{field}
*/
-extern uint64_t bt_field_string_get_length(const bt_field *field);
+extern uint64_t bt_field_string_get_length(const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_string_set_value() —
Sets the value of a string field.
*/
-extern const char *bt_field_string_get_value(const bt_field *field);
+extern const char *bt_field_string_get_value(
+ const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
Sets the value of a string field.
*/
extern bt_field_string_append_status bt_field_string_append(
- bt_field *field, const char *value);
+ bt_field *field, const char *value) __BT_NOEXCEPT;
/*!
@brief
Sets the value of a string field.
*/
extern bt_field_string_append_status bt_field_string_append_with_length(
- bt_field *field, const char *value, uint64_t length);
+ bt_field *field, const char *value, uint64_t length)
+ __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_string_set_value() —
Sets the value of a string field.
*/
-extern void bt_field_string_clear(bt_field *field);
+extern void bt_field_string_clear(bt_field *field) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{field}
@bt_pre_is_array_field{field}
*/
-extern uint64_t bt_field_array_get_length(const bt_field *field);
+extern uint64_t bt_field_array_get_length(const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
\c const version of this function.
*/
extern bt_field *bt_field_array_borrow_element_field_by_index(
- bt_field *field, uint64_t index);
+ bt_field *field, uint64_t index) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field *
bt_field_array_borrow_element_field_by_index_const(
- const bt_field *field, uint64_t index);
+ const bt_field *field, uint64_t index) __BT_NOEXCEPT;
/*!
@brief
@bt_pre_hot{field}
*/
extern bt_field_array_dynamic_set_length_status
-bt_field_array_dynamic_set_length(bt_field *field, uint64_t length);
+bt_field_array_dynamic_set_length(bt_field *field, uint64_t length)
+ __BT_NOEXCEPT;
/*! @} */
\c const version of this function.
*/
extern bt_field *bt_field_structure_borrow_member_field_by_index(
- bt_field *field, uint64_t index);
+ bt_field *field, uint64_t index) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field *
bt_field_structure_borrow_member_field_by_index_const(
- const bt_field *field, uint64_t index);
+ const bt_field *field, uint64_t index) __BT_NOEXCEPT;
/*!
@brief
\c const version of this function.
*/
extern bt_field *bt_field_structure_borrow_member_field_by_name(
- bt_field *field, const char *name);
+ bt_field *field, const char *name) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field *
bt_field_structure_borrow_member_field_by_name_const(
- const bt_field *field, const char *name);
+ const bt_field *field, const char *name) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{field}
@bt_pre_is_opt_field{field}
*/
-extern void bt_field_option_set_has_field(bt_field *field, bt_bool has_field);
+extern void bt_field_option_set_has_field(bt_field *field, bt_bool has_field)
+ __BT_NOEXCEPT;
/*!
@brief
@sa bt_field_option_borrow_field_const() —
\c const version of this function.
*/
-extern bt_field *bt_field_option_borrow_field(bt_field *field);
+extern bt_field *bt_field_option_borrow_field(bt_field *field) __BT_NOEXCEPT;
/*!
@brief
See bt_field_option_borrow_field().
*/
extern const bt_field *
-bt_field_option_borrow_field_const(const bt_field *field);
+bt_field_option_borrow_field_const(const bt_field *field) __BT_NOEXCEPT;
/*! @} */
*/
extern bt_field_variant_select_option_by_index_status
bt_field_variant_select_option_by_index(
- bt_field *field, uint64_t index);
+ bt_field *field, uint64_t index) __BT_NOEXCEPT;
/*!
@brief
\c const version of this function.
*/
extern bt_field *bt_field_variant_borrow_selected_option_field(
- bt_field *field);
+ bt_field *field) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field *
bt_field_variant_borrow_selected_option_field_const(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
Borrows the field of a variant field's selected option.
*/
extern uint64_t bt_field_variant_get_selected_option_index(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_option *
bt_field_variant_borrow_selected_option_class_const(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_with_selector_field_integer_unsigned_option *
bt_field_variant_with_selector_field_integer_unsigned_borrow_selected_option_class_const(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_field_class_variant_with_selector_field_integer_signed_option *
bt_field_variant_with_selector_field_integer_signed_borrow_selected_option_class_const(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
/*! @} */