@ingroup ctfir
@brief CTF IR event class.
+@code
+#include <babeltrace/ctf-ir/event-class.h>
+@endcode
+
A CTF IR <strong><em>event class</em></strong> is a template that you
can use to create concrete \link ctfirevent CTF IR events\endlink.
added to a stream class yet or on error.
@prenotnull{event_class}
+@postrefcountsame{event_class}
@postsuccessrefcountretinc
@sa bt_ctf_stream_class_add_event_class(): Add an event class to
or \c NULL on error.
@prenotnull{event_class}
+@postrefcountsame{event_class}
@postsuccessrefcountretinc
@sa bt_ctf_event_class_set_context_type(): Sets the context field
or \c NULL on error.
@prenotnull{event_class}
+@postrefcountsame{event_class}
@postsuccessrefcountretinc
@sa bt_ctf_event_class_set_payload_type(): Sets the payload field
@prenotnull{name}
@postrefcountsame{event_class}
@postsuccessrefcountretinc
-
*/
extern struct bt_ctf_field_type *bt_ctf_event_class_get_field_by_name(
struct bt_ctf_event_class *event_class, const char *name);