Fix: C++ bindings typos in lib function name
[babeltrace.git] / src / cpp-common / bt2 / value.hpp
index 314111836c96157dcf8acc4a037bd3b112e2397d..4b34a16ebf2038a57d944e47662b862d529935ba 100644 (file)
@@ -79,6 +79,24 @@ enum class ValueType
     MAP = BT_VALUE_TYPE_MAP,
 };
 
+template <typename LibObjT>
+class CommonClockClass;
+
+template <typename LibObjT>
+class CommonFieldClass;
+
+template <typename LibObjT>
+class CommonTraceClass;
+
+template <typename LibObjT>
+class CommonStreamClass;
+
+template <typename LibObjT>
+class CommonEventClass;
+
+template <typename LibObjT>
+class CommonStream;
+
 template <typename LibObjT>
 class CommonValue : public internal::BorrowedObj<LibObjT>
 {
@@ -88,6 +106,14 @@ class CommonValue : public internal::BorrowedObj<LibObjT>
     // Allow insert() to call `val._libObjPtr()`
     friend class CommonMapValue<bt_value>;
 
+    // Allow userAttributes() to call `val._libObjPtr()`
+    friend class CommonClockClass<bt_clock_class>;
+    friend class CommonFieldClass<bt_field_class>;
+    friend class CommonTraceClass<bt_trace_class>;
+    friend class CommonStreamClass<bt_stream_class>;
+    friend class CommonEventClass<bt_event_class>;
+    friend class CommonStream<bt_stream>;
+
     // Allow operator==() to call `other._libObjPtr()`
     friend class CommonValue<bt_value>;
     friend class CommonValue<const bt_value>;
This page took 0.022886 seconds and 4 git commands to generate.