return *this;
}
+ CommonEvent<const bt_event> asConst() const noexcept
+ {
+ return CommonEvent<const bt_event> {*this};
+ }
+
Class cls() const noexcept;
_Stream stream() const noexcept;
nonstd::optional<_Packet> packet() const noexcept;
return *this;
}
+ CommonPacket<const bt_packet> asConst() const noexcept
+ {
+ return CommonPacket<const bt_packet> {*this};
+ }
+
_Stream stream() const noexcept;
nonstd::optional<_StructureField> contextField() const noexcept
return *this;
}
+ CommonStream<const bt_stream> asConst() const noexcept
+ {
+ return CommonStream<const bt_stream> {*this};
+ }
+
Packet::Shared createPacket() const
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
return *this;
}
+ CommonTrace<const bt_trace> asConst() const noexcept
+ {
+ return CommonTrace<const bt_trace> {*this};
+ }
+
Class cls() const noexcept;
void name(const char * const name) const
return *this;
}
+ CommonEventClass<const bt_event_class> asConst() const noexcept
+ {
+ return CommonEventClass<const bt_event_class> {*this};
+ }
+
_StreamClass streamClass() const noexcept;
std::uint64_t id() const noexcept
return *this;
}
+ CommonStreamClass<const bt_stream_class> asConst() const noexcept
+ {
+ return CommonStreamClass<const bt_stream_class> {*this};
+ }
+
Stream::Shared instantiate(const Trace trace) const
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
return *this;
}
+ CommonTraceClass<const bt_trace_class> asConst() const noexcept
+ {
+ return CommonTraceClass<const bt_trace_class> {*this};
+ }
+
Trace::Shared instantiate() const
{
static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");