enum bt_field_class_type type;
bool frozen;
+ /* Owned by this */
+ struct bt_value *user_attributes;
+
/*
* This flag indicates whether or not this field class is part
* of a trace class.
bool part_of_trace_class;
};
+struct bt_field_class_bool {
+ struct bt_field_class common;
+};
+
+struct bt_field_class_bit_array {
+ struct bt_field_class common;
+ uint64_t length;
+};
+
struct bt_field_class_integer {
struct bt_field_class common;
struct bt_field_class_real {
struct bt_field_class common;
- bool is_single_precision;
};
struct bt_field_class_string {
struct bt_named_field_class {
GString *name;
+ /* Owned by this */
+ struct bt_value *user_attributes;
+
/* Owned by this */
struct bt_field_class *fc;
struct bt_field_class_array_dynamic {
struct bt_field_class_array common;
- /* Weak: never dereferenced, only use to find it elsewhere */
+ /* Owned by this */
struct bt_field_class *length_fc;
/* Owned by this */
struct bt_field_path *length_field_path;
};
+struct bt_field_class_option {
+ struct bt_field_class common;
+
+ /* Owned by this */
+ struct bt_field_class *content_fc;
+
+ /* Owned by this */
+ struct bt_field_class *selector_fc;
+
+ /* Owned by this */
+ struct bt_field_path *selector_field_path;
+};
+
/* Variant FC (with selector) option: named field class + range set */
struct bt_field_class_variant_with_selector_option {
struct bt_named_field_class common;