This patch adds the `noexcept` specifier to all the public functions
when building with C++11 and above.
This is similar to what glibc does (from `/usr/include/sys/cdefs.h`):
# if __cplusplus >= 201103L
# define __THROW noexcept (true)
# else
# define __THROW throw ()
# endif
and then, for example (`/usr/include/string.h`):
/* Return the length of S. */
extern size_t strlen (const char *__s)
__THROW __attribute_pure__ __nonnull ((1));
Indeed, none of our functions throw, ever, including user callbacks,
because the library always expects them to return some value (doesn't
catch, in other words).
This brings an improvement to a `noexcept` function calling a
libbabeltrace2 function. For example, consider this simple case:
uint64_t get_cs_value(const bt_clock_snapshot * const opt_cs) noexcept
{
return bt_clock_snapshot_get_value(opt_cs);
}
When bt_clock_snapshot_get_value() isn't `noexcept`, we get (`-O2`):
get_cs_value(bt_clock_snapshot const*):
sub rsp, 8
call bt_clock_snapshot_get_value
add rsp, 8
ret
With `noexcept`:
get_cs_value(bt_clock_snapshot const*):
jmp bt_clock_snapshot_get_value
In other words, without this patch, there's some stack adjustment to
prepare for a possible exception when you're already in `noexcept` mode.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I0712eab48de93344159b7b7344f28b940ed81712
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11442
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
38 files changed:
#define __BT_ATTR_FORMAT_PRINTF(_string_index, _first_to_check) \
__attribute__((format(__BT_PRINTF_FORMAT, _string_index, _first_to_check)))
#define __BT_ATTR_FORMAT_PRINTF(_string_index, _first_to_check) \
__attribute__((format(__BT_PRINTF_FORMAT, _string_index, _first_to_check)))
+/* Internal: `noexcept` specifier if C++ ≥ 11 */
+#if defined(__cplusplus) && (__cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1900))
+# define __BT_NOEXCEPT noexcept
+#else
+# define __BT_NOEXCEPT
+#endif
+
#include <babeltrace2/error-reporting.h>
#include <babeltrace2/graph/component-class-dev.h>
#include <babeltrace2/graph/component-class.h>
#include <babeltrace2/error-reporting.h>
#include <babeltrace2/graph/component-class-dev.h>
#include <babeltrace2/graph/component-class.h>
#undef __BT_LOGGING_LEVEL_ERROR
#undef __BT_LOGGING_LEVEL_FATAL
#undef __BT_LOGGING_LEVEL_NONE
#undef __BT_LOGGING_LEVEL_ERROR
#undef __BT_LOGGING_LEVEL_FATAL
#undef __BT_LOGGING_LEVEL_NONE
#endif /* BABELTRACE2_BABELTRACE_H */
#endif /* BABELTRACE2_BABELTRACE_H */
Moves an error's ownership to the library.
*/
extern
Moves an error's ownership to the library.
*/
extern
-const bt_error *bt_current_thread_take_error(void);
+const bt_error *bt_current_thread_take_error(void) __BT_NOEXCEPT;
Calls this function and assigns \c NULL to the expression.
*/
extern
Calls this function and assigns \c NULL to the expression.
*/
extern
-void bt_current_thread_move_error(const bt_error *error);
+void bt_current_thread_move_error(const bt_error *error) __BT_NOEXCEPT;
library to the caller.
*/
extern
library to the caller.
*/
extern
-void bt_current_thread_clear_error(void);
+void bt_current_thread_clear_error(void) __BT_NOEXCEPT;
bt_current_thread_error_append_cause_status
bt_current_thread_error_append_cause_from_component(
bt_self_component *self_component, const char *file_name,
bt_current_thread_error_append_cause_status
bt_current_thread_error_append_cause_from_component(
bt_self_component *self_component, const char *file_name,
- uint64_t line_number, const char *message_format, ...);
+ uint64_t line_number,
+ const char *message_format, ...) __BT_NOEXCEPT;
bt_current_thread_error_append_cause_from_message_iterator(
bt_self_message_iterator *self_message_iterator,
const char *file_name, uint64_t line_number,
bt_current_thread_error_append_cause_from_message_iterator(
bt_self_message_iterator *self_message_iterator,
const char *file_name, uint64_t line_number,
- const char *message_format, ...);
+ const char *message_format, ...) __BT_NOEXCEPT;
bt_current_thread_error_append_cause_from_component_class(
bt_self_component_class *self_component_class,
const char *file_name, uint64_t line_number,
bt_current_thread_error_append_cause_from_component_class(
bt_self_component_class *self_component_class,
const char *file_name, uint64_t line_number,
- const char *message_format, ...);
+ const char *message_format, ...) __BT_NOEXCEPT;
bt_current_thread_error_append_cause_status
bt_current_thread_error_append_cause_from_unknown(
const char *module_name, const char *file_name,
bt_current_thread_error_append_cause_status
bt_current_thread_error_append_cause_from_unknown(
const char *module_name, const char *file_name,
- uint64_t line_number, const char *message_format, ...);
+ uint64_t line_number,
+ const char *message_format, ...) __BT_NOEXCEPT;
@bt_pre_not_null{error}
*/
extern
@bt_pre_not_null{error}
*/
extern
-uint64_t bt_error_get_cause_count(const bt_error *error);
+uint64_t bt_error_get_cause_count(const bt_error *error) __BT_NOEXCEPT;
*/
extern
const bt_error_cause *bt_error_borrow_cause_by_index(
*/
extern
const bt_error_cause *bt_error_borrow_cause_by_index(
- const bt_error *error, uint64_t index);
+ const bt_error *error, uint64_t index) __BT_NOEXCEPT;
Moves an error's ownership to the library.
*/
extern
Moves an error's ownership to the library.
*/
extern
-void bt_error_release(const bt_error *error);
+void bt_error_release(const bt_error *error) __BT_NOEXCEPT;
*/
extern
bt_error_cause_actor_type bt_error_cause_get_actor_type(
*/
extern
bt_error_cause_actor_type bt_error_cause_get_actor_type(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
@bt_pre_not_null{error_cause}
*/
extern
@bt_pre_not_null{error_cause}
*/
extern
-const char *bt_error_cause_get_message(const bt_error_cause *error_cause);
+const char *bt_error_cause_get_message(
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
@bt_pre_not_null{error_cause}
*/
extern
@bt_pre_not_null{error_cause}
*/
extern
-const char *bt_error_cause_get_module_name(const bt_error_cause *error_cause);
+const char *bt_error_cause_get_module_name(
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
@bt_pre_not_null{error_cause}
*/
extern
@bt_pre_not_null{error_cause}
*/
extern
-const char *bt_error_cause_get_file_name(const bt_error_cause *error_cause);
+const char *bt_error_cause_get_file_name(
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
@bt_pre_not_null{error_cause}
*/
extern
@bt_pre_not_null{error_cause}
*/
extern
-uint64_t bt_error_cause_get_line_number(const bt_error_cause *error_cause);
+uint64_t bt_error_cause_get_line_number(
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_component_actor_get_component_name(
*/
extern
const char *bt_error_cause_component_actor_get_component_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
bt_component_class_type bt_error_cause_component_actor_get_component_class_type(
*/
extern
bt_component_class_type bt_error_cause_component_actor_get_component_class_type(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_component_actor_get_component_class_name(
*/
extern
const char *bt_error_cause_component_actor_get_component_class_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_component_actor_get_plugin_name(
*/
extern
const char *bt_error_cause_component_actor_get_plugin_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_message_iterator_actor_get_component_output_port_name(
*/
extern
const char *bt_error_cause_message_iterator_actor_get_component_output_port_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_message_iterator_actor_get_component_name(
*/
extern
const char *bt_error_cause_message_iterator_actor_get_component_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
extern
bt_component_class_type
bt_error_cause_message_iterator_actor_get_component_class_type(
extern
bt_component_class_type
bt_error_cause_message_iterator_actor_get_component_class_type(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_message_iterator_actor_get_component_class_name(
*/
extern
const char *bt_error_cause_message_iterator_actor_get_component_class_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_message_iterator_actor_get_plugin_name(
*/
extern
const char *bt_error_cause_message_iterator_actor_get_plugin_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
extern
bt_component_class_type
bt_error_cause_component_class_actor_get_component_class_type(
extern
bt_component_class_type
bt_error_cause_component_class_actor_get_component_class_type(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_component_class_actor_get_component_class_name(
*/
extern
const char *bt_error_cause_component_class_actor_get_component_class_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
*/
extern
const char *bt_error_cause_component_class_actor_get_plugin_name(
*/
extern
const char *bt_error_cause_component_class_actor_get_plugin_name(
- const bt_error_cause *error_cause);
+ const bt_error_cause *error_cause) __BT_NOEXCEPT;
extern
bt_component_class_source *bt_component_class_source_create(
const char *name,
extern
bt_component_class_source *bt_component_class_source_create(
const char *name,
- bt_message_iterator_class *message_iterator_class);
+ bt_message_iterator_class *message_iterator_class)
+ __BT_NOEXCEPT;
extern
bt_component_class_filter *bt_component_class_filter_create(
const char *name,
extern
bt_component_class_filter *bt_component_class_filter_create(
const char *name,
- bt_message_iterator_class *message_iterator_class);
+ bt_message_iterator_class *message_iterator_class)
+ __BT_NOEXCEPT;
extern
bt_component_class_sink *bt_component_class_sink_create(
const char *name,
extern
bt_component_class_sink *bt_component_class_sink_create(
const char *name,
- bt_component_class_sink_consume_method consume_method);
+ bt_component_class_sink_consume_method consume_method)
+ __BT_NOEXCEPT;
*/
extern bt_component_class_set_description_status
bt_component_class_set_description(bt_component_class *component_class,
*/
extern bt_component_class_set_description_status
bt_component_class_set_description(bt_component_class *component_class,
- const char *description);
+ const char *description) __BT_NOEXCEPT;
*/
extern bt_component_class_set_help_status bt_component_class_set_help(
bt_component_class *component_class,
*/
extern bt_component_class_set_help_status bt_component_class_set_help(
bt_component_class *component_class,
- const char *help_text);
+ const char *help_text) __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_source_set_finalize_method(
bt_component_class_source *component_class,
extern bt_component_class_set_method_status
bt_component_class_source_set_finalize_method(
bt_component_class_source *component_class,
- bt_component_class_source_finalize_method method);
+ bt_component_class_source_finalize_method method) __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_filter_set_finalize_method(
bt_component_class_filter *component_class,
extern bt_component_class_set_method_status
bt_component_class_filter_set_finalize_method(
bt_component_class_filter *component_class,
- bt_component_class_filter_finalize_method method);
+ bt_component_class_filter_finalize_method method) __BT_NOEXCEPT;
bt_component_class_set_method_status
bt_component_class_sink_set_finalize_method(
bt_component_class_sink *component_class,
bt_component_class_set_method_status
bt_component_class_sink_set_finalize_method(
bt_component_class_sink *component_class,
- bt_component_class_sink_finalize_method method);
+ bt_component_class_sink_finalize_method method) __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_source_set_get_supported_mip_versions_method(
bt_component_class_source *component_class,
extern bt_component_class_set_method_status
bt_component_class_source_set_get_supported_mip_versions_method(
bt_component_class_source *component_class,
- bt_component_class_source_get_supported_mip_versions_method method);
+ bt_component_class_source_get_supported_mip_versions_method method)
+ __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_filter_set_get_supported_mip_versions_method(
bt_component_class_filter *component_class,
extern bt_component_class_set_method_status
bt_component_class_filter_set_get_supported_mip_versions_method(
bt_component_class_filter *component_class,
- bt_component_class_filter_get_supported_mip_versions_method method);
+ bt_component_class_filter_get_supported_mip_versions_method method)
+ __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_sink_set_get_supported_mip_versions_method(
bt_component_class_sink *component_class,
extern bt_component_class_set_method_status
bt_component_class_sink_set_get_supported_mip_versions_method(
bt_component_class_sink *component_class,
- bt_component_class_sink_get_supported_mip_versions_method method);
+ bt_component_class_sink_get_supported_mip_versions_method method)
+ __BT_NOEXCEPT;
bt_component_class_set_method_status
bt_component_class_sink_set_graph_is_configured_method(
bt_component_class_sink *component_class,
bt_component_class_set_method_status
bt_component_class_sink_set_graph_is_configured_method(
bt_component_class_sink *component_class,
- bt_component_class_sink_graph_is_configured_method method);
+ bt_component_class_sink_graph_is_configured_method method)
+ __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_source_set_initialize_method(
bt_component_class_source *component_class,
extern bt_component_class_set_method_status
bt_component_class_source_set_initialize_method(
bt_component_class_source *component_class,
- bt_component_class_source_initialize_method method);
+ bt_component_class_source_initialize_method method)
+ __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_filter_set_initialize_method(
bt_component_class_filter *component_class,
extern bt_component_class_set_method_status
bt_component_class_filter_set_initialize_method(
bt_component_class_filter *component_class,
- bt_component_class_filter_initialize_method method);
+ bt_component_class_filter_initialize_method method)
+ __BT_NOEXCEPT;
bt_component_class_set_method_status
bt_component_class_sink_set_initialize_method(
bt_component_class_sink *component_class,
bt_component_class_set_method_status
bt_component_class_sink_set_initialize_method(
bt_component_class_sink *component_class,
- bt_component_class_sink_initialize_method method);
+ bt_component_class_sink_initialize_method method) __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_source_set_output_port_connected_method(
bt_component_class_source *component_class,
extern bt_component_class_set_method_status
bt_component_class_source_set_output_port_connected_method(
bt_component_class_source *component_class,
- bt_component_class_source_output_port_connected_method method);
+ bt_component_class_source_output_port_connected_method method)
+ __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_filter_set_input_port_connected_method(
bt_component_class_filter *component_class,
extern bt_component_class_set_method_status
bt_component_class_filter_set_input_port_connected_method(
bt_component_class_filter *component_class,
- bt_component_class_filter_input_port_connected_method method);
+ bt_component_class_filter_input_port_connected_method method)
+ __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_filter_set_output_port_connected_method(
bt_component_class_filter *component_class,
extern bt_component_class_set_method_status
bt_component_class_filter_set_output_port_connected_method(
bt_component_class_filter *component_class,
- bt_component_class_filter_output_port_connected_method method);
+ bt_component_class_filter_output_port_connected_method method)
+ __BT_NOEXCEPT;
bt_component_class_set_method_status
bt_component_class_sink_set_input_port_connected_method(
bt_component_class_sink *component_class,
bt_component_class_set_method_status
bt_component_class_sink_set_input_port_connected_method(
bt_component_class_sink *component_class,
- bt_component_class_sink_input_port_connected_method method);
+ bt_component_class_sink_input_port_connected_method method)
+ __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_source_set_query_method(
bt_component_class_source *component_class,
extern bt_component_class_set_method_status
bt_component_class_source_set_query_method(
bt_component_class_source *component_class,
- bt_component_class_source_query_method method);
+ bt_component_class_source_query_method method) __BT_NOEXCEPT;
extern bt_component_class_set_method_status
bt_component_class_filter_set_query_method(
bt_component_class_filter *component_class,
extern bt_component_class_set_method_status
bt_component_class_filter_set_query_method(
bt_component_class_filter *component_class,
- bt_component_class_filter_query_method method);
+ bt_component_class_filter_query_method method) __BT_NOEXCEPT;
bt_component_class_set_method_status
bt_component_class_sink_set_query_method(
bt_component_class_sink *component_class,
bt_component_class_set_method_status
bt_component_class_sink_set_query_method(
bt_component_class_sink *component_class,
- bt_component_class_sink_query_method method);
+ bt_component_class_sink_query_method method) __BT_NOEXCEPT;
*/
static inline
bt_component_class *bt_component_class_source_as_component_class(
*/
static inline
bt_component_class *bt_component_class_source_as_component_class(
- bt_component_class_source *component_class)
+ bt_component_class_source *component_class) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_component_class, component_class);
}
{
return __BT_UPCAST(bt_component_class, component_class);
}
*/
static inline
bt_component_class *bt_component_class_filter_as_component_class(
*/
static inline
bt_component_class *bt_component_class_filter_as_component_class(
- bt_component_class_filter *component_class)
+ bt_component_class_filter *component_class) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_component_class, component_class);
}
{
return __BT_UPCAST(bt_component_class, component_class);
}
*/
static inline
bt_component_class *bt_component_class_sink_as_component_class(
*/
static inline
bt_component_class *bt_component_class_sink_as_component_class(
- bt_component_class_sink *component_class)
+ bt_component_class_sink *component_class) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_component_class, component_class);
}
{
return __BT_UPCAST(bt_component_class, component_class);
}
Returns whether or not a component class is a \bt_sink_comp_cls.
*/
extern bt_component_class_type bt_component_class_get_type(
Returns whether or not a component class is a \bt_sink_comp_cls.
*/
extern bt_component_class_type bt_component_class_get_type(
- const bt_component_class *component_class);
+ const bt_component_class *component_class) __BT_NOEXCEPT;
*/
static inline
bt_bool bt_component_class_is_source(
*/
static inline
bt_bool bt_component_class_is_source(
- const bt_component_class *component_class)
+ const bt_component_class *component_class) __BT_NOEXCEPT
{
return bt_component_class_get_type(component_class) ==
BT_COMPONENT_CLASS_TYPE_SOURCE;
{
return bt_component_class_get_type(component_class) ==
BT_COMPONENT_CLASS_TYPE_SOURCE;
*/
static inline
bt_bool bt_component_class_is_filter(
*/
static inline
bt_bool bt_component_class_is_filter(
- const bt_component_class *component_class)
+ const bt_component_class *component_class) __BT_NOEXCEPT
{
return bt_component_class_get_type(component_class) ==
BT_COMPONENT_CLASS_TYPE_FILTER;
{
return bt_component_class_get_type(component_class) ==
BT_COMPONENT_CLASS_TYPE_FILTER;
*/
static inline
bt_bool bt_component_class_is_sink(
*/
static inline
bt_bool bt_component_class_is_sink(
- const bt_component_class *component_class)
+ const bt_component_class *component_class) __BT_NOEXCEPT
{
return bt_component_class_get_type(component_class) ==
BT_COMPONENT_CLASS_TYPE_SINK;
{
return bt_component_class_get_type(component_class) ==
BT_COMPONENT_CLASS_TYPE_SINK;
@bt_pre_not_null{component_class}
*/
extern const char *bt_component_class_get_name(
@bt_pre_not_null{component_class}
*/
extern const char *bt_component_class_get_name(
- const bt_component_class *component_class);
+ const bt_component_class *component_class) __BT_NOEXCEPT;
@bt_pre_not_null{component_class}
*/
extern const char *bt_component_class_get_description(
@bt_pre_not_null{component_class}
*/
extern const char *bt_component_class_get_description(
- const bt_component_class *component_class);
+ const bt_component_class *component_class) __BT_NOEXCEPT;
@bt_pre_not_null{component_class}
*/
extern const char *bt_component_class_get_help(
@bt_pre_not_null{component_class}
*/
extern const char *bt_component_class_get_help(
- const bt_component_class *component_class);
+ const bt_component_class *component_class) __BT_NOEXCEPT;
Decrements the reference count of a component class.
*/
extern void bt_component_class_get_ref(
Decrements the reference count of a component class.
*/
extern void bt_component_class_get_ref(
- const bt_component_class *component_class);
+ const bt_component_class *component_class) __BT_NOEXCEPT;
Increments the reference count of a component class.
*/
extern void bt_component_class_put_ref(
Increments the reference count of a component class.
*/
extern void bt_component_class_put_ref(
- const bt_component_class *component_class);
+ const bt_component_class *component_class) __BT_NOEXCEPT;
static inline
const bt_component_class *
bt_component_class_source_as_component_class_const(
static inline
const bt_component_class *
bt_component_class_source_as_component_class_const(
- const bt_component_class_source *component_class)
+ const bt_component_class_source *component_class) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component_class, component_class);
}
{
return __BT_UPCAST_CONST(bt_component_class, component_class);
}
Decrements the reference count of a source component class.
*/
extern void bt_component_class_source_get_ref(
Decrements the reference count of a source component class.
*/
extern void bt_component_class_source_get_ref(
- const bt_component_class_source *component_class);
+ const bt_component_class_source *component_class) __BT_NOEXCEPT;
Increments the reference count of a source component class.
*/
extern void bt_component_class_source_put_ref(
Increments the reference count of a source component class.
*/
extern void bt_component_class_source_put_ref(
- const bt_component_class_source *component_class);
+ const bt_component_class_source *component_class) __BT_NOEXCEPT;
static inline
const bt_component_class *
bt_component_class_filter_as_component_class_const(
static inline
const bt_component_class *
bt_component_class_filter_as_component_class_const(
- const bt_component_class_filter *component_class)
+ const bt_component_class_filter *component_class) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component_class, component_class);
}
{
return __BT_UPCAST_CONST(bt_component_class, component_class);
}
Decrements the reference count of a filter component class.
*/
extern void bt_component_class_filter_get_ref(
Decrements the reference count of a filter component class.
*/
extern void bt_component_class_filter_get_ref(
- const bt_component_class_filter *component_class);
+ const bt_component_class_filter *component_class) __BT_NOEXCEPT;
Increments the reference count of a filter component class.
*/
extern void bt_component_class_filter_put_ref(
Increments the reference count of a filter component class.
*/
extern void bt_component_class_filter_put_ref(
- const bt_component_class_filter *component_class);
+ const bt_component_class_filter *component_class) __BT_NOEXCEPT;
static inline
const bt_component_class *
bt_component_class_sink_as_component_class_const(
static inline
const bt_component_class *
bt_component_class_sink_as_component_class_const(
- const bt_component_class_sink *component_class)
+ const bt_component_class_sink *component_class) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component_class, component_class);
}
{
return __BT_UPCAST_CONST(bt_component_class, component_class);
}
Decrements the reference count of a sink component class.
*/
extern void bt_component_class_sink_get_ref(
Decrements the reference count of a sink component class.
*/
extern void bt_component_class_sink_get_ref(
- const bt_component_class_sink *component_class);
+ const bt_component_class_sink *component_class) __BT_NOEXCEPT;
Increments the reference count of a sink component class.
*/
extern void bt_component_class_sink_put_ref(
Increments the reference count of a sink component class.
*/
extern void bt_component_class_sink_put_ref(
- const bt_component_class_sink *component_class);
+ const bt_component_class_sink *component_class) __BT_NOEXCEPT;
@returns
New component descriptor set reference, or \c NULL on memory error.
*/
@returns
New component descriptor set reference, or \c NULL on memory error.
*/
-extern bt_component_descriptor_set *bt_component_descriptor_set_create(void);
+extern bt_component_descriptor_set *bt_component_descriptor_set_create(void)
+ __BT_NOEXCEPT;
bt_component_descriptor_set_add_descriptor(
bt_component_descriptor_set *component_descriptor_set,
const bt_component_class *component_class,
bt_component_descriptor_set_add_descriptor(
bt_component_descriptor_set *component_descriptor_set,
const bt_component_class *component_class,
- const bt_value *params);
+ const bt_value *params) __BT_NOEXCEPT;
bt_component_descriptor_set_add_descriptor_with_initialize_method_data(
bt_component_descriptor_set *component_descriptor_set,
const bt_component_class *component_class,
bt_component_descriptor_set_add_descriptor_with_initialize_method_data(
bt_component_descriptor_set *component_descriptor_set,
const bt_component_class *component_class,
- const bt_value *params, void *initialize_method_data);
+ const bt_value *params,
+ void *initialize_method_data) __BT_NOEXCEPT;
Decrements the reference count of a component descriptor set.
*/
extern void bt_component_descriptor_set_get_ref(
Decrements the reference count of a component descriptor set.
*/
extern void bt_component_descriptor_set_get_ref(
- const bt_component_descriptor_set *component_descriptor_set);
+ const bt_component_descriptor_set *component_descriptor_set)
+ __BT_NOEXCEPT;
Increments the reference count of a component descriptor set.
*/
extern void bt_component_descriptor_set_put_ref(
Increments the reference count of a component descriptor set.
*/
extern void bt_component_descriptor_set_put_ref(
- const bt_component_descriptor_set *component_descriptor_set);
+ const bt_component_descriptor_set *component_descriptor_set)
+ __BT_NOEXCEPT;
Returns whether or not a component is a \bt_sink_comp.
*/
extern bt_component_class_type bt_component_get_class_type(
Returns whether or not a component is a \bt_sink_comp.
*/
extern bt_component_class_type bt_component_get_class_type(
- const bt_component *component);
+ const bt_component *component) __BT_NOEXCEPT;
Returns the type enumerator of a component's class.
*/
static inline
Returns the type enumerator of a component's class.
*/
static inline
-bt_bool bt_component_is_source(const bt_component *component)
+bt_bool bt_component_is_source(const bt_component *component) __BT_NOEXCEPT
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_SOURCE;
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_SOURCE;
Returns the type enumerator of a component's class.
*/
static inline
Returns the type enumerator of a component's class.
*/
static inline
-bt_bool bt_component_is_filter(const bt_component *component)
+bt_bool bt_component_is_filter(const bt_component *component) __BT_NOEXCEPT
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_FILTER;
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_FILTER;
Returns the type enumerator of a component's class.
*/
static inline
Returns the type enumerator of a component's class.
*/
static inline
-bt_bool bt_component_is_sink(const bt_component *component)
+bt_bool bt_component_is_sink(const bt_component *component) __BT_NOEXCEPT
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_SINK;
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_SINK;
@bt_pre_not_null{component}
*/
extern const bt_component_class *bt_component_borrow_class_const(
@bt_pre_not_null{component}
*/
extern const bt_component_class *bt_component_borrow_class_const(
- const bt_component *component);
+ const bt_component *component) __BT_NOEXCEPT;
@bt_pre_not_null{component}
*/
@bt_pre_not_null{component}
*/
-extern const char *bt_component_get_name(const bt_component *component);
+extern const char *bt_component_get_name(const bt_component *component)
+ __BT_NOEXCEPT;
@bt_pre_not_null{component}
*/
extern bt_logging_level bt_component_get_logging_level(
@bt_pre_not_null{component}
*/
extern bt_logging_level bt_component_get_logging_level(
- const bt_component *component);
+ const bt_component *component) __BT_NOEXCEPT;
@sa bt_component_put_ref() —
Decrements the reference count of a component.
*/
@sa bt_component_put_ref() —
Decrements the reference count of a component.
*/
-extern void bt_component_get_ref(const bt_component *component);
+extern void bt_component_get_ref(const bt_component *component) __BT_NOEXCEPT;
@sa bt_component_get_ref() —
Increments the reference count of a component.
*/
@sa bt_component_get_ref() —
Increments the reference count of a component.
*/
-extern void bt_component_put_ref(const bt_component *component);
+extern void bt_component_put_ref(const bt_component *component) __BT_NOEXCEPT;
*/
extern const bt_component_class_source *
bt_component_source_borrow_class_const(
*/
extern const bt_component_class_source *
bt_component_source_borrow_class_const(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
*/
static inline
const bt_component *bt_component_source_as_component_const(
*/
static inline
const bt_component *bt_component_source_as_component_const(
- const bt_component_source *component)
+ const bt_component_source *component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component, component);
}
{
return __BT_UPCAST_CONST(bt_component, component);
}
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_source_get_output_port_count(
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_source_get_output_port_count(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
*/
extern const bt_port_output *
bt_component_source_borrow_output_port_by_index_const(
*/
extern const bt_port_output *
bt_component_source_borrow_output_port_by_index_const(
- const bt_component_source *component, uint64_t index);
+ const bt_component_source *component,
+ uint64_t index) __BT_NOEXCEPT;
*/
extern const bt_port_output *
bt_component_source_borrow_output_port_by_name_const(
*/
extern const bt_port_output *
bt_component_source_borrow_output_port_by_name_const(
- const bt_component_source *component, const char *name);
+ const bt_component_source *component,
+ const char *name) __BT_NOEXCEPT;
Decrements the reference count of a source component.
*/
extern void bt_component_source_get_ref(
Decrements the reference count of a source component.
*/
extern void bt_component_source_get_ref(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
Increments the reference count of a source component.
*/
extern void bt_component_source_put_ref(
Increments the reference count of a source component.
*/
extern void bt_component_source_put_ref(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
*/
extern const bt_component_class_filter *
bt_component_filter_borrow_class_const(
*/
extern const bt_component_class_filter *
bt_component_filter_borrow_class_const(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
*/
static inline
const bt_component *bt_component_filter_as_component_const(
*/
static inline
const bt_component *bt_component_filter_as_component_const(
- const bt_component_filter *component)
+ const bt_component_filter *component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component, component);
}
{
return __BT_UPCAST_CONST(bt_component, component);
}
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_filter_get_input_port_count(
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_filter_get_input_port_count(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
*/
extern const bt_port_input *
bt_component_filter_borrow_input_port_by_index_const(
*/
extern const bt_port_input *
bt_component_filter_borrow_input_port_by_index_const(
- const bt_component_filter *component, uint64_t index);
+ const bt_component_filter *component, uint64_t index)
+ __BT_NOEXCEPT;
*/
extern const bt_port_input *
bt_component_filter_borrow_input_port_by_name_const(
*/
extern const bt_port_input *
bt_component_filter_borrow_input_port_by_name_const(
- const bt_component_filter *component, const char *name);
+ const bt_component_filter *component, const char *name)
+ __BT_NOEXCEPT;
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_filter_get_output_port_count(
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_filter_get_output_port_count(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
*/
extern const bt_port_output *
bt_component_filter_borrow_output_port_by_index_const(
*/
extern const bt_port_output *
bt_component_filter_borrow_output_port_by_index_const(
- const bt_component_filter *component, uint64_t index);
+ const bt_component_filter *component, uint64_t index)
+ __BT_NOEXCEPT;
*/
extern const bt_port_output *
bt_component_filter_borrow_output_port_by_name_const(
*/
extern const bt_port_output *
bt_component_filter_borrow_output_port_by_name_const(
- const bt_component_filter *component, const char *name);
+ const bt_component_filter *component, const char *name)
+ __BT_NOEXCEPT;
Decrements the reference count of a filter component.
*/
extern void bt_component_filter_get_ref(
Decrements the reference count of a filter component.
*/
extern void bt_component_filter_get_ref(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
Increments the reference count of a filter component.
*/
extern void bt_component_filter_put_ref(
Increments the reference count of a filter component.
*/
extern void bt_component_filter_put_ref(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
*/
extern const bt_component_class_sink *
bt_component_sink_borrow_class_const(
*/
extern const bt_component_class_sink *
bt_component_sink_borrow_class_const(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
*/
static inline
const bt_component *bt_component_sink_as_component_const(
*/
static inline
const bt_component *bt_component_sink_as_component_const(
- const bt_component_sink *component)
+ const bt_component_sink *component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component, component);
}
{
return __BT_UPCAST_CONST(bt_component, component);
}
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_sink_get_input_port_count(
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_sink_get_input_port_count(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
*/
extern const bt_port_input *
bt_component_sink_borrow_input_port_by_index_const(
*/
extern const bt_port_input *
bt_component_sink_borrow_input_port_by_index_const(
- const bt_component_sink *component, uint64_t index);
+ const bt_component_sink *component, uint64_t index)
+ __BT_NOEXCEPT;
*/
extern const bt_port_input *
bt_component_sink_borrow_input_port_by_name_const(
*/
extern const bt_port_input *
bt_component_sink_borrow_input_port_by_name_const(
- const bt_component_sink *component, const char *name);
+ const bt_component_sink *component, const char *name)
+ __BT_NOEXCEPT;
Decrements the reference count of a sink component.
*/
extern void bt_component_sink_get_ref(
Decrements the reference count of a sink component.
*/
extern void bt_component_sink_get_ref(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
Increments the reference count of a sink component.
*/
extern void bt_component_sink_put_ref(
Increments the reference count of a sink component.
*/
extern void bt_component_sink_put_ref(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
@bt_pre_not_null{connection}
*/
extern const bt_port_input *bt_connection_borrow_downstream_port_const(
@bt_pre_not_null{connection}
*/
extern const bt_port_input *bt_connection_borrow_downstream_port_const(
- const bt_connection *connection);
+ const bt_connection *connection) __BT_NOEXCEPT;
@bt_pre_not_null{connection}
*/
extern const bt_port_output *bt_connection_borrow_upstream_port_const(
@bt_pre_not_null{connection}
*/
extern const bt_port_output *bt_connection_borrow_upstream_port_const(
- const bt_connection *connection);
+ const bt_connection *connection) __BT_NOEXCEPT;
@sa bt_connection_put_ref() —
Decrements the reference count of a connection.
*/
@sa bt_connection_put_ref() —
Decrements the reference count of a connection.
*/
-extern void bt_connection_get_ref(const bt_connection *connection);
+extern void bt_connection_get_ref(const bt_connection *connection)
+ __BT_NOEXCEPT;
@sa bt_connection_get_ref() —
Increments the reference count of a connection.
*/
@sa bt_connection_get_ref() —
Increments the reference count of a connection.
*/
-extern void bt_connection_put_ref(const bt_connection *connection);
+extern void bt_connection_put_ref(const bt_connection *connection)
+ __BT_NOEXCEPT;
@pre
\bt_p{mip_version} is 0.
*/
@pre
\bt_p{mip_version} is 0.
*/
-extern bt_graph *bt_graph_create(uint64_t mip_version);
+extern bt_graph *bt_graph_create(uint64_t mip_version) __BT_NOEXCEPT;
const bt_component_class_source *component_class,
const char *name, const bt_value *params,
bt_logging_level logging_level,
const bt_component_class_source *component_class,
const char *name, const bt_value *params,
bt_logging_level logging_level,
- const bt_component_source **component);
+ const bt_component_source **component) __BT_NOEXCEPT;
const bt_component_class_source *component_class,
const char *name, const bt_value *params,
void *initialize_method_data, bt_logging_level logging_level,
const bt_component_class_source *component_class,
const char *name, const bt_value *params,
void *initialize_method_data, bt_logging_level logging_level,
- const bt_component_source **component);
+ const bt_component_source **component) __BT_NOEXCEPT;
const bt_component_class_filter *component_class,
const char *name, const bt_value *params,
bt_logging_level logging_level,
const bt_component_class_filter *component_class,
const char *name, const bt_value *params,
bt_logging_level logging_level,
- const bt_component_filter **component);
+ const bt_component_filter **component) __BT_NOEXCEPT;
const bt_component_class_filter *component_class,
const char *name, const bt_value *params,
void *initialize_method_data, bt_logging_level logging_level,
const bt_component_class_filter *component_class,
const char *name, const bt_value *params,
void *initialize_method_data, bt_logging_level logging_level,
- const bt_component_filter **component);
+ const bt_component_filter **component) __BT_NOEXCEPT;
bt_graph *graph, const bt_component_class_sink *component_class,
const char *name, const bt_value *params,
bt_logging_level logging_level,
bt_graph *graph, const bt_component_class_sink *component_class,
const char *name, const bt_value *params,
bt_logging_level logging_level,
- const bt_component_sink **component);
+ const bt_component_sink **component) __BT_NOEXCEPT;
bt_graph *graph, const bt_component_class_sink *component_class,
const char *name, const bt_value *params,
void *initialize_method_data, bt_logging_level logging_level,
bt_graph *graph, const bt_component_class_sink *component_class,
const char *name, const bt_value *params,
void *initialize_method_data, bt_logging_level logging_level,
- const bt_component_sink **component);
+ const bt_component_sink **component) __BT_NOEXCEPT;
bt_graph_simple_sink_component_initialize_func initialize_func,
bt_graph_simple_sink_component_consume_func consume_func,
bt_graph_simple_sink_component_finalize_func finalize_func,
bt_graph_simple_sink_component_initialize_func initialize_func,
bt_graph_simple_sink_component_consume_func consume_func,
bt_graph_simple_sink_component_finalize_func finalize_func,
- void *user_data, const bt_component_sink **component);
+ void *user_data, const bt_component_sink **component) __BT_NOEXCEPT;
extern bt_graph_connect_ports_status bt_graph_connect_ports(bt_graph *graph,
const bt_port_output *upstream_port,
const bt_port_input *downstream_port,
extern bt_graph_connect_ports_status bt_graph_connect_ports(bt_graph *graph,
const bt_port_output *upstream_port,
const bt_port_input *downstream_port,
- const bt_connection **connection);
+ const bt_connection **connection) __BT_NOEXCEPT;
Calls a single trace processing graph's sink component's consuming
method once.
*/
Calls a single trace processing graph's sink component's consuming
method once.
*/
-extern bt_graph_run_status bt_graph_run(bt_graph *graph);
+extern bt_graph_run_status bt_graph_run(bt_graph *graph) __BT_NOEXCEPT;
Runs a trace processing graph, making all its sink components
consume in a round robin fashion.
*/
Runs a trace processing graph, making all its sink components
consume in a round robin fashion.
*/
-extern bt_graph_run_once_status bt_graph_run_once(bt_graph *graph);
+extern bt_graph_run_once_status bt_graph_run_once(bt_graph *graph) __BT_NOEXCEPT;
Borrows the default interrupter from a trace processing graph.
*/
extern bt_graph_add_interrupter_status bt_graph_add_interrupter(bt_graph *graph,
Borrows the default interrupter from a trace processing graph.
*/
extern bt_graph_add_interrupter_status bt_graph_add_interrupter(bt_graph *graph,
- const bt_interrupter *interrupter);
+ const bt_interrupter *interrupter) __BT_NOEXCEPT;
@sa bt_graph_add_interrupter() —
Adds an interrupter to a trace processing graph.
*/
@sa bt_graph_add_interrupter() —
Adds an interrupter to a trace processing graph.
*/
-extern bt_interrupter *bt_graph_borrow_default_interrupter(bt_graph *graph);
+extern bt_interrupter *bt_graph_borrow_default_interrupter(bt_graph *graph)
+ __BT_NOEXCEPT;
bt_graph_add_filter_component_input_port_added_listener(
bt_graph *graph,
bt_graph_filter_component_input_port_added_listener_func user_func,
bt_graph_add_filter_component_input_port_added_listener(
bt_graph *graph,
bt_graph_filter_component_input_port_added_listener_func user_func,
- void *user_data, bt_listener_id *listener_id);
+ void *user_data, bt_listener_id *listener_id) __BT_NOEXCEPT;
bt_graph_add_sink_component_input_port_added_listener(
bt_graph *graph,
bt_graph_sink_component_input_port_added_listener_func user_func,
bt_graph_add_sink_component_input_port_added_listener(
bt_graph *graph,
bt_graph_sink_component_input_port_added_listener_func user_func,
- void *user_data, bt_listener_id *listener_id);
+ void *user_data, bt_listener_id *listener_id) __BT_NOEXCEPT;
bt_graph_add_source_component_output_port_added_listener(
bt_graph *graph,
bt_graph_source_component_output_port_added_listener_func user_func,
bt_graph_add_source_component_output_port_added_listener(
bt_graph *graph,
bt_graph_source_component_output_port_added_listener_func user_func,
- void *user_data, bt_listener_id *listener_id);
+ void *user_data, bt_listener_id *listener_id) __BT_NOEXCEPT;
bt_graph_add_filter_component_output_port_added_listener(
bt_graph *graph,
bt_graph_filter_component_output_port_added_listener_func user_func,
bt_graph_add_filter_component_output_port_added_listener(
bt_graph *graph,
bt_graph_filter_component_output_port_added_listener_func user_func,
- void *user_data, bt_listener_id *listener_id);
+ void *user_data, bt_listener_id *listener_id) __BT_NOEXCEPT;
@sa bt_graph_put_ref() —
Decrements the reference count of a trace processing graph.
*/
@sa bt_graph_put_ref() —
Decrements the reference count of a trace processing graph.
*/
-extern void bt_graph_get_ref(const bt_graph *graph);
+extern void bt_graph_get_ref(const bt_graph *graph) __BT_NOEXCEPT;
@sa bt_graph_get_ref() —
Increments the reference count of a trace processing graph.
*/
@sa bt_graph_get_ref() —
Increments the reference count of a trace processing graph.
*/
-extern void bt_graph_put_ref(const bt_graph *graph);
+extern void bt_graph_put_ref(const bt_graph *graph) __BT_NOEXCEPT;
@returns
New interrupter reference, or \c NULL on memory error.
*/
@returns
New interrupter reference, or \c NULL on memory error.
*/
-extern bt_interrupter *bt_interrupter_create(void);
+extern bt_interrupter *bt_interrupter_create(void) __BT_NOEXCEPT;
@sa bt_interrupter_is_set() —
Returns whether or not an interrupter is set.
*/
@sa bt_interrupter_is_set() —
Returns whether or not an interrupter is set.
*/
-extern void bt_interrupter_set(bt_interrupter *interrupter);
+extern void bt_interrupter_set(bt_interrupter *interrupter) __BT_NOEXCEPT;
@sa bt_interrupter_is_set() —
Returns whether or not an interrupter is set.
*/
@sa bt_interrupter_is_set() —
Returns whether or not an interrupter is set.
*/
-extern void bt_interrupter_reset(bt_interrupter *interrupter);
+extern void bt_interrupter_reset(bt_interrupter *interrupter) __BT_NOEXCEPT;
@sa bt_interrupter_reset() —
Resets an interrupter.
*/
@sa bt_interrupter_reset() —
Resets an interrupter.
*/
-extern bt_bool bt_interrupter_is_set(const bt_interrupter *interrupter);
+extern bt_bool bt_interrupter_is_set(const bt_interrupter *interrupter)
+ __BT_NOEXCEPT;
@sa bt_interrupter_put_ref() —
Decrements the reference count of an interrupter.
*/
@sa bt_interrupter_put_ref() —
Decrements the reference count of an interrupter.
*/
-extern void bt_interrupter_get_ref(const bt_interrupter *interrupter);
+extern void bt_interrupter_get_ref(const bt_interrupter *interrupter)
+ __BT_NOEXCEPT;
@sa bt_interrupter_get_ref() —
Increments the reference count of an interrupter.
*/
@sa bt_interrupter_get_ref() —
Increments the reference count of an interrupter.
*/
-extern void bt_interrupter_put_ref(const bt_interrupter *interrupter);
+extern void bt_interrupter_put_ref(const bt_interrupter *interrupter)
+ __BT_NOEXCEPT;
*/
extern bt_message_iterator_class *
bt_message_iterator_class_create(
*/
extern bt_message_iterator_class *
bt_message_iterator_class_create(
- bt_message_iterator_class_next_method next_method);
+ bt_message_iterator_class_next_method next_method)
+ __BT_NOEXCEPT;
extern bt_message_iterator_class_set_method_status
bt_message_iterator_class_set_finalize_method(
bt_message_iterator_class *message_iterator_class,
extern bt_message_iterator_class_set_method_status
bt_message_iterator_class_set_finalize_method(
bt_message_iterator_class *message_iterator_class,
- bt_message_iterator_class_finalize_method method);
+ bt_message_iterator_class_finalize_method method) __BT_NOEXCEPT;
extern bt_message_iterator_class_set_method_status
bt_message_iterator_class_set_initialize_method(
bt_message_iterator_class *message_iterator_class,
extern bt_message_iterator_class_set_method_status
bt_message_iterator_class_set_initialize_method(
bt_message_iterator_class *message_iterator_class,
- bt_message_iterator_class_initialize_method method);
+ bt_message_iterator_class_initialize_method method)
+ __BT_NOEXCEPT;
bt_message_iterator_class_set_seek_beginning_methods(
bt_message_iterator_class *message_iterator_class,
bt_message_iterator_class_seek_beginning_method seek_method,
bt_message_iterator_class_set_seek_beginning_methods(
bt_message_iterator_class *message_iterator_class,
bt_message_iterator_class_seek_beginning_method seek_method,
- bt_message_iterator_class_can_seek_beginning_method can_seek_method);
+ bt_message_iterator_class_can_seek_beginning_method can_seek_method)
+ __BT_NOEXCEPT;
bt_message_iterator_class_set_seek_ns_from_origin_methods(
bt_message_iterator_class *message_iterator_class,
bt_message_iterator_class_seek_ns_from_origin_method seek_method,
bt_message_iterator_class_set_seek_ns_from_origin_methods(
bt_message_iterator_class *message_iterator_class,
bt_message_iterator_class_seek_ns_from_origin_method seek_method,
- bt_message_iterator_class_can_seek_ns_from_origin_method can_seek_method);
+ bt_message_iterator_class_can_seek_ns_from_origin_method can_seek_method)
+ __BT_NOEXCEPT;
Decrements the reference count of a message iterator class.
*/
extern void bt_message_iterator_class_get_ref(
Decrements the reference count of a message iterator class.
*/
extern void bt_message_iterator_class_get_ref(
- const bt_message_iterator_class *message_iterator_class);
+ const bt_message_iterator_class *message_iterator_class)
+ __BT_NOEXCEPT;
Increments the reference count of a message iterator class.
*/
extern void bt_message_iterator_class_put_ref(
Increments the reference count of a message iterator class.
*/
extern void bt_message_iterator_class_put_ref(
- const bt_message_iterator_class *message_iterator_class);
+ const bt_message_iterator_class *message_iterator_class)
+ __BT_NOEXCEPT;
bt_message_iterator_create_from_message_iterator(
bt_self_message_iterator *self_message_iterator,
bt_self_component_port_input *port,
bt_message_iterator_create_from_message_iterator(
bt_self_message_iterator *self_message_iterator,
bt_self_component_port_input *port,
- bt_message_iterator **message_iterator);
+ bt_message_iterator **message_iterator) __BT_NOEXCEPT;
bt_message_iterator_create_from_sink_component(
bt_self_component_sink *self_component_sink,
bt_self_component_port_input *port,
bt_message_iterator_create_from_sink_component(
bt_self_component_sink *self_component_sink,
bt_self_component_port_input *port,
- bt_message_iterator **message_iterator);
+ bt_message_iterator **message_iterator) __BT_NOEXCEPT;
*/
extern bt_component *
bt_message_iterator_borrow_component(
*/
extern bt_component *
bt_message_iterator_borrow_component(
- bt_message_iterator *message_iterator);
+ bt_message_iterator *message_iterator) __BT_NOEXCEPT;
*/
extern bt_message_iterator_next_status
bt_message_iterator_next(bt_message_iterator *message_iterator,
*/
extern bt_message_iterator_next_status
bt_message_iterator_next(bt_message_iterator *message_iterator,
- bt_message_array_const *messages, uint64_t *count);
+ bt_message_array_const *messages, uint64_t *count)
+ __BT_NOEXCEPT;
extern bt_message_iterator_can_seek_beginning_status
bt_message_iterator_can_seek_beginning(
bt_message_iterator *message_iterator,
extern bt_message_iterator_can_seek_beginning_status
bt_message_iterator_can_seek_beginning(
bt_message_iterator *message_iterator,
- bt_bool *can_seek_beginning);
+ bt_bool *can_seek_beginning) __BT_NOEXCEPT;
*/
extern bt_message_iterator_seek_beginning_status
bt_message_iterator_seek_beginning(
*/
extern bt_message_iterator_seek_beginning_status
bt_message_iterator_seek_beginning(
- bt_message_iterator *message_iterator);
+ bt_message_iterator *message_iterator) __BT_NOEXCEPT;
extern bt_message_iterator_can_seek_ns_from_origin_status
bt_message_iterator_can_seek_ns_from_origin(
bt_message_iterator *message_iterator,
extern bt_message_iterator_can_seek_ns_from_origin_status
bt_message_iterator_can_seek_ns_from_origin(
bt_message_iterator *message_iterator,
- int64_t ns_from_origin, bt_bool *can_seek_ns_from_origin);
+ int64_t ns_from_origin, bt_bool *can_seek_ns_from_origin)
+ __BT_NOEXCEPT;
extern bt_message_iterator_seek_ns_from_origin_status
bt_message_iterator_seek_ns_from_origin(
bt_message_iterator *message_iterator,
extern bt_message_iterator_seek_ns_from_origin_status
bt_message_iterator_seek_ns_from_origin(
bt_message_iterator *message_iterator,
- int64_t ns_from_origin);
+ int64_t ns_from_origin) __BT_NOEXCEPT;
*/
extern bt_bool
bt_message_iterator_can_seek_forward(
*/
extern bt_bool
bt_message_iterator_can_seek_forward(
- bt_message_iterator *message_iterator);
+ bt_message_iterator *message_iterator) __BT_NOEXCEPT;
Decrements the reference count of a message iterator.
*/
extern void bt_message_iterator_get_ref(
Decrements the reference count of a message iterator.
*/
extern void bt_message_iterator_get_ref(
- const bt_message_iterator *message_iterator);
+ const bt_message_iterator *message_iterator) __BT_NOEXCEPT;
Increments the reference count of a message iterator.
*/
extern void bt_message_iterator_put_ref(
Increments the reference count of a message iterator.
*/
extern void bt_message_iterator_put_ref(
- const bt_message_iterator *message_iterator);
+ const bt_message_iterator *message_iterator) __BT_NOEXCEPT;
@bt_pre_not_null{message}
*/
@bt_pre_not_null{message}
*/
-extern bt_message_type bt_message_get_type(const bt_message *message);
+extern bt_message_type bt_message_get_type(const bt_message *message)
+ __BT_NOEXCEPT;
extern
bt_message *bt_message_stream_beginning_create(
bt_self_message_iterator *self_message_iterator,
extern
bt_message *bt_message_stream_beginning_create(
bt_self_message_iterator *self_message_iterator,
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream *bt_message_stream_beginning_borrow_stream(
\c const version of this function.
*/
extern bt_stream *bt_message_stream_beginning_borrow_stream(
+ bt_message *message) __BT_NOEXCEPT;
See bt_message_stream_beginning_borrow_stream().
*/
extern const bt_stream *bt_message_stream_beginning_borrow_stream_const(
See bt_message_stream_beginning_borrow_stream().
*/
extern const bt_stream *bt_message_stream_beginning_borrow_stream_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern
void bt_message_stream_beginning_set_default_clock_snapshot(
*/
extern
void bt_message_stream_beginning_set_default_clock_snapshot(
- bt_message *message, uint64_t value);
+ bt_message *message, uint64_t value) __BT_NOEXCEPT;
extern bt_message_stream_clock_snapshot_state
bt_message_stream_beginning_borrow_default_clock_snapshot_const(
const bt_message *message,
extern bt_message_stream_clock_snapshot_state
bt_message_stream_beginning_borrow_default_clock_snapshot_const(
const bt_message *message,
- const bt_clock_snapshot **clock_snapshot);
+ const bt_clock_snapshot **clock_snapshot) __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_message_stream_beginning_borrow_stream_class_default_clock_class_const(
*/
extern const bt_clock_class *
bt_message_stream_beginning_borrow_stream_class_default_clock_class_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
extern
bt_message *bt_message_stream_end_create(
bt_self_message_iterator *self_message_iterator,
extern
bt_message *bt_message_stream_end_create(
bt_self_message_iterator *self_message_iterator,
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream *bt_message_stream_end_borrow_stream(
\c const version of this function.
*/
extern bt_stream *bt_message_stream_end_borrow_stream(
+ bt_message *message) __BT_NOEXCEPT;
See bt_message_stream_end_borrow_stream().
*/
extern const bt_stream *bt_message_stream_end_borrow_stream_const(
See bt_message_stream_end_borrow_stream().
*/
extern const bt_stream *bt_message_stream_end_borrow_stream_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern
void bt_message_stream_end_set_default_clock_snapshot(
*/
extern
void bt_message_stream_end_set_default_clock_snapshot(
- bt_message *message, uint64_t value);
+ bt_message *message, uint64_t value) __BT_NOEXCEPT;
extern bt_message_stream_clock_snapshot_state
bt_message_stream_end_borrow_default_clock_snapshot_const(
const bt_message *message,
extern bt_message_stream_clock_snapshot_state
bt_message_stream_end_borrow_default_clock_snapshot_const(
const bt_message *message,
- const bt_clock_snapshot **clock_snapshot);
+ const bt_clock_snapshot **clock_snapshot) __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_message_stream_end_borrow_stream_class_default_clock_class_const(
*/
extern const bt_clock_class *
bt_message_stream_end_borrow_stream_class_default_clock_class_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
bt_message *bt_message_event_create(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
bt_message *bt_message_event_create(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
bt_message *bt_message_event_create_with_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
bt_message *bt_message_event_create_with_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
- const bt_stream *stream, uint64_t clock_snapshot_value);
+ const bt_stream *stream, uint64_t clock_snapshot_value)
+ __BT_NOEXCEPT;
bt_message *bt_message_event_create_with_packet(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
bt_message *bt_message_event_create_with_packet(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
- const bt_packet *packet);
+ const bt_packet *packet) __BT_NOEXCEPT;
bt_message *bt_message_event_create_with_packet_and_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
bt_message *bt_message_event_create_with_packet_and_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
const bt_event_class *event_class,
- const bt_packet *packet, uint64_t clock_snapshot_value);
+ const bt_packet *packet, uint64_t clock_snapshot_value)
+ __BT_NOEXCEPT;
@sa bt_message_event_borrow_event_const() —
\c const version of this function.
*/
@sa bt_message_event_borrow_event_const() —
\c const version of this function.
*/
-extern bt_event *bt_message_event_borrow_event(
- bt_message *message);
+extern bt_event *bt_message_event_borrow_event(bt_message *message)
+ __BT_NOEXCEPT;
See bt_message_event_borrow_event().
*/
extern const bt_event *bt_message_event_borrow_event_const(
See bt_message_event_borrow_event().
*/
extern const bt_event *bt_message_event_borrow_event_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
\ref api-tir-stream-cls-prop-def-clock-cls "default clock class".
*/
extern const bt_clock_snapshot *
\ref api-tir-stream-cls-prop-def-clock-cls "default clock class".
*/
extern const bt_clock_snapshot *
-bt_message_event_borrow_default_clock_snapshot_const(const bt_message *message);
+bt_message_event_borrow_default_clock_snapshot_const(const bt_message *message)
+ __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_message_event_borrow_stream_class_default_clock_class_const(
*/
extern const bt_clock_class *
bt_message_event_borrow_stream_class_default_clock_class_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
extern
bt_message *bt_message_packet_beginning_create(
bt_self_message_iterator *self_message_iterator,
extern
bt_message *bt_message_packet_beginning_create(
bt_self_message_iterator *self_message_iterator,
- const bt_packet *packet);
+ const bt_packet *packet) __BT_NOEXCEPT;
extern
bt_message *bt_message_packet_beginning_create_with_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
extern
bt_message *bt_message_packet_beginning_create_with_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
- const bt_packet *packet, uint64_t clock_snapshot_value);
+ const bt_packet *packet, uint64_t clock_snapshot_value)
+ __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_packet *bt_message_packet_beginning_borrow_packet(
\c const version of this function.
*/
extern bt_packet *bt_message_packet_beginning_borrow_packet(
+ bt_message *message) __BT_NOEXCEPT;
See bt_message_packet_beginning_borrow_packet().
*/
extern const bt_packet *bt_message_packet_beginning_borrow_packet_const(
See bt_message_packet_beginning_borrow_packet().
*/
extern const bt_packet *bt_message_packet_beginning_borrow_packet_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_snapshot *
bt_message_packet_beginning_borrow_default_clock_snapshot_const(
*/
extern const bt_clock_snapshot *
bt_message_packet_beginning_borrow_default_clock_snapshot_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_message_packet_beginning_borrow_stream_class_default_clock_class_const(
*/
extern const bt_clock_class *
bt_message_packet_beginning_borrow_stream_class_default_clock_class_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
extern
bt_message *bt_message_packet_end_create(
bt_self_message_iterator *self_message_iterator,
extern
bt_message *bt_message_packet_end_create(
bt_self_message_iterator *self_message_iterator,
- const bt_packet *packet);
+ const bt_packet *packet) __BT_NOEXCEPT;
extern
bt_message *bt_message_packet_end_create_with_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
extern
bt_message *bt_message_packet_end_create_with_default_clock_snapshot(
bt_self_message_iterator *self_message_iterator,
- const bt_packet *packet, uint64_t clock_snapshot_value);
+ const bt_packet *packet, uint64_t clock_snapshot_value)
+ __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_packet *bt_message_packet_end_borrow_packet(
\c const version of this function.
*/
extern bt_packet *bt_message_packet_end_borrow_packet(
+ bt_message *message) __BT_NOEXCEPT;
See bt_message_packet_end_borrow_packet().
*/
extern const bt_packet *bt_message_packet_end_borrow_packet_const(
See bt_message_packet_end_borrow_packet().
*/
extern const bt_packet *bt_message_packet_end_borrow_packet_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_snapshot *
bt_message_packet_end_borrow_default_clock_snapshot_const(
*/
extern const bt_clock_snapshot *
bt_message_packet_end_borrow_default_clock_snapshot_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_message_packet_end_borrow_stream_class_default_clock_class_const(
*/
extern const bt_clock_class *
bt_message_packet_end_borrow_stream_class_default_clock_class_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern bt_message *bt_message_discarded_events_create(
bt_self_message_iterator *self_message_iterator,
*/
extern bt_message *bt_message_discarded_events_create(
bt_self_message_iterator *self_message_iterator,
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
bt_self_message_iterator *self_message_iterator,
const bt_stream *stream,
uint64_t beginning_clock_snapshot_value,
bt_self_message_iterator *self_message_iterator,
const bt_stream *stream,
uint64_t beginning_clock_snapshot_value,
- uint64_t end_clock_snapshot_value);
+ uint64_t end_clock_snapshot_value)
+ __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream *bt_message_discarded_events_borrow_stream(
\c const version of this function.
*/
extern bt_stream *bt_message_discarded_events_borrow_stream(
+ bt_message *message) __BT_NOEXCEPT;
See bt_message_discarded_events_borrow_stream().
*/
extern const bt_stream *
See bt_message_discarded_events_borrow_stream().
*/
extern const bt_stream *
-bt_message_discarded_events_borrow_stream_const(const bt_message *message);
+bt_message_discarded_events_borrow_stream_const(const bt_message *message)
+ __BT_NOEXCEPT;
*/
extern const bt_clock_snapshot *
bt_message_discarded_events_borrow_beginning_default_clock_snapshot_const(
*/
extern const bt_clock_snapshot *
bt_message_discarded_events_borrow_beginning_default_clock_snapshot_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_snapshot *
bt_message_discarded_events_borrow_end_default_clock_snapshot_const(
*/
extern const bt_clock_snapshot *
bt_message_discarded_events_borrow_end_default_clock_snapshot_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_message_discarded_events_borrow_stream_class_default_clock_class_const(
*/
extern const bt_clock_class *
bt_message_discarded_events_borrow_stream_class_default_clock_class_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
message.
*/
extern void bt_message_discarded_events_set_count(bt_message *message,
message.
*/
extern void bt_message_discarded_events_set_count(bt_message *message,
+ uint64_t count) __BT_NOEXCEPT;
Sets the number of discarded events of a discarded events message.
*/
extern bt_property_availability bt_message_discarded_events_get_count(
Sets the number of discarded events of a discarded events message.
*/
extern bt_property_availability bt_message_discarded_events_get_count(
- const bt_message *message, uint64_t *count);
+ const bt_message *message, uint64_t *count) __BT_NOEXCEPT;
*/
extern bt_message *bt_message_discarded_packets_create(
bt_self_message_iterator *self_message_iterator,
*/
extern bt_message *bt_message_discarded_packets_create(
bt_self_message_iterator *self_message_iterator,
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
extern bt_message *bt_message_discarded_packets_create_with_default_clock_snapshots(
bt_self_message_iterator *self_message_iterator,
const bt_stream *stream, uint64_t beginning_clock_snapshot_value,
extern bt_message *bt_message_discarded_packets_create_with_default_clock_snapshots(
bt_self_message_iterator *self_message_iterator,
const bt_stream *stream, uint64_t beginning_clock_snapshot_value,
- uint64_t end_clock_snapshot_value);
+ uint64_t end_clock_snapshot_value) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream *bt_message_discarded_packets_borrow_stream(
\c const version of this function.
*/
extern bt_stream *bt_message_discarded_packets_borrow_stream(
+ bt_message *message) __BT_NOEXCEPT;
See bt_message_discarded_packets_borrow_stream().
*/
extern const bt_stream *
See bt_message_discarded_packets_borrow_stream().
*/
extern const bt_stream *
-bt_message_discarded_packets_borrow_stream_const(const bt_message *message);
+bt_message_discarded_packets_borrow_stream_const(const bt_message *message)
+ __BT_NOEXCEPT;
*/
extern const bt_clock_snapshot *
bt_message_discarded_packets_borrow_beginning_default_clock_snapshot_const(
*/
extern const bt_clock_snapshot *
bt_message_discarded_packets_borrow_beginning_default_clock_snapshot_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_snapshot *
bt_message_discarded_packets_borrow_end_default_clock_snapshot_const(
*/
extern const bt_clock_snapshot *
bt_message_discarded_packets_borrow_end_default_clock_snapshot_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_message_discarded_packets_borrow_stream_class_default_clock_class_const(
*/
extern const bt_clock_class *
bt_message_discarded_packets_borrow_stream_class_default_clock_class_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
message.
*/
extern void bt_message_discarded_packets_set_count(bt_message *message,
message.
*/
extern void bt_message_discarded_packets_set_count(bt_message *message,
+ uint64_t count) __BT_NOEXCEPT;
Sets the number of discarded packets of a discarded packets message.
*/
extern bt_property_availability bt_message_discarded_packets_get_count(
Sets the number of discarded packets of a discarded packets message.
*/
extern bt_property_availability bt_message_discarded_packets_get_count(
- const bt_message *message, uint64_t *count);
+ const bt_message *message, uint64_t *count) __BT_NOEXCEPT;
bt_message *bt_message_message_iterator_inactivity_create(
bt_self_message_iterator *self_message_iterator,
const bt_clock_class *clock_class,
bt_message *bt_message_message_iterator_inactivity_create(
bt_self_message_iterator *self_message_iterator,
const bt_clock_class *clock_class,
- uint64_t clock_snapshot_value);
+ uint64_t clock_snapshot_value) __BT_NOEXCEPT;
*/
extern const bt_clock_snapshot *
bt_message_message_iterator_inactivity_borrow_clock_snapshot_const(
*/
extern const bt_clock_snapshot *
bt_message_message_iterator_inactivity_borrow_clock_snapshot_const(
- const bt_message *message);
+ const bt_message *message) __BT_NOEXCEPT;
@sa bt_message_put_ref() —
Decrements the reference count of a message.
*/
@sa bt_message_put_ref() —
Decrements the reference count of a message.
*/
-extern void bt_message_get_ref(const bt_message *message);
+extern void bt_message_get_ref(const bt_message *message) __BT_NOEXCEPT;
@sa bt_message_get_ref() —
Increments the reference count of a message.
*/
@sa bt_message_get_ref() —
Increments the reference count of a message.
*/
-extern void bt_message_put_ref(const bt_message *message);
+extern void bt_message_put_ref(const bt_message *message) __BT_NOEXCEPT;
extern bt_get_greatest_operative_mip_version_status
bt_get_greatest_operative_mip_version(
const bt_component_descriptor_set *component_descriptors,
extern bt_get_greatest_operative_mip_version_status
bt_get_greatest_operative_mip_version(
const bt_component_descriptor_set *component_descriptors,
- bt_logging_level logging_level, uint64_t *mip_version);
+ bt_logging_level logging_level, uint64_t *mip_version)
+ __BT_NOEXCEPT;
@returns
Maximal available MIP version (\bt_max_mip_version).
*/
@returns
Maximal available MIP version (\bt_max_mip_version).
*/
-extern uint64_t bt_get_maximal_mip_version(void);
+extern uint64_t bt_get_maximal_mip_version(void) __BT_NOEXCEPT;
@sa bt_port_is_output() —
Returns whether or not a port is an \bt_oport.
*/
@sa bt_port_is_output() —
Returns whether or not a port is an \bt_oport.
*/
-extern bt_port_type bt_port_get_type(const bt_port *port);
+extern bt_port_type bt_port_get_type(const bt_port *port) __BT_NOEXCEPT;
Returns the type enumerator of a port.
*/
static inline
Returns the type enumerator of a port.
*/
static inline
-bt_bool bt_port_is_input(const bt_port *port)
+bt_bool bt_port_is_input(const bt_port *port) __BT_NOEXCEPT
{
return bt_port_get_type(port) == BT_PORT_TYPE_INPUT;
}
{
return bt_port_get_type(port) == BT_PORT_TYPE_INPUT;
}
Returns the type enumerator of a port.
*/
static inline
Returns the type enumerator of a port.
*/
static inline
-bt_bool bt_port_is_output(const bt_port *port)
+bt_bool bt_port_is_output(const bt_port *port) __BT_NOEXCEPT
{
return bt_port_get_type(port) == BT_PORT_TYPE_OUTPUT;
}
{
return bt_port_get_type(port) == BT_PORT_TYPE_OUTPUT;
}
@bt_pre_not_null{port}
*/
extern const bt_connection *bt_port_borrow_connection_const(
@bt_pre_not_null{port}
*/
extern const bt_connection *bt_port_borrow_connection_const(
+ const bt_port *port) __BT_NOEXCEPT;
@bt_pre_not_null{port}
*/
extern const bt_component *bt_port_borrow_component_const(
@bt_pre_not_null{port}
*/
extern const bt_component *bt_port_borrow_component_const(
+ const bt_port *port) __BT_NOEXCEPT;
@bt_pre_not_null{port}
*/
@bt_pre_not_null{port}
*/
-extern const char *bt_port_get_name(const bt_port *port);
+extern const char *bt_port_get_name(const bt_port *port) __BT_NOEXCEPT;
@bt_pre_not_null{port}
*/
@bt_pre_not_null{port}
*/
-extern bt_bool bt_port_is_connected(const bt_port *port);
+extern bt_bool bt_port_is_connected(const bt_port *port) __BT_NOEXCEPT;
@sa bt_port_put_ref() —
Decrements the reference count of a port.
*/
@sa bt_port_put_ref() —
Decrements the reference count of a port.
*/
-extern void bt_port_get_ref(const bt_port *port);
+extern void bt_port_get_ref(const bt_port *port) __BT_NOEXCEPT;
@sa bt_port_get_ref() —
Increments the reference count of a port.
*/
@sa bt_port_get_ref() —
Increments the reference count of a port.
*/
-extern void bt_port_put_ref(const bt_port *port);
+extern void bt_port_put_ref(const bt_port *port) __BT_NOEXCEPT;
\bt_p{port} as a common port.
*/
static inline
\bt_p{port} as a common port.
*/
static inline
-const bt_port *bt_port_input_as_port_const(const bt_port_input *port)
+const bt_port *bt_port_input_as_port_const(
+ const bt_port_input *port) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_port, port);
}
{
return __BT_UPCAST_CONST(bt_port, port);
}
@sa bt_port_input_put_ref() —
Decrements the reference count of an input port.
*/
@sa bt_port_input_put_ref() —
Decrements the reference count of an input port.
*/
-extern void bt_port_input_get_ref(const bt_port_input *port);
+extern void bt_port_input_get_ref(const bt_port_input *port) __BT_NOEXCEPT;
@sa bt_port_input_get_ref() —
Increments the reference count of an input port.
*/
@sa bt_port_input_get_ref() —
Increments the reference count of an input port.
*/
-extern void bt_port_input_put_ref(const bt_port_input *port);
+extern void bt_port_input_put_ref(const bt_port_input *port) __BT_NOEXCEPT;
\bt_p{port} as a common port.
*/
static inline
\bt_p{port} as a common port.
*/
static inline
-const bt_port *bt_port_output_as_port_const(const bt_port_output *port)
+const bt_port *bt_port_output_as_port_const(
+ const bt_port_output *port) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_port, port);
}
{
return __BT_UPCAST_CONST(bt_port, port);
}
@sa bt_port_output_put_ref() —
Decrements the reference count of a \bt_oport.
*/
@sa bt_port_output_put_ref() —
Decrements the reference count of a \bt_oport.
*/
-extern void bt_port_output_get_ref(const bt_port_output *port);
+extern void bt_port_output_get_ref(const bt_port_output *port) __BT_NOEXCEPT;
@sa bt_port_output_get_ref() —
Increments the reference count of a \bt_oport.
*/
@sa bt_port_output_get_ref() —
Increments the reference count of a \bt_oport.
*/
-extern void bt_port_output_put_ref(const bt_port_output *port);
+extern void bt_port_output_put_ref(const bt_port_output *port) __BT_NOEXCEPT;
static inline
const bt_query_executor *
bt_private_query_executor_as_query_executor_const(
static inline
const bt_query_executor *
bt_private_query_executor_as_query_executor_const(
- bt_private_query_executor *query_executor)
+ bt_private_query_executor *query_executor) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_query_executor, query_executor);
}
{
return __BT_UPCAST_CONST(bt_query_executor, query_executor);
}
extern
bt_query_executor *bt_query_executor_create(
const bt_component_class *component_class,
extern
bt_query_executor *bt_query_executor_create(
const bt_component_class *component_class,
- const char *object_name, const bt_value *params);
+ const char *object_name, const bt_value *params)
+ __BT_NOEXCEPT;
bt_query_executor *bt_query_executor_create_with_method_data(
const bt_component_class *component_class,
const char *object_name, const bt_value *params,
bt_query_executor *bt_query_executor_create_with_method_data(
const bt_component_class *component_class,
const char *object_name, const bt_value *params,
+ void *method_data) __BT_NOEXCEPT;
*/
extern
bt_query_executor_query_status bt_query_executor_query(
*/
extern
bt_query_executor_query_status bt_query_executor_query(
- bt_query_executor *query_executor, const bt_value **result);
+ bt_query_executor *query_executor, const bt_value **result)
+ __BT_NOEXCEPT;
*/
extern bt_query_executor_set_logging_level_status
bt_query_executor_set_logging_level(bt_query_executor *query_executor,
*/
extern bt_query_executor_set_logging_level_status
bt_query_executor_set_logging_level(bt_query_executor *query_executor,
- bt_logging_level logging_level);
+ bt_logging_level logging_level) __BT_NOEXCEPT;
Sets the logging level of a query executor.
*/
extern bt_logging_level bt_query_executor_get_logging_level(
Sets the logging level of a query executor.
*/
extern bt_logging_level bt_query_executor_get_logging_level(
- const bt_query_executor *query_executor);
+ const bt_query_executor *query_executor) __BT_NOEXCEPT;
*/
extern bt_query_executor_add_interrupter_status
bt_query_executor_add_interrupter(bt_query_executor *query_executor,
*/
extern bt_query_executor_add_interrupter_status
bt_query_executor_add_interrupter(bt_query_executor *query_executor,
- const bt_interrupter *interrupter);
+ const bt_interrupter *interrupter) __BT_NOEXCEPT;
Adds an interrupter to a query executor.
*/
extern bt_interrupter *bt_query_executor_borrow_default_interrupter(
Adds an interrupter to a query executor.
*/
extern bt_interrupter *bt_query_executor_borrow_default_interrupter(
- bt_query_executor *query_executor);
+ bt_query_executor *query_executor) __BT_NOEXCEPT;
@bt_pre_not_null{query_executor}
*/
extern bt_bool bt_query_executor_is_interrupted(
@bt_pre_not_null{query_executor}
*/
extern bt_bool bt_query_executor_is_interrupted(
- const bt_query_executor *query_executor);
+ const bt_query_executor *query_executor) __BT_NOEXCEPT;
@sa bt_query_executor_put_ref() —
Decrements the reference count of a query executor.
*/
@sa bt_query_executor_put_ref() —
Decrements the reference count of a query executor.
*/
-extern void bt_query_executor_get_ref(const bt_query_executor *query_executor);
+extern void bt_query_executor_get_ref(const bt_query_executor *query_executor)
+ __BT_NOEXCEPT;
@sa bt_query_executor_get_ref() —
Increments the reference count of a query executor.
*/
@sa bt_query_executor_get_ref() —
Increments the reference count of a query executor.
*/
-extern void bt_query_executor_put_ref(const bt_query_executor *query_executor);
+extern void bt_query_executor_put_ref(const bt_query_executor *query_executor)
+ __BT_NOEXCEPT;
*/
static inline
const bt_component_class *bt_self_component_class_as_component_class(
*/
static inline
const bt_component_class *bt_self_component_class_as_component_class(
- bt_self_component_class *self_component_class)
+ bt_self_component_class *self_component_class) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_component_class, self_component_class);
}
{
return __BT_UPCAST(bt_component_class, self_component_class);
}
const bt_component_class_source *
bt_self_component_class_source_as_component_class_source(
bt_self_component_class_source *self_component_class)
const bt_component_class_source *
bt_self_component_class_source_as_component_class_source(
bt_self_component_class_source *self_component_class)
{
return __BT_UPCAST_CONST(bt_component_class_source,
self_component_class);
{
return __BT_UPCAST_CONST(bt_component_class_source,
self_component_class);
const bt_component_class_filter *
bt_self_component_class_filter_as_component_class_filter(
bt_self_component_class_filter *self_component_class)
const bt_component_class_filter *
bt_self_component_class_filter_as_component_class_filter(
bt_self_component_class_filter *self_component_class)
{
return __BT_UPCAST_CONST(bt_component_class_filter,
self_component_class);
{
return __BT_UPCAST_CONST(bt_component_class_filter,
self_component_class);
const bt_component_class_sink *
bt_self_component_class_sink_as_component_class_sink(
bt_self_component_class_sink *self_component_class)
const bt_component_class_sink *
bt_self_component_class_sink_as_component_class_sink(
bt_self_component_class_sink *self_component_class)
{
return __BT_UPCAST_CONST(bt_component_class_sink, self_component_class);
}
{
return __BT_UPCAST_CONST(bt_component_class_sink, self_component_class);
}
bt_self_component_class*
bt_self_component_class_source_as_self_component_class(
bt_self_component_class_source *self_component_class)
bt_self_component_class*
bt_self_component_class_source_as_self_component_class(
bt_self_component_class_source *self_component_class)
{
return __BT_UPCAST(bt_self_component_class, self_component_class);
}
{
return __BT_UPCAST(bt_self_component_class, self_component_class);
}
bt_self_component_class*
bt_self_component_class_filter_as_self_component_class(
bt_self_component_class_filter *self_component_class)
bt_self_component_class*
bt_self_component_class_filter_as_self_component_class(
bt_self_component_class_filter *self_component_class)
{
return __BT_UPCAST(bt_self_component_class, self_component_class);
}
{
return __BT_UPCAST(bt_self_component_class, self_component_class);
}
bt_self_component_class*
bt_self_component_class_sink_as_self_component_class(
bt_self_component_class_sink *self_component_class)
bt_self_component_class*
bt_self_component_class_sink_as_self_component_class(
bt_self_component_class_sink *self_component_class)
{
return __BT_UPCAST(bt_self_component_class, self_component_class);
}
{
return __BT_UPCAST(bt_self_component_class, self_component_class);
}
@bt_pre_not_null{self_component_port}
*/
extern bt_self_component *bt_self_component_port_borrow_component(
@bt_pre_not_null{self_component_port}
*/
extern bt_self_component *bt_self_component_port_borrow_component(
- bt_self_component_port *self_component_port);
+ bt_self_component_port *self_component_port) __BT_NOEXCEPT;
@bt_pre_not_null{self_component_port}
*/
extern void *bt_self_component_port_get_data(
@bt_pre_not_null{self_component_port}
*/
extern void *bt_self_component_port_get_data(
- const bt_self_component_port *self_component_port);
+ const bt_self_component_port *self_component_port)
+ __BT_NOEXCEPT;
*/
static inline
const bt_port *bt_self_component_port_as_port(
*/
static inline
const bt_port *bt_self_component_port_as_port(
- bt_self_component_port *self_component_port)
+ bt_self_component_port *self_component_port) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_port, self_component_port);
}
{
return __BT_UPCAST_CONST(bt_port, self_component_port);
}
static inline
const bt_port_input *bt_self_component_port_input_as_port_input(
const bt_self_component_port_input *self_component_port)
static inline
const bt_port_input *bt_self_component_port_input_as_port_input(
const bt_self_component_port_input *self_component_port)
{
return __BT_UPCAST_CONST(bt_port_input, self_component_port);
}
{
return __BT_UPCAST_CONST(bt_port_input, self_component_port);
}
static inline
const bt_port_output *bt_self_component_port_output_as_port_output(
bt_self_component_port_output *self_component_port)
static inline
const bt_port_output *bt_self_component_port_output_as_port_output(
bt_self_component_port_output *self_component_port)
{
return __BT_UPCAST_CONST(bt_port_output, self_component_port);
}
{
return __BT_UPCAST_CONST(bt_port_output, self_component_port);
}
bt_self_component_port *
bt_self_component_port_input_as_self_component_port(
bt_self_component_port_input *self_component_port)
bt_self_component_port *
bt_self_component_port_input_as_self_component_port(
bt_self_component_port_input *self_component_port)
{
return __BT_UPCAST(bt_self_component_port, self_component_port);
}
{
return __BT_UPCAST(bt_self_component_port, self_component_port);
}
bt_self_component_port *
bt_self_component_port_output_as_self_component_port(
bt_self_component_port_output *self_component_port)
bt_self_component_port *
bt_self_component_port_output_as_self_component_port(
bt_self_component_port_output *self_component_port)
{
return __BT_UPCAST(bt_self_component_port, self_component_port);
}
{
return __BT_UPCAST(bt_self_component_port, self_component_port);
}
bt_self_component_source_add_output_port(
bt_self_component_source *self_component,
const char *name, void *user_data,
bt_self_component_source_add_output_port(
bt_self_component_source *self_component,
const char *name, void *user_data,
- bt_self_component_port_output **self_component_port);
+ bt_self_component_port_output **self_component_port)
+ __BT_NOEXCEPT;
bt_self_component_filter_add_input_port(
bt_self_component_filter *self_component,
const char *name, void *user_data,
bt_self_component_filter_add_input_port(
bt_self_component_filter *self_component,
const char *name, void *user_data,
- bt_self_component_port_input **self_component_port);
+ bt_self_component_port_input **self_component_port)
+ __BT_NOEXCEPT;
bt_self_component_filter_add_output_port(
bt_self_component_filter *self_component,
const char *name, void *user_data,
bt_self_component_filter_add_output_port(
bt_self_component_filter *self_component,
const char *name, void *user_data,
- bt_self_component_port_output **self_component_port);
+ bt_self_component_port_output **self_component_port)
+ __BT_NOEXCEPT;
bt_self_component_sink_add_input_port(
bt_self_component_sink *self_component,
const char *name, void *user_data,
bt_self_component_sink_add_input_port(
bt_self_component_sink *self_component,
const char *name, void *user_data,
- bt_self_component_port_input **self_component_port);
+ bt_self_component_port_input **self_component_port)
+ __BT_NOEXCEPT;
extern bt_self_component_port_output *
bt_self_component_source_borrow_output_port_by_index(
bt_self_component_source *self_component,
extern bt_self_component_port_output *
bt_self_component_source_borrow_output_port_by_index(
bt_self_component_source *self_component,
+ uint64_t index) __BT_NOEXCEPT;
extern bt_self_component_port_input *
bt_self_component_filter_borrow_input_port_by_index(
bt_self_component_filter *self_component,
extern bt_self_component_port_input *
bt_self_component_filter_borrow_input_port_by_index(
bt_self_component_filter *self_component,
+ uint64_t index) __BT_NOEXCEPT;
extern bt_self_component_port_output *
bt_self_component_filter_borrow_output_port_by_index(
bt_self_component_filter *self_component,
extern bt_self_component_port_output *
bt_self_component_filter_borrow_output_port_by_index(
bt_self_component_filter *self_component,
+ uint64_t index) __BT_NOEXCEPT;
*/
extern bt_self_component_port_input *
bt_self_component_sink_borrow_input_port_by_index(
*/
extern bt_self_component_port_input *
bt_self_component_sink_borrow_input_port_by_index(
- bt_self_component_sink *self_component, uint64_t index);
+ bt_self_component_sink *self_component, uint64_t index)
+ __BT_NOEXCEPT;
extern bt_self_component_port_output *
bt_self_component_source_borrow_output_port_by_name(
bt_self_component_source *self_component,
extern bt_self_component_port_output *
bt_self_component_source_borrow_output_port_by_name(
bt_self_component_source *self_component,
+ const char *name) __BT_NOEXCEPT;
extern bt_self_component_port_input *
bt_self_component_filter_borrow_input_port_by_name(
bt_self_component_filter *self_component,
extern bt_self_component_port_input *
bt_self_component_filter_borrow_input_port_by_name(
bt_self_component_filter *self_component,
+ const char *name) __BT_NOEXCEPT;
extern bt_self_component_port_output *
bt_self_component_filter_borrow_output_port_by_name(
bt_self_component_filter *self_component,
extern bt_self_component_port_output *
bt_self_component_filter_borrow_output_port_by_name(
bt_self_component_filter *self_component,
+ const char *name) __BT_NOEXCEPT;
extern bt_self_component_port_input *
bt_self_component_sink_borrow_input_port_by_name(
bt_self_component_sink *self_component,
extern bt_self_component_port_input *
bt_self_component_sink_borrow_input_port_by_name(
bt_self_component_sink *self_component,
+ const char *name) __BT_NOEXCEPT;
Returns the user data of a component.
*/
extern void bt_self_component_set_data(
Returns the user data of a component.
*/
extern void bt_self_component_set_data(
- bt_self_component *self_component, void *user_data);
+ bt_self_component *self_component, void *user_data)
+ __BT_NOEXCEPT;
Sets the user data of a component.
*/
extern void *bt_self_component_get_data(
Sets the user data of a component.
*/
extern void *bt_self_component_get_data(
- const bt_self_component *self_component);
+ const bt_self_component *self_component) __BT_NOEXCEPT;
*/
extern
uint64_t bt_self_component_get_graph_mip_version(
*/
extern
uint64_t bt_self_component_get_graph_mip_version(
- bt_self_component *self_component);
+ bt_self_component *self_component) __BT_NOEXCEPT;
Adds an interrupter to a graph.
*/
extern bt_bool bt_self_component_sink_is_interrupted(
Adds an interrupter to a graph.
*/
extern bt_bool bt_self_component_sink_is_interrupted(
- const bt_self_component_sink *self_component);
+ const bt_self_component_sink *self_component) __BT_NOEXCEPT;
*/
static inline
const bt_component *bt_self_component_as_component(
*/
static inline
const bt_component *bt_self_component_as_component(
- bt_self_component *self_component)
+ bt_self_component *self_component) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_component, self_component);
}
{
return __BT_UPCAST(bt_component, self_component);
}
static inline
const bt_component_source *
bt_self_component_source_as_component_source(
static inline
const bt_component_source *
bt_self_component_source_as_component_source(
- bt_self_component_source *self_component)
+ bt_self_component_source *self_component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component_source, self_component);
}
{
return __BT_UPCAST_CONST(bt_component_source, self_component);
}
static inline
const bt_component_filter *
bt_self_component_filter_as_component_filter(
static inline
const bt_component_filter *
bt_self_component_filter_as_component_filter(
- bt_self_component_filter *self_component)
+ bt_self_component_filter *self_component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component_filter, self_component);
}
{
return __BT_UPCAST_CONST(bt_component_filter, self_component);
}
static inline
const bt_component_sink *
bt_self_component_sink_as_component_sink(
static inline
const bt_component_sink *
bt_self_component_sink_as_component_sink(
- bt_self_component_sink *self_component)
+ bt_self_component_sink *self_component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component_sink, self_component);
}
{
return __BT_UPCAST_CONST(bt_component_sink, self_component);
}
*/
static inline
bt_self_component *bt_self_component_source_as_self_component(
*/
static inline
bt_self_component *bt_self_component_source_as_self_component(
- bt_self_component_source *self_component)
+ bt_self_component_source *self_component) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_self_component, self_component);
}
{
return __BT_UPCAST(bt_self_component, self_component);
}
*/
static inline
bt_self_component *bt_self_component_filter_as_self_component(
*/
static inline
bt_self_component *bt_self_component_filter_as_self_component(
- bt_self_component_filter *self_component)
+ bt_self_component_filter *self_component) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_self_component, self_component);
}
{
return __BT_UPCAST(bt_self_component, self_component);
}
*/
static inline
bt_self_component *bt_self_component_sink_as_self_component(
*/
static inline
bt_self_component *bt_self_component_sink_as_self_component(
- bt_self_component_sink *self_component)
+ bt_self_component_sink *self_component) __BT_NOEXCEPT
{
return __BT_UPCAST(bt_self_component, self_component);
}
{
return __BT_UPCAST(bt_self_component, self_component);
}
*/
extern bt_self_component *
bt_self_message_iterator_borrow_component(
*/
extern bt_self_component *
bt_self_message_iterator_borrow_component(
- bt_self_message_iterator *self_message_iterator);
+ bt_self_message_iterator *self_message_iterator) __BT_NOEXCEPT;
*/
extern bt_self_component_port_output *
bt_self_message_iterator_borrow_port(
*/
extern bt_self_component_port_output *
bt_self_message_iterator_borrow_port(
- bt_self_message_iterator *self_message_iterator);
+ bt_self_message_iterator *self_message_iterator)
+ __BT_NOEXCEPT;
*/
extern void bt_self_message_iterator_set_data(
bt_self_message_iterator *self_message_iterator,
*/
extern void bt_self_message_iterator_set_data(
bt_self_message_iterator *self_message_iterator,
+ void *user_data) __BT_NOEXCEPT;
*/
extern
void *bt_self_message_iterator_get_data(
*/
extern
void *bt_self_message_iterator_get_data(
- const bt_self_message_iterator *self_message_iterator);
+ const bt_self_message_iterator *self_message_iterator)
+ __BT_NOEXCEPT;
Adds an interrupter to a graph.
*/
extern bt_bool bt_self_message_iterator_is_interrupted(
Adds an interrupter to a graph.
*/
extern bt_bool bt_self_message_iterator_is_interrupted(
- const bt_self_message_iterator *self_message_iterator);
+ const bt_self_message_iterator *self_message_iterator)
+ __BT_NOEXCEPT;
*/
extern void bt_self_message_iterator_configuration_set_can_seek_forward(
bt_self_message_iterator_configuration *configuration,
*/
extern void bt_self_message_iterator_configuration_set_can_seek_forward(
bt_self_message_iterator_configuration *configuration,
- bt_bool can_seek_forward);
+ bt_bool can_seek_forward) __BT_NOEXCEPT;
@bt_pre_is_bool_val{int_range}
*/
extern uint64_t bt_integer_range_unsigned_get_lower(
@bt_pre_is_bool_val{int_range}
*/
extern uint64_t bt_integer_range_unsigned_get_lower(
- const bt_integer_range_unsigned *int_range);
+ const bt_integer_range_unsigned *int_range) __BT_NOEXCEPT;
@bt_pre_is_bool_val{int_range}
*/
extern uint64_t bt_integer_range_unsigned_get_upper(
@bt_pre_is_bool_val{int_range}
*/
extern uint64_t bt_integer_range_unsigned_get_upper(
- const bt_integer_range_unsigned *int_range);
+ const bt_integer_range_unsigned *int_range) __BT_NOEXCEPT;
*/
extern bt_bool bt_integer_range_unsigned_is_equal(
const bt_integer_range_unsigned *a_int_range,
*/
extern bt_bool bt_integer_range_unsigned_is_equal(
const bt_integer_range_unsigned *a_int_range,
- const bt_integer_range_unsigned *b_int_range);
+ const bt_integer_range_unsigned *b_int_range) __BT_NOEXCEPT;
@bt_pre_is_bool_val{int_range}
*/
extern int64_t bt_integer_range_signed_get_lower(
@bt_pre_is_bool_val{int_range}
*/
extern int64_t bt_integer_range_signed_get_lower(
- const bt_integer_range_signed *int_range);
+ const bt_integer_range_signed *int_range) __BT_NOEXCEPT;
@bt_pre_is_bool_val{int_range}
*/
extern int64_t bt_integer_range_signed_get_upper(
@bt_pre_is_bool_val{int_range}
*/
extern int64_t bt_integer_range_signed_get_upper(
- const bt_integer_range_signed *int_range);
+ const bt_integer_range_signed *int_range) __BT_NOEXCEPT;
*/
extern bt_bool bt_integer_range_signed_is_equal(
const bt_integer_range_signed *a_int_range,
*/
extern bt_bool bt_integer_range_signed_is_equal(
const bt_integer_range_signed *a_int_range,
- const bt_integer_range_signed *b_int_range);
+ const bt_integer_range_signed *b_int_range) __BT_NOEXCEPT;
@bt_pre_not_null{int_range_set}
*/
extern uint64_t bt_integer_range_set_get_range_count(
@bt_pre_not_null{int_range_set}
*/
extern uint64_t bt_integer_range_set_get_range_count(
- const bt_integer_range_set *int_range_set);
+ const bt_integer_range_set *int_range_set) __BT_NOEXCEPT;
@returns
New unsigned integer range set, or \c NULL on memory error.
*/
@returns
New unsigned integer range set, or \c NULL on memory error.
*/
-extern bt_integer_range_set_unsigned *bt_integer_range_set_unsigned_create(void);
+extern bt_integer_range_set_unsigned *bt_integer_range_set_unsigned_create(
+ void) __BT_NOEXCEPT;
extern bt_integer_range_set_add_range_status
bt_integer_range_set_unsigned_add_range(
bt_integer_range_set_unsigned *int_range_set,
extern bt_integer_range_set_add_range_status
bt_integer_range_set_unsigned_add_range(
bt_integer_range_set_unsigned *int_range_set,
- uint64_t lower, uint64_t upper);
+ uint64_t lower, uint64_t upper) __BT_NOEXCEPT;
extern const bt_integer_range_unsigned *
bt_integer_range_set_unsigned_borrow_range_by_index_const(
const bt_integer_range_set_unsigned *int_range_set,
extern const bt_integer_range_unsigned *
bt_integer_range_set_unsigned_borrow_range_by_index_const(
const bt_integer_range_set_unsigned *int_range_set,
+ uint64_t index) __BT_NOEXCEPT;
*/
extern bt_bool bt_integer_range_set_unsigned_is_equal(
const bt_integer_range_set_unsigned *int_range_set_a,
*/
extern bt_bool bt_integer_range_set_unsigned_is_equal(
const bt_integer_range_set_unsigned *int_range_set_a,
- const bt_integer_range_set_unsigned *int_range_set_b);
+ const bt_integer_range_set_unsigned *int_range_set_b)
+ __BT_NOEXCEPT;
static inline
const bt_integer_range_set *bt_integer_range_set_unsigned_as_range_set_const(
const bt_integer_range_set_unsigned *int_range_set)
static inline
const bt_integer_range_set *bt_integer_range_set_unsigned_as_range_set_const(
const bt_integer_range_set_unsigned *int_range_set)
{
return __BT_UPCAST_CONST(bt_integer_range_set, int_range_set);
}
{
return __BT_UPCAST_CONST(bt_integer_range_set, int_range_set);
}
Decrements the reference count of an unsigned integer range set.
*/
extern void bt_integer_range_set_unsigned_get_ref(
Decrements the reference count of an unsigned integer range set.
*/
extern void bt_integer_range_set_unsigned_get_ref(
- const bt_integer_range_set_unsigned *int_range_set);
+ const bt_integer_range_set_unsigned *int_range_set)
+ __BT_NOEXCEPT;
Increments the reference count of an unsigned integer range set.
*/
extern void bt_integer_range_set_unsigned_put_ref(
Increments the reference count of an unsigned integer range set.
*/
extern void bt_integer_range_set_unsigned_put_ref(
- const bt_integer_range_set_unsigned *int_range_set);
+ const bt_integer_range_set_unsigned *int_range_set)
+ __BT_NOEXCEPT;
@returns
New signed integer range set, or \c NULL on memory error.
*/
@returns
New signed integer range set, or \c NULL on memory error.
*/
-extern bt_integer_range_set_signed *bt_integer_range_set_signed_create(void);
+extern bt_integer_range_set_signed *bt_integer_range_set_signed_create(
+ void) __BT_NOEXCEPT;
extern bt_integer_range_set_add_range_status
bt_integer_range_set_signed_add_range(
bt_integer_range_set_signed *int_range_set,
extern bt_integer_range_set_add_range_status
bt_integer_range_set_signed_add_range(
bt_integer_range_set_signed *int_range_set,
- int64_t lower, int64_t upper);
+ int64_t lower, int64_t upper) __BT_NOEXCEPT;
*/
extern const bt_integer_range_signed *
bt_integer_range_set_signed_borrow_range_by_index_const(
*/
extern const bt_integer_range_signed *
bt_integer_range_set_signed_borrow_range_by_index_const(
- const bt_integer_range_set_signed *int_range_set, uint64_t index);
+ const bt_integer_range_set_signed *int_range_set,
+ uint64_t index) __BT_NOEXCEPT;
*/
extern bt_bool bt_integer_range_set_signed_is_equal(
const bt_integer_range_set_signed *int_range_set_a,
*/
extern bt_bool bt_integer_range_set_signed_is_equal(
const bt_integer_range_set_signed *int_range_set_a,
- const bt_integer_range_set_signed *int_range_set_b);
+ const bt_integer_range_set_signed *int_range_set_b)
+ __BT_NOEXCEPT;
static inline
const bt_integer_range_set *bt_integer_range_set_signed_as_range_set_const(
const bt_integer_range_set_signed *int_range_set)
static inline
const bt_integer_range_set *bt_integer_range_set_signed_as_range_set_const(
const bt_integer_range_set_signed *int_range_set)
{
return __BT_UPCAST_CONST(bt_integer_range_set, int_range_set);
}
{
return __BT_UPCAST_CONST(bt_integer_range_set, int_range_set);
}
Decrements the reference count of a signed integer range set.
*/
extern void bt_integer_range_set_signed_get_ref(
Decrements the reference count of a signed integer range set.
*/
extern void bt_integer_range_set_signed_get_ref(
- const bt_integer_range_set_signed *int_range_set);
+ const bt_integer_range_set_signed *int_range_set) __BT_NOEXCEPT;
Increments the reference count of a signed integer range set.
*/
extern void bt_integer_range_set_signed_put_ref(
Increments the reference count of a signed integer range set.
*/
extern void bt_integer_range_set_signed_put_ref(
- const bt_integer_range_set_signed *int_range_set);
+ const bt_integer_range_set_signed *int_range_set) __BT_NOEXCEPT;
@sa bt_logging_get_global_level() —
Returns the current library's global logging level.
*/
@sa bt_logging_get_global_level() —
Returns the current library's global logging level.
*/
-extern void bt_logging_set_global_level(bt_logging_level logging_level);
+extern void bt_logging_set_global_level(bt_logging_level logging_level)
+ __BT_NOEXCEPT;
@sa bt_logging_set_global_level() —
Sets the current library's global logging level.
*/
@sa bt_logging_set_global_level() —
Sets the current library's global logging level.
*/
-extern bt_logging_level bt_logging_get_global_level(void);
+extern bt_logging_level bt_logging_get_global_level(void) __BT_NOEXCEPT;
@sa bt_logging_get_global_level() —
Returns the current library's global logging level.
*/
@sa bt_logging_get_global_level() —
Returns the current library's global logging level.
*/
-extern bt_logging_level bt_logging_get_minimal_level(void);
+extern bt_logging_level bt_logging_get_minimal_level(void) __BT_NOEXCEPT;
extern bt_plugin_find_status bt_plugin_find(const char *plugin_name,
bt_bool find_in_std_env_var, bt_bool find_in_user_dir,
bt_bool find_in_sys_dir, bt_bool find_in_static,
extern bt_plugin_find_status bt_plugin_find(const char *plugin_name,
bt_bool find_in_std_env_var, bt_bool find_in_user_dir,
bt_bool find_in_sys_dir, bt_bool find_in_static,
- bt_bool fail_on_load_error, const bt_plugin **plugin);
+ bt_bool fail_on_load_error, const bt_plugin **plugin)
+ __BT_NOEXCEPT;
bt_plugin_find_all_status bt_plugin_find_all(bt_bool find_in_std_env_var,
bt_bool find_in_user_dir, bt_bool find_in_sys_dir,
bt_bool find_in_static, bt_bool fail_on_load_error,
bt_plugin_find_all_status bt_plugin_find_all(bt_bool find_in_std_env_var,
bt_bool find_in_user_dir, bt_bool find_in_sys_dir,
bt_bool find_in_static, bt_bool fail_on_load_error,
- const bt_plugin_set **plugins);
+ const bt_plugin_set **plugins) __BT_NOEXCEPT;
*/
extern bt_plugin_find_all_from_file_status bt_plugin_find_all_from_file(
const char *path, bt_bool fail_on_load_error,
*/
extern bt_plugin_find_all_from_file_status bt_plugin_find_all_from_file(
const char *path, bt_bool fail_on_load_error,
- const bt_plugin_set **plugins);
+ const bt_plugin_set **plugins) __BT_NOEXCEPT;
*/
extern bt_plugin_find_all_from_dir_status bt_plugin_find_all_from_dir(
const char *path, bt_bool recurse, bt_bool fail_on_load_error,
*/
extern bt_plugin_find_all_from_dir_status bt_plugin_find_all_from_dir(
const char *path, bt_bool recurse, bt_bool fail_on_load_error,
- const bt_plugin_set **plugins);
+ const bt_plugin_set **plugins) __BT_NOEXCEPT;
@bt_pre_not_null{plugins}
*/
extern bt_plugin_find_all_from_static_status bt_plugin_find_all_from_static(
@bt_pre_not_null{plugins}
*/
extern bt_plugin_find_all_from_static_status bt_plugin_find_all_from_static(
- bt_bool fail_on_load_error, const bt_plugin_set **plugins);
+ bt_bool fail_on_load_error, const bt_plugin_set **plugins)
+ __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
@bt_pre_not_null{plugin}
*/
-extern const char *bt_plugin_get_name(const bt_plugin *plugin);
+extern const char *bt_plugin_get_name(const bt_plugin *plugin) __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
@bt_pre_not_null{plugin}
*/
-extern const char *bt_plugin_get_description(const bt_plugin *plugin);
+extern const char *bt_plugin_get_description(const bt_plugin *plugin)
+ __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
@bt_pre_not_null{plugin}
*/
-extern const char *bt_plugin_get_author(const bt_plugin *plugin);
+extern const char *bt_plugin_get_author(const bt_plugin *plugin) __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
@bt_pre_not_null{plugin}
*/
-extern const char *bt_plugin_get_license(const bt_plugin *plugin);
+extern const char *bt_plugin_get_license(const bt_plugin *plugin) __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
@bt_pre_not_null{plugin}
*/
-extern const char *bt_plugin_get_path(const bt_plugin *plugin);
+extern const char *bt_plugin_get_path(const bt_plugin *plugin) __BT_NOEXCEPT;
*/
extern bt_property_availability bt_plugin_get_version(
const bt_plugin *plugin, unsigned int *major,
*/
extern bt_property_availability bt_plugin_get_version(
const bt_plugin *plugin, unsigned int *major,
- unsigned int *minor, unsigned int *patch, const char **extra);
+ unsigned int *minor, unsigned int *patch, const char **extra)
+ __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_get_source_component_class_count(
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_get_source_component_class_count(
- const bt_plugin *plugin);
+ const bt_plugin *plugin) __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_get_filter_component_class_count(
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_get_filter_component_class_count(
- const bt_plugin *plugin);
+ const bt_plugin *plugin) __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_get_sink_component_class_count(
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_get_sink_component_class_count(
- const bt_plugin *plugin);
+ const bt_plugin *plugin) __BT_NOEXCEPT;
*/
extern const bt_component_class_source *
bt_plugin_borrow_source_component_class_by_index_const(
*/
extern const bt_component_class_source *
bt_plugin_borrow_source_component_class_by_index_const(
- const bt_plugin *plugin, uint64_t index);
+ const bt_plugin *plugin, uint64_t index) __BT_NOEXCEPT;
*/
extern const bt_component_class_filter *
bt_plugin_borrow_filter_component_class_by_index_const(
*/
extern const bt_component_class_filter *
bt_plugin_borrow_filter_component_class_by_index_const(
- const bt_plugin *plugin, uint64_t index);
+ const bt_plugin *plugin, uint64_t index) __BT_NOEXCEPT;
*/
extern const bt_component_class_sink *
bt_plugin_borrow_sink_component_class_by_index_const(
*/
extern const bt_component_class_sink *
bt_plugin_borrow_sink_component_class_by_index_const(
- const bt_plugin *plugin, uint64_t index);
+ const bt_plugin *plugin, uint64_t index) __BT_NOEXCEPT;
*/
extern const bt_component_class_source *
bt_plugin_borrow_source_component_class_by_name_const(
*/
extern const bt_component_class_source *
bt_plugin_borrow_source_component_class_by_name_const(
- const bt_plugin *plugin, const char *name);
+ const bt_plugin *plugin, const char *name) __BT_NOEXCEPT;
*/
extern const bt_component_class_filter *
bt_plugin_borrow_filter_component_class_by_name_const(
*/
extern const bt_component_class_filter *
bt_plugin_borrow_filter_component_class_by_name_const(
- const bt_plugin *plugin, const char *name);
+ const bt_plugin *plugin, const char *name) __BT_NOEXCEPT;
*/
extern const bt_component_class_sink *
bt_plugin_borrow_sink_component_class_by_name_const(
*/
extern const bt_component_class_sink *
bt_plugin_borrow_sink_component_class_by_name_const(
- const bt_plugin *plugin, const char *name);
+ const bt_plugin *plugin, const char *name) __BT_NOEXCEPT;
@sa bt_plugin_put_ref() —
Decrements the reference count of a plugin.
*/
@sa bt_plugin_put_ref() —
Decrements the reference count of a plugin.
*/
-extern void bt_plugin_get_ref(const bt_plugin *plugin);
+extern void bt_plugin_get_ref(const bt_plugin *plugin) __BT_NOEXCEPT;
@sa bt_plugin_get_ref() —
Increments the reference count of a plugin.
*/
@sa bt_plugin_get_ref() —
Increments the reference count of a plugin.
*/
-extern void bt_plugin_put_ref(const bt_plugin *plugin);
+extern void bt_plugin_put_ref(const bt_plugin *plugin) __BT_NOEXCEPT;
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_set_get_plugin_count(
@bt_pre_not_null{plugin}
*/
extern uint64_t bt_plugin_set_get_plugin_count(
- const bt_plugin_set *plugin_set);
+ const bt_plugin_set *plugin_set) __BT_NOEXCEPT;
\bt_p{plugin_set} (as returned by bt_plugin_set_get_plugin_count()).
*/
extern const bt_plugin *bt_plugin_set_borrow_plugin_by_index_const(
\bt_p{plugin_set} (as returned by bt_plugin_set_get_plugin_count()).
*/
extern const bt_plugin *bt_plugin_set_borrow_plugin_by_index_const(
- const bt_plugin_set *plugin_set, uint64_t index);
+ const bt_plugin_set *plugin_set, uint64_t index) __BT_NOEXCEPT;
@sa bt_plugin_set_put_ref() —
Decrements the reference count of a plugin set.
*/
@sa bt_plugin_set_put_ref() —
Decrements the reference count of a plugin set.
*/
-extern void bt_plugin_set_get_ref(const bt_plugin_set *plugin_set);
+extern void bt_plugin_set_get_ref(const bt_plugin_set *plugin_set)
+ __BT_NOEXCEPT;
@sa bt_plugin_set_get_ref() —
Increments the reference count of a plugin set.
*/
@sa bt_plugin_set_get_ref() —
Increments the reference count of a plugin set.
*/
-extern void bt_plugin_set_put_ref(const bt_plugin_set *plugin_set);
+extern void bt_plugin_set_put_ref(const bt_plugin_set *plugin_set)
+ __BT_NOEXCEPT;
@bt_pre_not_null{self_component}
*/
@bt_pre_not_null{self_component}
*/
-extern bt_clock_class *bt_clock_class_create(bt_self_component *self_component);
+extern bt_clock_class *bt_clock_class_create(bt_self_component *self_component)
+ __BT_NOEXCEPT;
Returns the frequency of a clock class.
*/
extern void bt_clock_class_set_frequency(bt_clock_class *clock_class,
Returns the frequency of a clock class.
*/
extern void bt_clock_class_set_frequency(bt_clock_class *clock_class,
+ uint64_t frequency) __BT_NOEXCEPT;
Sets the frequency of a clock class.
*/
extern uint64_t bt_clock_class_get_frequency(
Sets the frequency of a clock class.
*/
extern uint64_t bt_clock_class_get_frequency(
- const bt_clock_class *clock_class);
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
Returns the offset of a clock class.
*/
extern void bt_clock_class_set_offset(bt_clock_class *clock_class,
Returns the offset of a clock class.
*/
extern void bt_clock_class_set_offset(bt_clock_class *clock_class,
- int64_t offset_seconds, uint64_t offset_cycles);
+ int64_t offset_seconds, uint64_t offset_cycles) __BT_NOEXCEPT;
Sets the offset of a clock class.
*/
extern void bt_clock_class_get_offset(const bt_clock_class *clock_class,
Sets the offset of a clock class.
*/
extern void bt_clock_class_get_offset(const bt_clock_class *clock_class,
- int64_t *offset_seconds, uint64_t *offset_cycles);
+ int64_t *offset_seconds, uint64_t *offset_cycles) __BT_NOEXCEPT;
Returns the precision of a clock class.
*/
extern void bt_clock_class_set_precision(bt_clock_class *clock_class,
Returns the precision of a clock class.
*/
extern void bt_clock_class_set_precision(bt_clock_class *clock_class,
+ uint64_t precision) __BT_NOEXCEPT;
Sets the precision of a clock class.
*/
extern uint64_t bt_clock_class_get_precision(
Sets the precision of a clock class.
*/
extern uint64_t bt_clock_class_get_precision(
- const bt_clock_class *clock_class);
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
Unix epoch.
*/
extern void bt_clock_class_set_origin_is_unix_epoch(bt_clock_class *clock_class,
Unix epoch.
*/
extern void bt_clock_class_set_origin_is_unix_epoch(bt_clock_class *clock_class,
- bt_bool origin_is_unix_epoch);
+ bt_bool origin_is_unix_epoch) __BT_NOEXCEPT;
Sets whether or not the origin of a clock class is the Unix epoch.
*/
extern bt_bool bt_clock_class_origin_is_unix_epoch(
Sets whether or not the origin of a clock class is the Unix epoch.
*/
extern bt_bool bt_clock_class_origin_is_unix_epoch(
- const bt_clock_class *clock_class);
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
Returns the name of a clock class.
*/
extern bt_clock_class_set_name_status bt_clock_class_set_name(
Returns the name of a clock class.
*/
extern bt_clock_class_set_name_status bt_clock_class_set_name(
- bt_clock_class *clock_class, const char *name);
+ bt_clock_class *clock_class, const char *name) __BT_NOEXCEPT;
Sets the name of a clock class.
*/
extern const char *bt_clock_class_get_name(
Sets the name of a clock class.
*/
extern const char *bt_clock_class_get_name(
- const bt_clock_class *clock_class);
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
Returns the description of a clock class.
*/
extern bt_clock_class_set_description_status bt_clock_class_set_description(
Returns the description of a clock class.
*/
extern bt_clock_class_set_description_status bt_clock_class_set_description(
- bt_clock_class *clock_class, const char *description);
+ bt_clock_class *clock_class, const char *description)
+ __BT_NOEXCEPT;
Sets the description of a clock class.
*/
extern const char *bt_clock_class_get_description(
Sets the description of a clock class.
*/
extern const char *bt_clock_class_get_description(
- const bt_clock_class *clock_class);
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
Returns the UUID of a clock class.
*/
extern void bt_clock_class_set_uuid(bt_clock_class *clock_class,
Returns the UUID of a clock class.
*/
extern void bt_clock_class_set_uuid(bt_clock_class *clock_class,
+ bt_uuid uuid) __BT_NOEXCEPT;
Sets the UUID of a clock class.
*/
extern bt_uuid bt_clock_class_get_uuid(
Sets the UUID of a clock class.
*/
extern bt_uuid bt_clock_class_get_uuid(
- const bt_clock_class *clock_class);
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
Borrows the user attributes of a clock class.
*/
extern void bt_clock_class_set_user_attributes(
Borrows the user attributes of a clock class.
*/
extern void bt_clock_class_set_user_attributes(
- bt_clock_class *clock_class, const bt_value *user_attributes);
+ bt_clock_class *clock_class, const bt_value *user_attributes)
+ __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_value *bt_clock_class_borrow_user_attributes(
\c const version of this function.
*/
extern bt_value *bt_clock_class_borrow_user_attributes(
- bt_clock_class *clock_class);
+ bt_clock_class *clock_class) __BT_NOEXCEPT;
See bt_clock_class_borrow_user_attributes().
*/
extern const bt_value *bt_clock_class_borrow_user_attributes_const(
See bt_clock_class_borrow_user_attributes().
*/
extern const bt_value *bt_clock_class_borrow_user_attributes_const(
- const bt_clock_class *clock_class);
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
extern bt_clock_class_cycles_to_ns_from_origin_status
bt_clock_class_cycles_to_ns_from_origin(
const bt_clock_class *clock_class,
extern bt_clock_class_cycles_to_ns_from_origin_status
bt_clock_class_cycles_to_ns_from_origin(
const bt_clock_class *clock_class,
- uint64_t value, int64_t *ns_from_origin);
+ uint64_t value, int64_t *ns_from_origin) __BT_NOEXCEPT;
@sa bt_clock_class_put_ref() —
Decrements the reference count of a clock class.
*/
@sa bt_clock_class_put_ref() —
Decrements the reference count of a clock class.
*/
-extern void bt_clock_class_get_ref(const bt_clock_class *clock_class);
+extern void bt_clock_class_get_ref(
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
@sa bt_clock_class_get_ref() —
Increments the reference count of a clock class.
*/
@sa bt_clock_class_get_ref() —
Increments the reference count of a clock class.
*/
-extern void bt_clock_class_put_ref(const bt_clock_class *clock_class);
+extern void bt_clock_class_put_ref(
+ const bt_clock_class *clock_class) __BT_NOEXCEPT;
@bt_pre_not_null{clock_snapshot}
*/
extern const bt_clock_class *bt_clock_snapshot_borrow_clock_class_const(
@bt_pre_not_null{clock_snapshot}
*/
extern const bt_clock_class *bt_clock_snapshot_borrow_clock_class_const(
- const bt_clock_snapshot *clock_snapshot);
+ const bt_clock_snapshot *clock_snapshot) __BT_NOEXCEPT;
clock snapshot's value.
*/
extern uint64_t bt_clock_snapshot_get_value(
clock snapshot's value.
*/
extern uint64_t bt_clock_snapshot_get_value(
- const bt_clock_snapshot *clock_snapshot);
+ const bt_clock_snapshot *clock_snapshot) __BT_NOEXCEPT;
extern bt_clock_snapshot_get_ns_from_origin_status
bt_clock_snapshot_get_ns_from_origin(
const bt_clock_snapshot *clock_snapshot,
extern bt_clock_snapshot_get_ns_from_origin_status
bt_clock_snapshot_get_ns_from_origin(
const bt_clock_snapshot *clock_snapshot,
- int64_t *ns_from_origin);
+ int64_t *ns_from_origin) __BT_NOEXCEPT;
stream class.
*/
extern bt_event_class *bt_event_class_create(
stream class.
*/
extern bt_event_class *bt_event_class_create(
- bt_stream_class *stream_class);
+ bt_stream_class *stream_class) __BT_NOEXCEPT;
stream class.
*/
extern bt_event_class *bt_event_class_create_with_id(
stream class.
*/
extern bt_event_class *bt_event_class_create_with_id(
- bt_stream_class *stream_class, uint64_t id);
+ bt_stream_class *stream_class, uint64_t id) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream_class *bt_event_class_borrow_stream_class(
\c const version of this function.
*/
extern bt_stream_class *bt_event_class_borrow_stream_class(
- bt_event_class *event_class);
+ bt_event_class *event_class) __BT_NOEXCEPT;
See bt_event_class_borrow_stream_class().
*/
extern const bt_stream_class *bt_event_class_borrow_stream_class_const(
See bt_event_class_borrow_stream_class().
*/
extern const bt_stream_class *bt_event_class_borrow_stream_class_const(
- const bt_event_class *event_class);
+ const bt_event_class *event_class) __BT_NOEXCEPT;
Creates an event class with a specific numeric ID and adds it to a
stream class.
*/
Creates an event class with a specific numeric ID and adds it to a
stream class.
*/
-extern uint64_t bt_event_class_get_id(const bt_event_class *event_class);
+extern uint64_t bt_event_class_get_id(
+ const bt_event_class *event_class) __BT_NOEXCEPT;
Returns the name of an event class.
*/
extern bt_event_class_set_name_status bt_event_class_set_name(
Returns the name of an event class.
*/
extern bt_event_class_set_name_status bt_event_class_set_name(
- bt_event_class *event_class, const char *name);
+ bt_event_class *event_class, const char *name) __BT_NOEXCEPT;
@sa bt_event_class_set_name() —
Sets the name of an event class.
*/
@sa bt_event_class_set_name() —
Sets the name of an event class.
*/
-extern const char *bt_event_class_get_name(const bt_event_class *event_class);
+extern const char *bt_event_class_get_name(
+ const bt_event_class *event_class) __BT_NOEXCEPT;
Returns the log level of an event class.
*/
extern void bt_event_class_set_log_level(bt_event_class *event_class,
Returns the log level of an event class.
*/
extern void bt_event_class_set_log_level(bt_event_class *event_class,
- bt_event_class_log_level log_level);
+ bt_event_class_log_level log_level) __BT_NOEXCEPT;
*/
extern bt_property_availability bt_event_class_get_log_level(
const bt_event_class *event_class,
*/
extern bt_property_availability bt_event_class_get_log_level(
const bt_event_class *event_class,
- bt_event_class_log_level *log_level);
+ bt_event_class_log_level *log_level) __BT_NOEXCEPT;
Returns the EMF URI of an event class.
*/
extern bt_event_class_set_emf_uri_status bt_event_class_set_emf_uri(
Returns the EMF URI of an event class.
*/
extern bt_event_class_set_emf_uri_status bt_event_class_set_emf_uri(
- bt_event_class *event_class, const char *emf_uri);
+ bt_event_class *event_class, const char *emf_uri) __BT_NOEXCEPT;
Sets the EMF URI of an event class.
*/
extern const char *bt_event_class_get_emf_uri(
Sets the EMF URI of an event class.
*/
extern const char *bt_event_class_get_emf_uri(
- const bt_event_class *event_class);
+ const bt_event_class *event_class) __BT_NOEXCEPT;
*/
extern bt_event_class_set_field_class_status
bt_event_class_set_payload_field_class(bt_event_class *event_class,
*/
extern bt_event_class_set_field_class_status
bt_event_class_set_payload_field_class(bt_event_class *event_class,
- bt_field_class *field_class);
+ bt_field_class *field_class) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_field_class *bt_event_class_borrow_payload_field_class(
\c const version of this function.
*/
extern bt_field_class *bt_event_class_borrow_payload_field_class(
- bt_event_class *event_class);
+ bt_event_class *event_class) __BT_NOEXCEPT;
See bt_event_class_borrow_payload_field_class().
*/
extern const bt_field_class *bt_event_class_borrow_payload_field_class_const(
See bt_event_class_borrow_payload_field_class().
*/
extern const bt_field_class *bt_event_class_borrow_payload_field_class_const(
- const bt_event_class *event_class);
+ const bt_event_class *event_class) __BT_NOEXCEPT;
*/
extern bt_event_class_set_field_class_status
bt_event_class_set_specific_context_field_class(bt_event_class *event_class,
*/
extern bt_event_class_set_field_class_status
bt_event_class_set_specific_context_field_class(bt_event_class *event_class,
- bt_field_class *field_class);
+ bt_field_class *field_class) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_field_class *
\c const version of this function.
*/
extern bt_field_class *
-bt_event_class_borrow_specific_context_field_class(bt_event_class *event_class);
+bt_event_class_borrow_specific_context_field_class(
+ bt_event_class *event_class) __BT_NOEXCEPT;
*/
extern const bt_field_class *
bt_event_class_borrow_specific_context_field_class_const(
*/
extern const bt_field_class *
bt_event_class_borrow_specific_context_field_class_const(
- const bt_event_class *event_class);
+ const bt_event_class *event_class) __BT_NOEXCEPT;
Borrows the user attributes of an event class.
*/
extern void bt_event_class_set_user_attributes(
Borrows the user attributes of an event class.
*/
extern void bt_event_class_set_user_attributes(
- bt_event_class *event_class, const bt_value *user_attributes);
+ bt_event_class *event_class, const bt_value *user_attributes)
+ __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_value *bt_event_class_borrow_user_attributes(
\c const version of this function.
*/
extern bt_value *bt_event_class_borrow_user_attributes(
- bt_event_class *event_class);
+ bt_event_class *event_class) __BT_NOEXCEPT;
See bt_event_class_borrow_user_attributes().
*/
extern const bt_value *bt_event_class_borrow_user_attributes_const(
See bt_event_class_borrow_user_attributes().
*/
extern const bt_value *bt_event_class_borrow_user_attributes_const(
- const bt_event_class *event_class);
+ const bt_event_class *event_class) __BT_NOEXCEPT;
@sa bt_event_class_put_ref() —
Decrements the reference count of an event class.
*/
@sa bt_event_class_put_ref() —
Decrements the reference count of an event class.
*/
-extern void bt_event_class_get_ref(const bt_event_class *event_class);
+extern void bt_event_class_get_ref(
+ const bt_event_class *event_class) __BT_NOEXCEPT;
@sa bt_event_class_get_ref() —
Increments the reference count of an event class.
*/
@sa bt_event_class_get_ref() —
Increments the reference count of an event class.
*/
-extern void bt_event_class_put_ref(const bt_event_class *event_class);
+extern void bt_event_class_put_ref(
+ const bt_event_class *event_class) __BT_NOEXCEPT;
@sa bt_event_borrow_class_const() —
\c const version of this function.
*/
@sa bt_event_borrow_class_const() —
\c const version of this function.
*/
-extern bt_event_class *bt_event_borrow_class(bt_event *event);
+extern bt_event_class *bt_event_borrow_class(bt_event *event) __BT_NOEXCEPT;
See bt_event_borrow_class().
*/
extern const bt_event_class *bt_event_borrow_class_const(
See bt_event_borrow_class().
*/
extern const bt_event_class *bt_event_borrow_class_const(
- const bt_event *event);
+ const bt_event *event) __BT_NOEXCEPT;
@sa bt_event_borrow_stream_const() —
\c const version of this function.
*/
@sa bt_event_borrow_stream_const() —
\c const version of this function.
*/
-extern bt_stream *bt_event_borrow_stream(bt_event *event);
+extern bt_stream *bt_event_borrow_stream(bt_event *event) __BT_NOEXCEPT;
See bt_event_borrow_stream().
*/
extern const bt_stream *bt_event_borrow_stream_const(
See bt_event_borrow_stream().
*/
extern const bt_stream *bt_event_borrow_stream_const(
- const bt_event *event);
+ const bt_event *event) __BT_NOEXCEPT;
@sa bt_event_borrow_packet_const() —
\c const version of this function.
*/
@sa bt_event_borrow_packet_const() —
\c const version of this function.
*/
-extern bt_packet *bt_event_borrow_packet(bt_event *event);
+extern bt_packet *bt_event_borrow_packet(bt_event *event) __BT_NOEXCEPT;
See bt_event_borrow_packet().
*/
extern const bt_packet *bt_event_borrow_packet_const(
See bt_event_borrow_packet().
*/
extern const bt_packet *bt_event_borrow_packet_const(
- const bt_event *event);
+ const bt_event *event) __BT_NOEXCEPT;
@sa bt_event_borrow_payload_field_const() —
\c const version of this function.
*/
@sa bt_event_borrow_payload_field_const() —
\c const version of this function.
*/
-extern bt_field *bt_event_borrow_payload_field(bt_event *event);
+extern bt_field *bt_event_borrow_payload_field(bt_event *event) __BT_NOEXCEPT;
See bt_event_borrow_payload_field().
*/
extern const bt_field *bt_event_borrow_payload_field_const(
See bt_event_borrow_payload_field().
*/
extern const bt_field *bt_event_borrow_payload_field_const(
- const bt_event *event);
+ const bt_event *event) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_field *
\c const version of this function.
*/
extern bt_field *
-bt_event_borrow_specific_context_field(bt_event *event);
+bt_event_borrow_specific_context_field(bt_event *event) __BT_NOEXCEPT;
See bt_event_borrow_specific_context_field().
*/
extern const bt_field *bt_event_borrow_specific_context_field_const(
See bt_event_borrow_specific_context_field().
*/
extern const bt_field *bt_event_borrow_specific_context_field_const(
- const bt_event *event);
+ const bt_event *event) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_field *
\c const version of this function.
*/
extern bt_field *
-bt_event_borrow_common_context_field(bt_event *event);
+bt_event_borrow_common_context_field(bt_event *event) __BT_NOEXCEPT;
See bt_event_borrow_common_context_field().
*/
extern const bt_field *bt_event_borrow_common_context_field_const(
See bt_event_borrow_common_context_field().
*/
extern const bt_field *bt_event_borrow_common_context_field_const(
- const bt_event *event);
+ const bt_event *event) __BT_NOEXCEPT;
given type.
*/
extern bt_field_class_type bt_field_class_get_type(
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;
*/
static inline
bt_bool bt_field_class_type_is(const bt_field_class_type type,
*/
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;
}
{
return (type & other_type) == other_type;
}
Borrows the user attributes of a field class.
*/
extern void bt_field_class_set_user_attributes(
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;
\c const version of this function.
*/
extern bt_value *bt_field_class_borrow_user_attributes(
\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;
See bt_field_class_borrow_user_attributes().
*/
extern const bt_value *bt_field_class_borrow_user_attributes_const(
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_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(
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;
@bt_pre_is_ba_fc{field_class}
*/
extern uint64_t bt_field_class_bit_array_get_length(
@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(
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;
Sets the field value range of an integer field class.
*/
extern uint64_t bt_field_class_integer_get_field_value_range(
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;
*/
extern void bt_field_class_integer_set_preferred_display_base(
bt_field_class *field_class,
*/
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;
*/
extern bt_field_class_integer_preferred_display_base
bt_field_class_integer_get_preferred_display_base(
*/
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_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_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_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_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(
@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;
@bt_pre_not_null{mapping}
*/
extern const char *bt_field_class_enumeration_mapping_get_label(
@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_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;
extern bt_field_class_enumeration_add_mapping_status
bt_field_class_enumeration_unsigned_add_mapping(
bt_field_class *field_class, const char *label,
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;
*/
extern const bt_field_class_enumeration_unsigned_mapping *
bt_field_class_enumeration_unsigned_borrow_mapping_by_index_const(
*/
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;
*/
extern const bt_field_class_enumeration_unsigned_mapping *
bt_field_class_enumeration_unsigned_borrow_mapping_by_label_const(
*/
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;
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,
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) __BT_NOEXCEPT;
*/
extern const bt_integer_range_set_unsigned *
bt_field_class_enumeration_unsigned_mapping_borrow_ranges_const(
*/
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;
const bt_field_class_enumeration_mapping *
bt_field_class_enumeration_unsigned_mapping_as_mapping_const(
const bt_field_class_enumeration_unsigned_mapping *mapping)
const bt_field_class_enumeration_mapping *
bt_field_class_enumeration_unsigned_mapping_as_mapping_const(
const bt_field_class_enumeration_unsigned_mapping *mapping)
{
return __BT_UPCAST_CONST(bt_field_class_enumeration_mapping, mapping);
}
{
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_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;
extern bt_field_class_enumeration_add_mapping_status
bt_field_class_enumeration_signed_add_mapping(
bt_field_class *field_class, const char *label,
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;
*/
extern const bt_field_class_enumeration_signed_mapping *
bt_field_class_enumeration_signed_borrow_mapping_by_index_const(
*/
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;
*/
extern const bt_field_class_enumeration_signed_mapping *
bt_field_class_enumeration_signed_borrow_mapping_by_label_const(
*/
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;
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,
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) __BT_NOEXCEPT;
*/
extern const bt_integer_range_set_signed *
bt_field_class_enumeration_signed_mapping_borrow_ranges_const(
*/
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;
const bt_field_class_enumeration_mapping *
bt_field_class_enumeration_signed_mapping_as_mapping_const(
const bt_field_class_enumeration_signed_mapping *mapping)
const bt_field_class_enumeration_mapping *
bt_field_class_enumeration_signed_mapping_as_mapping_const(
const bt_field_class_enumeration_signed_mapping *mapping)
{
return __BT_UPCAST_CONST(bt_field_class_enumeration_mapping, mapping);
}
{
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_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(
\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;
*/
extern const bt_field_class *
bt_field_class_array_borrow_element_field_class_const(
*/
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,
*/
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;
@bt_pre_is_sarray_fc{field_class}
*/
extern uint64_t bt_field_class_array_static_get_length(
@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,
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(
*/
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_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;
*/
extern bt_field_class_structure_append_member_status
bt_field_class_structure_append_member(
*/
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;
@bt_pre_is_struct_fc{field_class}
*/
extern uint64_t bt_field_class_structure_get_member_count(
@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;
*/
extern bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_index(
*/
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;
*/
extern const bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_index_const(
*/
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;
*/
extern bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_name(
*/
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;
*/
extern const bt_field_class_structure_member *
bt_field_class_structure_borrow_member_by_name_const(
*/
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(
@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;
*/
extern bt_field_class *
bt_field_class_structure_member_borrow_field_class(
*/
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;
*/
extern const bt_field_class *
bt_field_class_structure_member_borrow_field_class_const(
*/
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;
Borrows the user attributes of a structure field class member.
*/
extern void bt_field_class_structure_member_set_user_attributes(
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;
*/
extern bt_value *
bt_field_class_structure_member_borrow_user_attributes(
*/
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;
*/
extern const bt_value *
bt_field_class_structure_member_borrow_user_attributes_const(
*/
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(
\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;
*/
extern const bt_field_class *
bt_field_class_option_borrow_field_class_const(
*/
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,
*/
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(
*/
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,
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;
*/
extern void
bt_field_class_option_with_selector_field_bool_set_selector_is_reversed(
*/
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;
*/
extern bt_bool
bt_field_class_option_with_selector_field_bool_selector_is_reversed(
*/
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,
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;
*/
extern const bt_integer_range_set_unsigned *
bt_field_class_option_with_selector_field_integer_unsigned_borrow_selector_ranges_const(
*/
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,
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;
*/
extern const bt_integer_range_set_signed *
bt_field_class_option_with_selector_field_integer_signed_borrow_selector_ranges_const(
*/
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,
*/
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;
@bt_pre_is_var_fc{field_class}
*/
extern uint64_t bt_field_class_variant_get_option_count(
@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;
*/
extern bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_index(
*/
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;
*/
extern const bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_index_const(
*/
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;
*/
extern bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_name(
*/
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;
*/
extern const bt_field_class_variant_option *
bt_field_class_variant_borrow_option_by_name_const(
*/
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(
@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;
\c const version of this function.
*/
extern bt_field_class *bt_field_class_variant_option_borrow_field_class(
\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;
*/
extern const bt_field_class *
bt_field_class_variant_option_borrow_field_class_const(
*/
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;
*/
extern void bt_field_class_variant_option_set_user_attributes(
bt_field_class_variant_option *option,
*/
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;
\c const version of this function.
*/
extern bt_value *bt_field_class_variant_option_borrow_user_attributes(
\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;
See bt_field_class_variant_option_borrow_user_attributes().
*/
extern const bt_value *bt_field_class_variant_option_borrow_user_attributes_const(
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,
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(
*/
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,
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;
*/
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(
*/
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;
*/
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(
*/
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(
*/
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;
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)
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)
{
return __BT_UPCAST_CONST(bt_field_class_variant_option, option);
}
{
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,
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;
*/
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(
*/
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;
*/
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(
*/
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(
*/
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;
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)
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)
{
return __BT_UPCAST_CONST(bt_field_class_variant_option, option);
}
{
return __BT_UPCAST_CONST(bt_field_class_variant_option, option);
}
@sa bt_field_class_put_ref() —
Decrements the reference count of a field class.
*/
@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;
@sa bt_field_class_get_ref() —
Increments the reference count of a field class.
*/
@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;
@bt_pre_not_null{field_path}
*/
extern bt_field_path_scope bt_field_path_get_root_scope(
@bt_pre_not_null{field_path}
*/
extern bt_field_path_scope bt_field_path_get_root_scope(
- const bt_field_path *field_path);
+ const bt_field_path *field_path) __BT_NOEXCEPT;
@bt_pre_not_null{field_path}
*/
extern uint64_t bt_field_path_get_item_count(
@bt_pre_not_null{field_path}
*/
extern uint64_t bt_field_path_get_item_count(
- const bt_field_path *field_path);
+ const bt_field_path *field_path) __BT_NOEXCEPT;
Returns the number of items contained in a field path.
*/
extern const bt_field_path_item *bt_field_path_borrow_item_by_index_const(
Returns the number of items contained in a field path.
*/
extern const bt_field_path_item *bt_field_path_borrow_item_by_index_const(
- const bt_field_path *field_path, uint64_t index);
+ const bt_field_path *field_path, uint64_t index) __BT_NOEXCEPT;
@sa bt_field_path_put_ref() —
Decrements the reference count of a field path.
*/
@sa bt_field_path_put_ref() —
Decrements the reference count of a field path.
*/
-extern void bt_field_path_get_ref(const bt_field_path *field_path);
+extern void bt_field_path_get_ref(const bt_field_path *field_path)
+ __BT_NOEXCEPT;
@sa bt_field_path_get_ref() —
Increments the reference count of a field path.
*/
@sa bt_field_path_get_ref() —
Increments the reference count of a field path.
*/
-extern void bt_field_path_put_ref(const bt_field_path *field_path);
+extern void bt_field_path_put_ref(const bt_field_path *field_path)
+ __BT_NOEXCEPT;
@bt_pre_not_null{item}
*/
extern bt_field_path_item_type bt_field_path_item_get_type(
@bt_pre_not_null{item}
*/
extern bt_field_path_item_type bt_field_path_item_get_type(
- const bt_field_path_item *item);
+ const bt_field_path_item *item) __BT_NOEXCEPT;
#BT_FIELD_PATH_ITEM_TYPE_INDEX).
*/
extern uint64_t bt_field_path_item_index_get_index(
#BT_FIELD_PATH_ITEM_TYPE_INDEX).
*/
extern uint64_t bt_field_path_item_index_get_index(
- const bt_field_path_item *item);
+ const bt_field_path_item *item) __BT_NOEXCEPT;
Returns the type enumerator of a \bt_fc.
*/
extern bt_field_class_type bt_field_get_class_type(
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.
*/
@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;
See bt_field_borrow_class().
*/
extern const bt_field_class *bt_field_borrow_class_const(
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.
*/
@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;
@sa bt_field_bool_set_value() —
Sets the value of a boolean field.
*/
@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,
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) __BT_NOEXCEPT;
Sets the bits of a bit array field from an integer.
*/
extern uint64_t bt_field_bit_array_get_value_as_integer(
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,
Returns the value of an unsigned integer field.
*/
extern void bt_field_integer_unsigned_set_value(bt_field *field,
+ uint64_t value) __BT_NOEXCEPT;
Sets the value of an unsigned integer field.
*/
extern uint64_t bt_field_integer_unsigned_get_value(
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;
Returns the value of an signed integer field.
*/
extern void bt_field_integer_signed_set_value(bt_field *field,
Returns the value of an signed integer field.
*/
extern void bt_field_integer_signed_set_value(bt_field *field,
+ int64_t value) __BT_NOEXCEPT;
@sa bt_field_integer_signed_set_value() —
Sets the value of an signed integer field.
*/
@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,
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) __BT_NOEXCEPT;
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,
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) __BT_NOEXCEPT;
Returns the value of a single-precision real field.
*/
extern void bt_field_real_single_precision_set_value(bt_field *field,
Returns the value of a single-precision real field.
*/
extern void bt_field_real_single_precision_set_value(bt_field *field,
+ float value) __BT_NOEXCEPT;
@sa bt_field_real_single_precision_set_value() —
Sets the value of a single-precision real field.
*/
@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;
Returns the value of a double-precision real field.
*/
extern void bt_field_real_double_precision_set_value(bt_field *field,
Returns the value of a double-precision real field.
*/
extern void bt_field_real_double_precision_set_value(bt_field *field,
+ double value) __BT_NOEXCEPT;
@sa bt_field_real_double_precision_set_value() —
Sets the value of a double-precision real field.
*/
@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(
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;
@bt_pre_not_null{field}
@bt_pre_is_string_field{field}
*/
@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;
@sa bt_field_string_set_value() —
Sets the value of a string field.
*/
@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;
Sets the value of a string field.
*/
extern bt_field_string_append_status bt_field_string_append(
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;
Sets the value of a string field.
*/
extern bt_field_string_append_status bt_field_string_append_with_length(
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;
@sa bt_field_string_set_value() —
Sets the value of a string field.
*/
@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}
*/
@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;
\c const version of this function.
*/
extern bt_field *bt_field_array_borrow_element_field_by_index(
\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;
*/
extern const bt_field *
bt_field_array_borrow_element_field_by_index_const(
*/
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;
@bt_pre_hot{field}
*/
extern bt_field_array_dynamic_set_length_status
@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(
\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;
*/
extern const bt_field *
bt_field_structure_borrow_member_field_by_index_const(
*/
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;
\c const version of this function.
*/
extern bt_field *bt_field_structure_borrow_member_field_by_name(
\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;
*/
extern const bt_field *
bt_field_structure_borrow_member_field_by_name_const(
*/
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}
*/
@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;
@sa bt_field_option_borrow_field_const() —
\c const version of this function.
*/
@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;
See bt_field_option_borrow_field().
*/
extern const bt_field *
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(
*/
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;
\c const version of this function.
*/
extern bt_field *bt_field_variant_borrow_selected_option_field(
\c const version of this function.
*/
extern bt_field *bt_field_variant_borrow_selected_option_field(
+ bt_field *field) __BT_NOEXCEPT;
*/
extern const bt_field *
bt_field_variant_borrow_selected_option_field_const(
*/
extern const bt_field *
bt_field_variant_borrow_selected_option_field_const(
- const bt_field *field);
+ const bt_field *field) __BT_NOEXCEPT;
Borrows the field of a variant field's selected option.
*/
extern uint64_t bt_field_variant_get_selected_option_index(
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;
*/
extern const bt_field_class_variant_option *
bt_field_variant_borrow_selected_option_class_const(
*/
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;
*/
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(
*/
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;
*/
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(
*/
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;
<code>bt_stream_class_supports_packets(bt_stream_borrow_class_const(stream))</code>
returns #BT_TRUE.
*/
<code>bt_stream_class_supports_packets(bt_stream_borrow_class_const(stream))</code>
returns #BT_TRUE.
*/
-extern bt_packet *bt_packet_create(const bt_stream *stream);
+extern bt_packet *bt_packet_create(const bt_stream *stream) __BT_NOEXCEPT;
@sa bt_packet_borrow_stream_const() —
\c const version of this function.
*/
@sa bt_packet_borrow_stream_const() —
\c const version of this function.
*/
-extern bt_stream *bt_packet_borrow_stream(bt_packet *packet);
+extern bt_stream *bt_packet_borrow_stream(bt_packet *packet) __BT_NOEXCEPT;
See bt_packet_borrow_stream().
*/
extern const bt_stream *bt_packet_borrow_stream_const(
See bt_packet_borrow_stream().
*/
extern const bt_stream *bt_packet_borrow_stream_const(
- const bt_packet *packet);
+ const bt_packet *packet) __BT_NOEXCEPT;
\c const version of this function.
*/
extern
\c const version of this function.
*/
extern
-bt_field *bt_packet_borrow_context_field(bt_packet *packet);
+bt_field *bt_packet_borrow_context_field(bt_packet *packet) __BT_NOEXCEPT;
*/
extern
const bt_field *bt_packet_borrow_context_field_const(
*/
extern
const bt_field *bt_packet_borrow_context_field_const(
- const bt_packet *packet);
+ const bt_packet *packet) __BT_NOEXCEPT;
@sa bt_packet_put_ref() —
Decrements the reference count of a packet.
*/
@sa bt_packet_put_ref() —
Decrements the reference count of a packet.
*/
-extern void bt_packet_get_ref(const bt_packet *packet);
+extern void bt_packet_get_ref(const bt_packet *packet) __BT_NOEXCEPT;
@sa bt_packet_get_ref() —
Increments the reference count of a packet.
*/
@sa bt_packet_get_ref() —
Increments the reference count of a packet.
*/
-extern void bt_packet_put_ref(const bt_packet *packet);
+extern void bt_packet_put_ref(const bt_packet *packet) __BT_NOEXCEPT;
trace class.
*/
extern bt_stream_class *bt_stream_class_create(
trace class.
*/
extern bt_stream_class *bt_stream_class_create(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
trace class.
*/
extern bt_stream_class *bt_stream_class_create_with_id(
trace class.
*/
extern bt_stream_class *bt_stream_class_create_with_id(
- bt_trace_class *trace_class, uint64_t id);
+ bt_trace_class *trace_class, uint64_t id) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_trace_class *bt_stream_class_borrow_trace_class(
\c const version of this function.
*/
extern bt_trace_class *bt_stream_class_borrow_trace_class(
- bt_stream_class *stream_class);
+ bt_stream_class *stream_class) __BT_NOEXCEPT;
See bt_stream_class_borrow_trace_class().
*/
extern const bt_trace_class *bt_stream_class_borrow_trace_class_const(
See bt_stream_class_borrow_trace_class().
*/
extern const bt_trace_class *bt_stream_class_borrow_trace_class_const(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
@bt_pre_not_null{stream_class}
*/
extern uint64_t bt_stream_class_get_event_class_count(
@bt_pre_not_null{stream_class}
*/
extern uint64_t bt_stream_class_get_event_class_count(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
*/
extern bt_event_class *
bt_stream_class_borrow_event_class_by_index(
*/
extern bt_event_class *
bt_stream_class_borrow_event_class_by_index(
- bt_stream_class *stream_class, uint64_t index);
+ bt_stream_class *stream_class, uint64_t index) __BT_NOEXCEPT;
*/
extern const bt_event_class *
bt_stream_class_borrow_event_class_by_index_const(
*/
extern const bt_event_class *
bt_stream_class_borrow_event_class_by_index_const(
- const bt_stream_class *stream_class, uint64_t index);
+ const bt_stream_class *stream_class, uint64_t index)
+ __BT_NOEXCEPT;
*/
extern bt_event_class *
bt_stream_class_borrow_event_class_by_id(
*/
extern bt_event_class *
bt_stream_class_borrow_event_class_by_id(
- bt_stream_class *stream_class, uint64_t id);
+ bt_stream_class *stream_class, uint64_t id) __BT_NOEXCEPT;
*/
extern const bt_event_class *
bt_stream_class_borrow_event_class_by_id_const(
*/
extern const bt_event_class *
bt_stream_class_borrow_event_class_by_id_const(
- const bt_stream_class *stream_class, uint64_t id);
+ const bt_stream_class *stream_class, uint64_t id) __BT_NOEXCEPT;
trace class.
*/
extern uint64_t bt_stream_class_get_id(
trace class.
*/
extern uint64_t bt_stream_class_get_id(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
Returns the name of a stream class.
*/
extern bt_stream_class_set_name_status bt_stream_class_set_name(
Returns the name of a stream class.
*/
extern bt_stream_class_set_name_status bt_stream_class_set_name(
- bt_stream_class *stream_class, const char *name);
+ bt_stream_class *stream_class, const char *name) __BT_NOEXCEPT;
Sets the name of a stream class.
*/
extern const char *bt_stream_class_get_name(
Sets the name of a stream class.
*/
extern const char *bt_stream_class_get_name(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
extern bt_stream_class_set_default_clock_class_status
bt_stream_class_set_default_clock_class(
bt_stream_class *stream_class,
extern bt_stream_class_set_default_clock_class_status
bt_stream_class_set_default_clock_class(
bt_stream_class *stream_class,
- bt_clock_class *clock_class);
+ bt_clock_class *clock_class) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_clock_class *bt_stream_class_borrow_default_clock_class(
\c const version of this function.
*/
extern bt_clock_class *bt_stream_class_borrow_default_clock_class(
- bt_stream_class *stream_class);
+ bt_stream_class *stream_class) __BT_NOEXCEPT;
*/
extern const bt_clock_class *
bt_stream_class_borrow_default_clock_class_const(
*/
extern const bt_clock_class *
bt_stream_class_borrow_default_clock_class_const(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
extern bt_stream_class_set_field_class_status
bt_stream_class_set_packet_context_field_class(
bt_stream_class *stream_class,
extern bt_stream_class_set_field_class_status
bt_stream_class_set_packet_context_field_class(
bt_stream_class *stream_class,
- bt_field_class *field_class);
+ bt_field_class *field_class) __BT_NOEXCEPT;
*/
extern bt_field_class *
bt_stream_class_borrow_packet_context_field_class(
*/
extern bt_field_class *
bt_stream_class_borrow_packet_context_field_class(
- bt_stream_class *stream_class);
+ bt_stream_class *stream_class) __BT_NOEXCEPT;
*/
extern const bt_field_class *
bt_stream_class_borrow_packet_context_field_class_const(
*/
extern const bt_field_class *
bt_stream_class_borrow_packet_context_field_class_const(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
extern bt_stream_class_set_field_class_status
bt_stream_class_set_event_common_context_field_class(
bt_stream_class *stream_class,
extern bt_stream_class_set_field_class_status
bt_stream_class_set_event_common_context_field_class(
bt_stream_class *stream_class,
- bt_field_class *field_class);
+ bt_field_class *field_class) __BT_NOEXCEPT;
extern bt_field_class *
bt_stream_class_borrow_event_common_context_field_class(
extern bt_field_class *
bt_stream_class_borrow_event_common_context_field_class(
- bt_stream_class *stream_class);
+ bt_stream_class *stream_class) __BT_NOEXCEPT;
*/
extern const bt_field_class *
bt_stream_class_borrow_event_common_context_field_class_const(
*/
extern const bt_field_class *
bt_stream_class_borrow_event_common_context_field_class_const(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
*/
extern void bt_stream_class_set_assigns_automatic_event_class_id(
bt_stream_class *stream_class,
*/
extern void bt_stream_class_set_assigns_automatic_event_class_id(
bt_stream_class *stream_class,
- bt_bool assigns_automatic_event_class_id);
+ bt_bool assigns_automatic_event_class_id) __BT_NOEXCEPT;
event class IDs.
*/
extern bt_bool bt_stream_class_assigns_automatic_event_class_id(
event class IDs.
*/
extern bt_bool bt_stream_class_assigns_automatic_event_class_id(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
stream IDs.
*/
extern void bt_stream_class_set_assigns_automatic_stream_id(
stream IDs.
*/
extern void bt_stream_class_set_assigns_automatic_stream_id(
- bt_stream_class *stream_class, bt_bool assigns_automatic_stream_id);
+ bt_stream_class *stream_class,
+ bt_bool assigns_automatic_stream_id) __BT_NOEXCEPT;
stream IDs.
*/
extern bt_bool bt_stream_class_assigns_automatic_stream_id(
stream IDs.
*/
extern bt_bool bt_stream_class_assigns_automatic_stream_id(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
extern void bt_stream_class_set_supports_packets(
bt_stream_class *stream_class, bt_bool supports_packets,
bt_bool with_beginning_default_clock_snapshot,
extern void bt_stream_class_set_supports_packets(
bt_stream_class *stream_class, bt_bool supports_packets,
bt_bool with_beginning_default_clock_snapshot,
- bt_bool with_end_default_clock_snapshot);
+ bt_bool with_end_default_clock_snapshot) __BT_NOEXCEPT;
Sets whether or not a stream class's streams have packets.
*/
extern bt_bool bt_stream_class_supports_packets(
Sets whether or not a stream class's streams have packets.
*/
extern bt_bool bt_stream_class_supports_packets(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
have an end default clock snapshot.
*/
extern bt_bool bt_stream_class_packets_have_beginning_default_clock_snapshot(
have an end default clock snapshot.
*/
extern bt_bool bt_stream_class_packets_have_beginning_default_clock_snapshot(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
have a beginning default clock snapshot.
*/
extern bt_bool bt_stream_class_packets_have_end_default_clock_snapshot(
have a beginning default clock snapshot.
*/
extern bt_bool bt_stream_class_packets_have_end_default_clock_snapshot(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
extern void bt_stream_class_set_supports_discarded_events(
bt_stream_class *stream_class,
bt_bool supports_discarded_events,
extern void bt_stream_class_set_supports_discarded_events(
bt_stream_class *stream_class,
bt_bool supports_discarded_events,
- bt_bool with_default_clock_snapshots);
+ bt_bool with_default_clock_snapshots) __BT_NOEXCEPT;
events.
*/
extern bt_bool bt_stream_class_supports_discarded_events(
events.
*/
extern bt_bool bt_stream_class_supports_discarded_events(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
events.
*/
extern bt_bool bt_stream_class_discarded_events_have_default_clock_snapshots(
events.
*/
extern bt_bool bt_stream_class_discarded_events_have_default_clock_snapshots(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
extern void bt_stream_class_set_supports_discarded_packets(
bt_stream_class *stream_class,
bt_bool supports_discarded_packets,
extern void bt_stream_class_set_supports_discarded_packets(
bt_stream_class *stream_class,
bt_bool supports_discarded_packets,
- bt_bool with_default_clock_snapshots);
+ bt_bool with_default_clock_snapshots) __BT_NOEXCEPT;
packets.
*/
extern bt_bool bt_stream_class_supports_discarded_packets(
packets.
*/
extern bt_bool bt_stream_class_supports_discarded_packets(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
packets.
*/
extern bt_bool bt_stream_class_discarded_packets_have_default_clock_snapshots(
packets.
*/
extern bt_bool bt_stream_class_discarded_packets_have_default_clock_snapshots(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
Borrows the user attributes of a stream class.
*/
extern void bt_stream_class_set_user_attributes(
Borrows the user attributes of a stream class.
*/
extern void bt_stream_class_set_user_attributes(
- bt_stream_class *stream_class, const bt_value *user_attributes);
+ bt_stream_class *stream_class,
+ const bt_value *user_attributes) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_value *bt_stream_class_borrow_user_attributes(
\c const version of this function.
*/
extern bt_value *bt_stream_class_borrow_user_attributes(
- bt_stream_class *stream_class);
+ bt_stream_class *stream_class) __BT_NOEXCEPT;
See bt_stream_class_borrow_user_attributes().
*/
extern const bt_value *bt_stream_class_borrow_user_attributes_const(
See bt_stream_class_borrow_user_attributes().
*/
extern const bt_value *bt_stream_class_borrow_user_attributes_const(
- const bt_stream_class *stream_class);
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
@sa bt_stream_class_put_ref() —
Decrements the reference count of a stream class.
*/
@sa bt_stream_class_put_ref() —
Decrements the reference count of a stream class.
*/
-extern void bt_stream_class_get_ref(const bt_stream_class *stream_class);
+extern void bt_stream_class_get_ref(
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
@sa bt_stream_class_get_ref() —
Increments the reference count of a stream class.
*/
@sa bt_stream_class_get_ref() —
Increments the reference count of a stream class.
*/
-extern void bt_stream_class_put_ref(const bt_stream_class *stream_class);
+extern void bt_stream_class_put_ref(
+ const bt_stream_class *stream_class) __BT_NOEXCEPT;
trace.
*/
extern bt_stream *bt_stream_create(bt_stream_class *stream_class,
trace.
*/
extern bt_stream *bt_stream_create(bt_stream_class *stream_class,
+ bt_trace *trace) __BT_NOEXCEPT;
*/
extern bt_stream *bt_stream_create_with_id(
bt_stream_class *stream_class,
*/
extern bt_stream *bt_stream_create_with_id(
bt_stream_class *stream_class,
- bt_trace *trace, uint64_t id);
+ bt_trace *trace, uint64_t id) __BT_NOEXCEPT;
@sa bt_stream_borrow_class_const() —
\c const version of this function.
*/
@sa bt_stream_borrow_class_const() —
\c const version of this function.
*/
-extern bt_stream_class *bt_stream_borrow_class(bt_stream *stream);
+extern bt_stream_class *bt_stream_borrow_class(bt_stream *stream) __BT_NOEXCEPT;
See bt_stream_borrow_class().
*/
extern const bt_stream_class *bt_stream_borrow_class_const(
See bt_stream_borrow_class().
*/
extern const bt_stream_class *bt_stream_borrow_class_const(
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
@sa bt_stream_borrow_trace_const() —
\c const version of this function.
*/
@sa bt_stream_borrow_trace_const() —
\c const version of this function.
*/
-extern bt_trace *bt_stream_borrow_trace(bt_stream *stream);
+extern bt_trace *bt_stream_borrow_trace(bt_stream *stream) __BT_NOEXCEPT;
See bt_stream_borrow_trace().
*/
extern const bt_trace *bt_stream_borrow_trace_const(
See bt_stream_borrow_trace().
*/
extern const bt_trace *bt_stream_borrow_trace_const(
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
Creates a stream with a specific numeric ID and adds it to a
trace.
*/
Creates a stream with a specific numeric ID and adds it to a
trace.
*/
-extern uint64_t bt_stream_get_id(const bt_stream *stream);
+extern uint64_t bt_stream_get_id(const bt_stream *stream) __BT_NOEXCEPT;
Returns the name of a stream.
*/
extern bt_stream_set_name_status bt_stream_set_name(bt_stream *stream,
Returns the name of a stream.
*/
extern bt_stream_set_name_status bt_stream_set_name(bt_stream *stream,
+ const char *name) __BT_NOEXCEPT;
@sa bt_stream_class_set_name() —
Sets the name of a stream.
*/
@sa bt_stream_class_set_name() —
Sets the name of a stream.
*/
-extern const char *bt_stream_get_name(const bt_stream *stream);
+extern const char *bt_stream_get_name(const bt_stream *stream) __BT_NOEXCEPT;
Borrows the user attributes of a stream.
*/
extern void bt_stream_set_user_attributes(
Borrows the user attributes of a stream.
*/
extern void bt_stream_set_user_attributes(
- bt_stream *stream, const bt_value *user_attributes);
+ bt_stream *stream, const bt_value *user_attributes)
+ __BT_NOEXCEPT;
@sa bt_stream_borrow_user_attributes_const() —
\c const version of this function.
*/
@sa bt_stream_borrow_user_attributes_const() —
\c const version of this function.
*/
-extern bt_value *bt_stream_borrow_user_attributes(bt_stream *stream);
+extern bt_value *bt_stream_borrow_user_attributes(bt_stream *stream)
+ __BT_NOEXCEPT;
See bt_stream_borrow_user_attributes().
*/
extern const bt_value *bt_stream_borrow_user_attributes_const(
See bt_stream_borrow_user_attributes().
*/
extern const bt_value *bt_stream_borrow_user_attributes_const(
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
@sa bt_stream_put_ref() —
Decrements the reference count of a stream.
*/
@sa bt_stream_put_ref() —
Decrements the reference count of a stream.
*/
-extern void bt_stream_get_ref(const bt_stream *stream);
+extern void bt_stream_get_ref(const bt_stream *stream) __BT_NOEXCEPT;
@sa bt_stream_get_ref() —
Increments the reference count of a stream.
*/
@sa bt_stream_get_ref() —
Increments the reference count of a stream.
*/
-extern void bt_stream_put_ref(const bt_stream *stream);
+extern void bt_stream_put_ref(const bt_stream *stream) __BT_NOEXCEPT;
@returns
New trace class reference, or \c NULL on memory error.
*/
@returns
New trace class reference, or \c NULL on memory error.
*/
-extern bt_trace_class *bt_trace_class_create(bt_self_component *self_component);
+extern bt_trace_class *bt_trace_class_create(bt_self_component *self_component)
+ __BT_NOEXCEPT;
@bt_pre_not_null{trace_class}
*/
extern uint64_t bt_trace_class_get_stream_class_count(
@bt_pre_not_null{trace_class}
*/
extern uint64_t bt_trace_class_get_stream_class_count(
- const bt_trace_class *trace_class);
+ const bt_trace_class *trace_class) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream_class *bt_trace_class_borrow_stream_class_by_index(
\c const version of this function.
*/
extern bt_stream_class *bt_trace_class_borrow_stream_class_by_index(
- bt_trace_class *trace_class, uint64_t index);
+ bt_trace_class *trace_class, uint64_t index) __BT_NOEXCEPT;
*/
extern const bt_stream_class *
bt_trace_class_borrow_stream_class_by_index_const(
*/
extern const bt_stream_class *
bt_trace_class_borrow_stream_class_by_index_const(
- const bt_trace_class *trace_class, uint64_t index);
+ const bt_trace_class *trace_class,
+ uint64_t index) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream_class *bt_trace_class_borrow_stream_class_by_id(
\c const version of this function.
*/
extern bt_stream_class *bt_trace_class_borrow_stream_class_by_id(
- bt_trace_class *trace_class, uint64_t id);
+ bt_trace_class *trace_class, uint64_t id) __BT_NOEXCEPT;
See bt_trace_class_borrow_stream_class_by_id().
*/
extern const bt_stream_class *bt_trace_class_borrow_stream_class_by_id_const(
See bt_trace_class_borrow_stream_class_by_id().
*/
extern const bt_stream_class *bt_trace_class_borrow_stream_class_by_id_const(
- const bt_trace_class *trace_class, uint64_t id);
+ const bt_trace_class *trace_class, uint64_t id) __BT_NOEXCEPT;
*/
extern void bt_trace_class_set_assigns_automatic_stream_class_id(
bt_trace_class *trace_class,
*/
extern void bt_trace_class_set_assigns_automatic_stream_class_id(
bt_trace_class *trace_class,
- bt_bool assigns_automatic_stream_class_id);
+ bt_bool assigns_automatic_stream_class_id) __BT_NOEXCEPT;
stream class IDs.
*/
extern bt_bool bt_trace_class_assigns_automatic_stream_class_id(
stream class IDs.
*/
extern bt_bool bt_trace_class_assigns_automatic_stream_class_id(
- const bt_trace_class *trace_class);
+ const bt_trace_class *trace_class) __BT_NOEXCEPT;
Borrows the user attributes of a trace class.
*/
extern void bt_trace_class_set_user_attributes(
Borrows the user attributes of a trace class.
*/
extern void bt_trace_class_set_user_attributes(
- bt_trace_class *trace_class, const bt_value *user_attributes);
+ bt_trace_class *trace_class,
+ const bt_value *user_attributes) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_value *bt_trace_class_borrow_user_attributes(
\c const version of this function.
*/
extern bt_value *bt_trace_class_borrow_user_attributes(
- bt_trace_class *trace_class);
+ bt_trace_class *trace_class) __BT_NOEXCEPT;
See bt_trace_class_borrow_user_attributes().
*/
extern const bt_value *bt_trace_class_borrow_user_attributes_const(
See bt_trace_class_borrow_user_attributes().
*/
extern const bt_value *bt_trace_class_borrow_user_attributes_const(
- const bt_trace_class *trace_class);
+ const bt_trace_class *trace_class) __BT_NOEXCEPT;
bt_trace_class_add_destruction_listener(
const bt_trace_class *trace_class,
bt_trace_class_destruction_listener_func user_func,
bt_trace_class_add_destruction_listener(
const bt_trace_class *trace_class,
bt_trace_class_destruction_listener_func user_func,
- void *user_data, bt_listener_id *listener_id);
+ void *user_data, bt_listener_id *listener_id) __BT_NOEXCEPT;
*/
extern bt_trace_class_remove_listener_status
bt_trace_class_remove_destruction_listener(
*/
extern bt_trace_class_remove_listener_status
bt_trace_class_remove_destruction_listener(
- const bt_trace_class *trace_class, bt_listener_id listener_id);
+ const bt_trace_class *trace_class, bt_listener_id listener_id)
+ __BT_NOEXCEPT;
@sa bt_trace_class_put_ref() —
Decrements the reference count of a trace class.
*/
@sa bt_trace_class_put_ref() —
Decrements the reference count of a trace class.
*/
-extern void bt_trace_class_get_ref(const bt_trace_class *trace_class);
+extern void bt_trace_class_get_ref(
+ const bt_trace_class *trace_class) __BT_NOEXCEPT;
@sa bt_trace_class_get_ref() —
Increments the reference count of a trace class.
*/
@sa bt_trace_class_get_ref() —
Increments the reference count of a trace class.
*/
-extern void bt_trace_class_put_ref(const bt_trace_class *trace_class);
+extern void bt_trace_class_put_ref(
+ const bt_trace_class *trace_class) __BT_NOEXCEPT;
@returns
New trace reference, or \c NULL on memory error.
*/
@returns
New trace reference, or \c NULL on memory error.
*/
-extern bt_trace *bt_trace_create(bt_trace_class *trace_class);
+extern bt_trace *bt_trace_create(bt_trace_class *trace_class) __BT_NOEXCEPT;
@sa bt_trace_borrow_class_const() —
\c const version of this function.
*/
@sa bt_trace_borrow_class_const() —
\c const version of this function.
*/
-extern bt_trace_class *bt_trace_borrow_class(bt_trace *trace);
+extern bt_trace_class *bt_trace_borrow_class(bt_trace *trace) __BT_NOEXCEPT;
See bt_trace_borrow_class().
*/
extern const bt_trace_class *bt_trace_borrow_class_const(
See bt_trace_borrow_class().
*/
extern const bt_trace_class *bt_trace_borrow_class_const(
- const bt_trace *trace);
+ const bt_trace *trace) __BT_NOEXCEPT;
@bt_pre_not_null{trace}
*/
@bt_pre_not_null{trace}
*/
-extern uint64_t bt_trace_get_stream_count(const bt_trace *trace);
+extern uint64_t bt_trace_get_stream_count(const bt_trace *trace) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream *bt_trace_borrow_stream_by_index(bt_trace *trace,
\c const version of this function.
*/
extern bt_stream *bt_trace_borrow_stream_by_index(bt_trace *trace,
+ uint64_t index) __BT_NOEXCEPT;
See bt_trace_borrow_stream_by_index().
*/
extern const bt_stream *bt_trace_borrow_stream_by_index_const(
See bt_trace_borrow_stream_by_index().
*/
extern const bt_stream *bt_trace_borrow_stream_by_index_const(
- const bt_trace *trace, uint64_t index);
+ const bt_trace *trace, uint64_t index) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_stream *bt_trace_borrow_stream_by_id(bt_trace *trace,
\c const version of this function.
*/
extern bt_stream *bt_trace_borrow_stream_by_id(bt_trace *trace,
+ uint64_t id) __BT_NOEXCEPT;
See bt_trace_borrow_stream_by_id().
*/
extern const bt_stream *bt_trace_borrow_stream_by_id_const(
See bt_trace_borrow_stream_by_id().
*/
extern const bt_stream *bt_trace_borrow_stream_by_id_const(
- const bt_trace *trace, uint64_t id);
+ const bt_trace *trace, uint64_t id) __BT_NOEXCEPT;
Returns the name of a trace.
*/
extern bt_trace_set_name_status bt_trace_set_name(bt_trace *trace,
Returns the name of a trace.
*/
extern bt_trace_set_name_status bt_trace_set_name(bt_trace *trace,
+ const char *name) __BT_NOEXCEPT;
@sa bt_trace_set_name() —
Sets the name of a trace.
*/
@sa bt_trace_set_name() —
Sets the name of a trace.
*/
-extern const char *bt_trace_get_name(const bt_trace *trace);
+extern const char *bt_trace_get_name(const bt_trace *trace) __BT_NOEXCEPT;
@sa bt_trace_get_uuid() —
Returns the UUID of a trace.
*/
@sa bt_trace_get_uuid() —
Returns the UUID of a trace.
*/
-extern void bt_trace_set_uuid(bt_trace *trace, bt_uuid uuid);
+extern void bt_trace_set_uuid(bt_trace *trace, bt_uuid uuid) __BT_NOEXCEPT;
@sa bt_trace_set_uuid() —
Sets the UUID of a trace.
*/
@sa bt_trace_set_uuid() —
Sets the UUID of a trace.
*/
-extern bt_uuid bt_trace_get_uuid(const bt_trace *trace);
+extern bt_uuid bt_trace_get_uuid(const bt_trace *trace) __BT_NOEXCEPT;
*/
extern bt_trace_set_environment_entry_status
bt_trace_set_environment_entry_integer(bt_trace *trace, const char *name,
*/
extern bt_trace_set_environment_entry_status
bt_trace_set_environment_entry_integer(bt_trace *trace, const char *name,
+ int64_t value) __BT_NOEXCEPT;
*/
extern bt_trace_set_environment_entry_status
bt_trace_set_environment_entry_string(bt_trace *trace, const char *name,
*/
extern bt_trace_set_environment_entry_status
bt_trace_set_environment_entry_string(bt_trace *trace, const char *name,
+ const char *value) __BT_NOEXCEPT;
@bt_pre_not_null{trace}
*/
@bt_pre_not_null{trace}
*/
-extern uint64_t bt_trace_get_environment_entry_count(const bt_trace *trace);
+extern uint64_t bt_trace_get_environment_entry_count(
+ const bt_trace *trace) __BT_NOEXCEPT;
*/
extern void bt_trace_borrow_environment_entry_by_index_const(
const bt_trace *trace, uint64_t index,
*/
extern void bt_trace_borrow_environment_entry_by_index_const(
const bt_trace *trace, uint64_t index,
- const char **name, const bt_value **value);
+ const char **name, const bt_value **value) __BT_NOEXCEPT;
@bt_pre_not_null{name}
*/
extern const bt_value *bt_trace_borrow_environment_entry_value_by_name_const(
@bt_pre_not_null{name}
*/
extern const bt_value *bt_trace_borrow_environment_entry_value_by_name_const(
- const bt_trace *trace, const char *name);
+ const bt_trace *trace, const char *name) __BT_NOEXCEPT;
Borrows the user attributes of a trace.
*/
extern void bt_trace_set_user_attributes(
Borrows the user attributes of a trace.
*/
extern void bt_trace_set_user_attributes(
- bt_trace *trace, const bt_value *user_attributes);
+ bt_trace *trace, const bt_value *user_attributes) __BT_NOEXCEPT;
@sa bt_trace_borrow_user_attributes_const() —
\c const version of this function.
*/
@sa bt_trace_borrow_user_attributes_const() —
\c const version of this function.
*/
-extern bt_value *bt_trace_borrow_user_attributes(bt_trace *trace);
+extern bt_value *bt_trace_borrow_user_attributes(bt_trace *trace) __BT_NOEXCEPT;
See bt_trace_borrow_user_attributes().
*/
extern const bt_value *bt_trace_borrow_user_attributes_const(
See bt_trace_borrow_user_attributes().
*/
extern const bt_value *bt_trace_borrow_user_attributes_const(
- const bt_trace *trace);
+ const bt_trace *trace) __BT_NOEXCEPT;
extern bt_trace_add_listener_status bt_trace_add_destruction_listener(
const bt_trace *trace,
bt_trace_destruction_listener_func user_func,
extern bt_trace_add_listener_status bt_trace_add_destruction_listener(
const bt_trace *trace,
bt_trace_destruction_listener_func user_func,
- void *user_data, bt_listener_id *listener_id);
+ void *user_data, bt_listener_id *listener_id) __BT_NOEXCEPT;
Adds a destruction listener to a trace.
*/
extern bt_trace_remove_listener_status bt_trace_remove_destruction_listener(
Adds a destruction listener to a trace.
*/
extern bt_trace_remove_listener_status bt_trace_remove_destruction_listener(
- const bt_trace *trace, bt_listener_id listener_id);
+ const bt_trace *trace, bt_listener_id listener_id)
+ __BT_NOEXCEPT;
@sa bt_trace_put_ref() —
Decrements the reference count of a trace.
*/
@sa bt_trace_put_ref() —
Decrements the reference count of a trace.
*/
-extern void bt_trace_get_ref(const bt_trace *trace);
+extern void bt_trace_get_ref(const bt_trace *trace) __BT_NOEXCEPT;
@sa bt_trace_get_ref() —
Increments the reference count of a trace.
*/
@sa bt_trace_get_ref() —
Increments the reference count of a trace.
*/
-extern void bt_trace_put_ref(const bt_trace *trace);
+extern void bt_trace_put_ref(const bt_trace *trace) __BT_NOEXCEPT;
bt_util_clock_cycles_to_ns_from_origin_status
bt_util_clock_cycles_to_ns_from_origin(uint64_t cycles,
uint64_t frequency, int64_t offset_seconds,
bt_util_clock_cycles_to_ns_from_origin_status
bt_util_clock_cycles_to_ns_from_origin(uint64_t cycles,
uint64_t frequency, int64_t offset_seconds,
- uint64_t offset_cycles, int64_t *ns_from_origin);
+ uint64_t offset_cycles, int64_t *ns_from_origin) __BT_NOEXCEPT;
@sa bt_value_is_map() —
Returns whether or not a value is a map value.
*/
@sa bt_value_is_map() —
Returns whether or not a value is a map value.
*/
-extern bt_value_type bt_value_get_type(const bt_value *value);
+extern bt_value_type bt_value_get_type(const bt_value *value) __BT_NOEXCEPT;
*/
static inline
bt_bool bt_value_type_is(const bt_value_type type,
*/
static inline
bt_bool bt_value_type_is(const bt_value_type type,
- const bt_value_type other_type)
+ const bt_value_type other_type) __BT_NOEXCEPT
{
return (type & other_type) == other_type;
}
{
return (type & other_type) == other_type;
}
The null value singleton.
*/
static inline
The null value singleton.
*/
static inline
-bt_bool bt_value_is_null(const bt_value *value)
+bt_bool bt_value_is_null(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_NULL;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_NULL;
}
-bt_bool bt_value_is_bool(const bt_value *value)
+bt_bool bt_value_is_bool(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_BOOL;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_BOOL;
}
-bt_bool bt_value_is_unsigned_integer(const bt_value *value)
+bt_bool bt_value_is_unsigned_integer(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_UNSIGNED_INTEGER;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_UNSIGNED_INTEGER;
}
-bt_bool bt_value_is_signed_integer(const bt_value *value)
+bt_bool bt_value_is_signed_integer(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_SIGNED_INTEGER;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_SIGNED_INTEGER;
}
-bt_bool bt_value_is_real(const bt_value *value)
+bt_bool bt_value_is_real(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_REAL;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_REAL;
}
-bt_bool bt_value_is_string(const bt_value *value)
+bt_bool bt_value_is_string(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_STRING;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_STRING;
}
-bt_bool bt_value_is_array(const bt_value *value)
+bt_bool bt_value_is_array(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_ARRAY;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_ARRAY;
}
-bt_bool bt_value_is_map(const bt_value *value)
+bt_bool bt_value_is_map(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_get_type(value) == BT_VALUE_TYPE_MAP;
}
{
return bt_value_get_type(value) == BT_VALUE_TYPE_MAP;
}
@sa bt_value_bool_create_init() —
Creates a boolean value with a given initial raw value.
*/
@sa bt_value_bool_create_init() —
Creates a boolean value with a given initial raw value.
*/
-extern bt_value *bt_value_bool_create(void);
+extern bt_value *bt_value_bool_create(void) __BT_NOEXCEPT;
@sa bt_value_bool_create() —
Creates a boolean value initialized to #BT_FALSE.
*/
@sa bt_value_bool_create() —
Creates a boolean value initialized to #BT_FALSE.
*/
-extern bt_value *bt_value_bool_create_init(bt_bool raw_value);
+extern bt_value *bt_value_bool_create_init(bt_bool raw_value) __BT_NOEXCEPT;
@sa bt_value_bool_get() —
Returns the raw value of a boolean value.
*/
@sa bt_value_bool_get() —
Returns the raw value of a boolean value.
*/
-extern void bt_value_bool_set(bt_value *value, bt_bool raw_value);
+extern void bt_value_bool_set(bt_value *value, bt_bool raw_value) __BT_NOEXCEPT;
@sa bt_value_bool_set() —
Sets the raw value of a boolean value.
*/
@sa bt_value_bool_set() —
Sets the raw value of a boolean value.
*/
-extern bt_bool bt_value_bool_get(const bt_value *value);
+extern bt_bool bt_value_bool_get(const bt_value *value) __BT_NOEXCEPT;
@sa bt_value_integer_unsigned_create_init() —
Creates an unsigned integer value with a given initial raw value.
*/
@sa bt_value_integer_unsigned_create_init() —
Creates an unsigned integer value with a given initial raw value.
*/
-extern bt_value *bt_value_integer_unsigned_create(void);
+extern bt_value *bt_value_integer_unsigned_create(void) __BT_NOEXCEPT;
@sa bt_value_bool_create() —
Creates an unsigned integer value initialized to 0.
*/
@sa bt_value_bool_create() —
Creates an unsigned integer value initialized to 0.
*/
-extern bt_value *bt_value_integer_unsigned_create_init(uint64_t raw_value);
+extern bt_value *bt_value_integer_unsigned_create_init(uint64_t raw_value) __BT_NOEXCEPT;
Returns the raw value of an unsigned integer value.
*/
extern void bt_value_integer_unsigned_set(bt_value *value,
Returns the raw value of an unsigned integer value.
*/
extern void bt_value_integer_unsigned_set(bt_value *value,
+ uint64_t raw_value) __BT_NOEXCEPT;
@sa bt_value_integer_unsigned_set() —
Sets the raw value of an unsigned integer value.
*/
@sa bt_value_integer_unsigned_set() —
Sets the raw value of an unsigned integer value.
*/
-extern uint64_t bt_value_integer_unsigned_get(const bt_value *value);
+extern uint64_t bt_value_integer_unsigned_get(const bt_value *value) __BT_NOEXCEPT;
@sa bt_value_integer_signed_create_init() —
Creates a signed integer value with a given initial raw value.
*/
@sa bt_value_integer_signed_create_init() —
Creates a signed integer value with a given initial raw value.
*/
-extern bt_value *bt_value_integer_signed_create(void);
+extern bt_value *bt_value_integer_signed_create(void) __BT_NOEXCEPT;
@sa bt_value_bool_create() —
Creates a signed integer value initialized to 0.
*/
@sa bt_value_bool_create() —
Creates a signed integer value initialized to 0.
*/
-extern bt_value *bt_value_integer_signed_create_init(int64_t raw_value);
+extern bt_value *bt_value_integer_signed_create_init(int64_t raw_value) __BT_NOEXCEPT;
@sa bt_value_integer_signed_get() —
Returns the raw value of a signed integer value.
*/
@sa bt_value_integer_signed_get() —
Returns the raw value of a signed integer value.
*/
-extern void bt_value_integer_signed_set(bt_value *value, int64_t raw_value);
+extern void bt_value_integer_signed_set(bt_value *value, int64_t raw_value) __BT_NOEXCEPT;
@sa bt_value_integer_signed_set() —
Sets the raw value of a signed integer value.
*/
@sa bt_value_integer_signed_set() —
Sets the raw value of a signed integer value.
*/
-extern int64_t bt_value_integer_signed_get(const bt_value *value);
+extern int64_t bt_value_integer_signed_get(const bt_value *value) __BT_NOEXCEPT;
@sa bt_value_real_create_init() —
Creates a real value with a given initial raw value.
*/
@sa bt_value_real_create_init() —
Creates a real value with a given initial raw value.
*/
-extern bt_value *bt_value_real_create(void);
+extern bt_value *bt_value_real_create(void) __BT_NOEXCEPT;
@sa bt_value_real_create() —
Creates a real value initialized to 0.
*/
@sa bt_value_real_create() —
Creates a real value initialized to 0.
*/
-extern bt_value *bt_value_real_create_init(double raw_value);
+extern bt_value *bt_value_real_create_init(double raw_value) __BT_NOEXCEPT;
@sa bt_value_real_get() —
Returns the raw value of a real value.
*/
@sa bt_value_real_get() —
Returns the raw value of a real value.
*/
-extern void bt_value_real_set(bt_value *value, double raw_value);
+extern void bt_value_real_set(bt_value *value, double raw_value) __BT_NOEXCEPT;
@sa bt_value_real_set() —
Sets the raw value of a real value.
*/
@sa bt_value_real_set() —
Sets the raw value of a real value.
*/
-extern double bt_value_real_get(const bt_value *value);
+extern double bt_value_real_get(const bt_value *value) __BT_NOEXCEPT;
@sa bt_value_string_create_init() —
Creates a string value with a given initial raw value.
*/
@sa bt_value_string_create_init() —
Creates a string value with a given initial raw value.
*/
-extern bt_value *bt_value_string_create(void);
+extern bt_value *bt_value_string_create(void) __BT_NOEXCEPT;
@sa bt_value_string_create() —
Creates an empty string value.
*/
@sa bt_value_string_create() —
Creates an empty string value.
*/
-extern bt_value *bt_value_string_create_init(const char *raw_value);
+extern bt_value *bt_value_string_create_init(const char *raw_value) __BT_NOEXCEPT;
Returns the raw value of a string value.
*/
extern bt_value_string_set_status bt_value_string_set(bt_value *value,
Returns the raw value of a string value.
*/
extern bt_value_string_set_status bt_value_string_set(bt_value *value,
- const char *raw_value);
+ const char *raw_value) __BT_NOEXCEPT;
@sa bt_value_string_set() —
Sets the raw value of a string value.
*/
@sa bt_value_string_set() —
Sets the raw value of a string value.
*/
-extern const char *bt_value_string_get(const bt_value *value);
+extern const char *bt_value_string_get(const bt_value *value) __BT_NOEXCEPT;
@returns
New array value reference, or \c NULL on memory error.
*/
@returns
New array value reference, or \c NULL on memory error.
*/
-extern bt_value *bt_value_array_create(void);
+extern bt_value *bt_value_array_create(void) __BT_NOEXCEPT;
Creates and appends an empty map value to an array value.
*/
extern bt_value_array_append_element_status bt_value_array_append_element(
Creates and appends an empty map value to an array value.
*/
extern bt_value_array_append_element_status bt_value_array_append_element(
- bt_value *value, bt_value *element_value);
+ bt_value *value, bt_value *element_value) __BT_NOEXCEPT;
Appends an existing value to an array value.
*/
extern bt_value_array_append_element_status
Appends an existing value to an array value.
*/
extern bt_value_array_append_element_status
-bt_value_array_append_bool_element(bt_value *value, bt_bool raw_value);
+bt_value_array_append_bool_element(bt_value *value, bt_bool raw_value) __BT_NOEXCEPT;
*/
extern bt_value_array_append_element_status
bt_value_array_append_unsigned_integer_element(bt_value *value,
*/
extern bt_value_array_append_element_status
bt_value_array_append_unsigned_integer_element(bt_value *value,
+ uint64_t raw_value) __BT_NOEXCEPT;
*/
extern bt_value_array_append_element_status
bt_value_array_append_signed_integer_element(bt_value *value,
*/
extern bt_value_array_append_element_status
bt_value_array_append_signed_integer_element(bt_value *value,
+ int64_t raw_value) __BT_NOEXCEPT;
Appends an existing value to an array value.
*/
extern bt_value_array_append_element_status
Appends an existing value to an array value.
*/
extern bt_value_array_append_element_status
-bt_value_array_append_real_element(bt_value *value, double raw_value);
+bt_value_array_append_real_element(bt_value *value, double raw_value) __BT_NOEXCEPT;
Appends an existing value to an array value.
*/
extern bt_value_array_append_element_status
Appends an existing value to an array value.
*/
extern bt_value_array_append_element_status
-bt_value_array_append_string_element(bt_value *value, const char *raw_value);
+bt_value_array_append_string_element(bt_value *value, const char *raw_value) __BT_NOEXCEPT;
*/
extern bt_value_array_append_element_status
bt_value_array_append_empty_array_element(bt_value *value,
*/
extern bt_value_array_append_element_status
bt_value_array_append_empty_array_element(bt_value *value,
- bt_value **element_value);
+ bt_value **element_value) __BT_NOEXCEPT;
*/
extern bt_value_array_append_element_status
bt_value_array_append_empty_map_element(bt_value *value,
*/
extern bt_value_array_append_element_status
bt_value_array_append_empty_map_element(bt_value *value,
- bt_value **element_value);
+ bt_value **element_value) __BT_NOEXCEPT;
*/
extern bt_value_array_set_element_by_index_status
bt_value_array_set_element_by_index(bt_value *value, uint64_t index,
*/
extern bt_value_array_set_element_by_index_status
bt_value_array_set_element_by_index(bt_value *value, uint64_t index,
- bt_value *element_value);
+ bt_value *element_value) __BT_NOEXCEPT;
\c const version of this function.
*/
extern bt_value *bt_value_array_borrow_element_by_index(bt_value *value,
\c const version of this function.
*/
extern bt_value *bt_value_array_borrow_element_by_index(bt_value *value,
+ uint64_t index) __BT_NOEXCEPT;
See bt_value_array_borrow_element_by_index().
*/
extern const bt_value *bt_value_array_borrow_element_by_index_const(
See bt_value_array_borrow_element_by_index().
*/
extern const bt_value *bt_value_array_borrow_element_by_index_const(
- const bt_value *value, uint64_t index);
+ const bt_value *value, uint64_t index) __BT_NOEXCEPT;
@sa bt_value_array_is_empty() —
Returns whether or not an array value is empty.
*/
@sa bt_value_array_is_empty() —
Returns whether or not an array value is empty.
*/
-extern uint64_t bt_value_array_get_length(const bt_value *value);
+extern uint64_t bt_value_array_get_length(const bt_value *value) __BT_NOEXCEPT;
Returns the length of an array value.
*/
static inline
Returns the length of an array value.
*/
static inline
-bt_bool bt_value_array_is_empty(const bt_value *value)
+bt_bool bt_value_array_is_empty(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_array_get_length(value) == 0;
}
{
return bt_value_array_get_length(value) == 0;
}
@returns
New map value reference, or \c NULL on memory error.
*/
@returns
New map value reference, or \c NULL on memory error.
*/
-extern bt_value *bt_value_map_create(void);
+extern bt_value *bt_value_map_create(void) __BT_NOEXCEPT;
Creates a map value and uses it to insert an entry in a map value.
*/
extern bt_value_map_insert_entry_status bt_value_map_insert_entry(
Creates a map value and uses it to insert an entry in a map value.
*/
extern bt_value_map_insert_entry_status bt_value_map_insert_entry(
- bt_value *value, const char *key, bt_value *entry_value);
+ bt_value *value, const char *key,
+ bt_value *entry_value) __BT_NOEXCEPT;
Inserts an entry with an existing value in a map value.
*/
extern bt_value_map_insert_entry_status bt_value_map_insert_bool_entry(
Inserts an entry with an existing value in a map value.
*/
extern bt_value_map_insert_entry_status bt_value_map_insert_bool_entry(
- bt_value *value, const char *key, bt_bool raw_value);
+ bt_value *value, const char *key, bt_bool raw_value)
+ __BT_NOEXCEPT;
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_unsigned_integer_entry(bt_value *value, const char *key,
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_unsigned_integer_entry(bt_value *value, const char *key,
+ uint64_t raw_value) __BT_NOEXCEPT;
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_signed_integer_entry(bt_value *value, const char *key,
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_signed_integer_entry(bt_value *value, const char *key,
+ int64_t raw_value) __BT_NOEXCEPT;
Inserts an entry with an existing value in a map value.
*/
extern bt_value_map_insert_entry_status bt_value_map_insert_real_entry(
Inserts an entry with an existing value in a map value.
*/
extern bt_value_map_insert_entry_status bt_value_map_insert_real_entry(
- bt_value *value, const char *key, double raw_value);
+ bt_value *value, const char *key, double raw_value)
+ __BT_NOEXCEPT;
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_string_entry(bt_value *value, const char *key,
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_string_entry(bt_value *value, const char *key,
- const char *raw_value);
+ const char *raw_value) __BT_NOEXCEPT;
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_empty_array_entry(bt_value *value, const char *key,
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_empty_array_entry(bt_value *value, const char *key,
- bt_value **entry_value);
+ bt_value **entry_value) __BT_NOEXCEPT;
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_empty_map_entry(bt_value *value, const char *key,
*/
extern bt_value_map_insert_entry_status
bt_value_map_insert_empty_map_entry(bt_value *value, const char *key,
- bt_value **entry_value);
+ bt_value **entry_value) __BT_NOEXCEPT;
Returns whether or not a map value has an entry with a given key.
*/
extern bt_value *bt_value_map_borrow_entry_value(
Returns whether or not a map value has an entry with a given key.
*/
extern bt_value *bt_value_map_borrow_entry_value(
- bt_value *value, const char *key);
+ bt_value *value, const char *key) __BT_NOEXCEPT;
See bt_value_map_borrow_entry_value().
*/
extern const bt_value *bt_value_map_borrow_entry_value_const(
See bt_value_map_borrow_entry_value().
*/
extern const bt_value *bt_value_map_borrow_entry_value_const(
- const bt_value *value, const char *key);
+ const bt_value *value, const char *key) __BT_NOEXCEPT;
*/
extern bt_value_map_foreach_entry_status bt_value_map_foreach_entry(
bt_value *value, bt_value_map_foreach_entry_func user_func,
*/
extern bt_value_map_foreach_entry_status bt_value_map_foreach_entry(
bt_value *value, bt_value_map_foreach_entry_func user_func,
+ void *user_data) __BT_NOEXCEPT;
extern bt_value_map_foreach_entry_const_status bt_value_map_foreach_entry_const(
const bt_value *value,
bt_value_map_foreach_entry_const_func user_func,
extern bt_value_map_foreach_entry_const_status bt_value_map_foreach_entry_const(
const bt_value *value,
bt_value_map_foreach_entry_const_func user_func,
+ void *user_data) __BT_NOEXCEPT;
@sa bt_value_map_is_empty() —
Returns whether or not a map value is empty.
*/
@sa bt_value_map_is_empty() —
Returns whether or not a map value is empty.
*/
-extern uint64_t bt_value_map_get_size(const bt_value *value);
+extern uint64_t bt_value_map_get_size(const bt_value *value) __BT_NOEXCEPT;
Returns the size of a map value.
*/
static inline
Returns the size of a map value.
*/
static inline
-bt_bool bt_value_map_is_empty(const bt_value *value)
+bt_bool bt_value_map_is_empty(const bt_value *value) __BT_NOEXCEPT
{
return bt_value_map_get_size(value) == 0;
}
{
return bt_value_map_get_size(value) == 0;
}
Borrows the value of a specific map value entry.
*/
extern bt_bool bt_value_map_has_entry(const bt_value *value,
Borrows the value of a specific map value entry.
*/
extern bt_bool bt_value_map_has_entry(const bt_value *value,
+ const char *key) __BT_NOEXCEPT;
Deep-copies a value.
*/
extern bt_value_map_extend_status bt_value_map_extend(
Deep-copies a value.
*/
extern bt_value_map_extend_status bt_value_map_extend(
- bt_value *value, const bt_value *extension_value);
+ bt_value *value, const bt_value *extension_value) __BT_NOEXCEPT;
@bt_pre_not_null{copy_value}
*/
extern bt_value_copy_status bt_value_copy(const bt_value *value,
@bt_pre_not_null{copy_value}
*/
extern bt_value_copy_status bt_value_copy(const bt_value *value,
- bt_value **copy_value);
+ bt_value **copy_value) __BT_NOEXCEPT;
@bt_pre_not_null{b_value}
*/
extern bt_bool bt_value_is_equal(const bt_value *a_value,
@bt_pre_not_null{b_value}
*/
extern bt_bool bt_value_is_equal(const bt_value *a_value,
- const bt_value *b_value);
+ const bt_value *b_value) __BT_NOEXCEPT;
@sa bt_value_put_ref() —
Decrements the reference count of a value.
*/
@sa bt_value_put_ref() —
Decrements the reference count of a value.
*/
-extern void bt_value_get_ref(const bt_value *value);
+extern void bt_value_get_ref(const bt_value *value) __BT_NOEXCEPT;
@sa bt_value_get_ref() —
Increments the reference count of a value.
*/
@sa bt_value_get_ref() —
Increments the reference count of a value.
*/
-extern void bt_value_put_ref(const bt_value *value);
+extern void bt_value_put_ref(const bt_value *value) __BT_NOEXCEPT;
@returns
Major version of the library.
*/
@returns
Major version of the library.
*/
-extern unsigned int bt_version_get_major(void);
+extern unsigned int bt_version_get_major(void) __BT_NOEXCEPT;
@returns
Minor version of the library.
*/
@returns
Minor version of the library.
*/
-extern unsigned int bt_version_get_minor(void);
+extern unsigned int bt_version_get_minor(void) __BT_NOEXCEPT;
@returns
Patch version of the library.
*/
@returns
Patch version of the library.
*/
-extern unsigned int bt_version_get_patch(void);
+extern unsigned int bt_version_get_patch(void) __BT_NOEXCEPT;
@returns
Development stage of the library's version, or \c NULL if none.
*/
@returns
Development stage of the library's version, or \c NULL if none.
*/
-extern const char *bt_version_get_development_stage(void);
+extern const char *bt_version_get_development_stage(void) __BT_NOEXCEPT;
Version control system revision's description of the library's
version, or \c NULL if none.
*/
Version control system revision's description of the library's
version, or \c NULL if none.
*/
-extern const char *bt_version_get_vcs_revision_description(void);
+extern const char *bt_version_get_vcs_revision_description(void) __BT_NOEXCEPT;
@sa bt_version_get_name_description() —
Returns the description of libbabeltrace2's release name.
*/
@sa bt_version_get_name_description() —
Returns the description of libbabeltrace2's release name.
*/
-extern const char *bt_version_get_name(void);
+extern const char *bt_version_get_name(void) __BT_NOEXCEPT;
@sa bt_version_get_name() —
Returns libbabeltrace2's release name.
*/
@sa bt_version_get_name() —
Returns libbabeltrace2's release name.
*/
-extern const char *bt_version_get_name_description(void);
+extern const char *bt_version_get_name_description(void) __BT_NOEXCEPT;
@returns
Library's version extra name, or \c NULL if not available.
*/
@returns
Library's version extra name, or \c NULL if not available.
*/
-extern const char *bt_version_get_extra_name(void);
+extern const char *bt_version_get_extra_name(void) __BT_NOEXCEPT;
Can contain newlines.
@endparblock
*/
Can contain newlines.
@endparblock
*/
-extern const char *bt_version_get_extra_description(void);
+extern const char *bt_version_get_extra_description(void) __BT_NOEXCEPT;
applied to Babeltrace's source tree for a custom build.
@endparblock
*/
applied to Babeltrace's source tree for a custom build.
@endparblock
*/
-extern const char *bt_version_get_extra_patch_names(void);
+extern const char *bt_version_get_extra_patch_names(void) __BT_NOEXCEPT;
#define __BT_IN_BABELTRACE_H
/*
#define __BT_IN_BABELTRACE_H
/*
- * Define `__BT_ATTR_FORMAT_PRINTF` to nothing, otherwise SWIG fails to parse
- * the included header files that use it.
+ * Define `__BT_ATTR_FORMAT_PRINTF` and `__BT_NOEXCEPT` to nothing,
+ * otherwise SWIG fails to parse the included header files that use it.
*/
#define __BT_ATTR_FORMAT_PRINTF(_string_index, _first_to_check)
*/
#define __BT_ATTR_FORMAT_PRINTF(_string_index, _first_to_check)
/* Common types */
%include <babeltrace2/types.h>
/* Common types */
%include <babeltrace2/types.h>