template <typename LibObjT>
struct CommonClockClassSpec;
-// Functions specific to mutable clock classes
+/* Functions specific to mutable clock classes */
template <>
struct CommonClockClassSpec<bt_clock_class> final
{
}
};
-// Functions specific to constant clock classes
+/* Functions specific to constant clock classes */
template <>
struct CommonClockClassSpec<const bt_clock_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
class ClockClassOffset final
{
using ClockClass = CommonClockClass<bt_clock_class>;
using ConstClockClass = CommonClockClass<const bt_clock_class>;
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_CLOCK_CLASS_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_CLOCK_CLASS_HPP */
}
};
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_CLOCK_SNAPSHOT_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_CLOCK_SNAPSHOT_HPP */
template <typename LibObjT>
struct CommonFieldClassSpec;
-// Functions specific to mutable field classes
+/* Functions specific to mutable field classes */
template <>
struct CommonFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant field classes
+/* Functions specific to constant field classes */
template <>
struct CommonFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonBitArrayFieldClass;
template <typename LibObjT>
class CommonFieldClass : public internal::BorrowedObj<LibObjT>
{
- // Allow appendMember() to call `fc._libObjPtr()`
+ /* Allow appendMember() to call `fc._libObjPtr()` */
friend class CommonStructureFieldClass<bt_field_class>;
- // Allow appendOption() to call `fc._libObjPtr()`
+ /* Allow appendOption() to call `fc._libObjPtr()` */
friend class CommonVariantWithoutSelectorFieldClass<bt_field_class>;
friend class CommonVariantWithIntegerSelectorFieldClass<
ConstVariantWithIntegerSelectorFieldClassOption<
const bt_field_class_variant_with_selector_field_integer_signed_option>>;
- // Allow *FieldClass() to call `fc._libObjPtr()`
+ /* Allow *FieldClass() to call `fc._libObjPtr()` */
friend class CommonEventClass<bt_event_class>;
friend class CommonStreamClass<bt_stream_class>;
- // Allow create*FieldClass() to call `fc._libObjPtr()`
+ /* Allow create*FieldClass() to call `fc._libObjPtr()` */
friend class CommonTraceClass<bt_trace_class>;
private:
template <typename LibObjT>
struct ConstEnumerationFieldClassMappingSpec;
-// Functions specific to unsigned enumeration field class mappings
+/* Functions specific to unsigned enumeration field class mappings */
template <>
struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_unsigned_mapping>
final
}
};
-// Functions specific to signed enumeration field class mappings
+/* Functions specific to signed enumeration field class mappings */
template <>
struct ConstEnumerationFieldClassMappingSpec<const bt_field_class_enumeration_signed_mapping> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class ConstEnumerationFieldClassMapping final : public internal::BorrowedObj<LibObjT>
template <typename MappingT>
struct CommonEnumerationFieldClassSpec;
-// Functions specific to unsigned enumeration field classes
+/* Functions specific to unsigned enumeration field classes */
template <>
struct CommonEnumerationFieldClassSpec<ConstUnsignedEnumerationFieldClassMapping> final
{
}
};
-// Functions specific to signed enumeration field classes
+/* Functions specific to signed enumeration field classes */
template <>
struct CommonEnumerationFieldClassSpec<ConstSignedEnumerationFieldClassMapping> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT, typename MappingT>
class CommonEnumerationFieldClass final : public CommonIntegerFieldClass<LibObjT>
template <typename LibObjT>
struct CommonStructureFieldClassMemberSpec;
-// Functions specific to mutable structure field class members
+/* Functions specific to mutable structure field class members */
template <>
struct CommonStructureFieldClassMemberSpec<bt_field_class_structure_member> final
{
}
};
-// Functions specific to constant structure field class members
+/* Functions specific to constant structure field class members */
template <>
struct CommonStructureFieldClassMemberSpec<const bt_field_class_structure_member> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStructureFieldClassMember final : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonStructureFieldClassSpec;
-// Functions specific to mutable structure field classes
+/* Functions specific to mutable structure field classes */
template <>
struct CommonStructureFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant structure field classes
+/* Functions specific to constant structure field classes */
template <>
struct CommonStructureFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStructureFieldClass final : public CommonFieldClass<LibObjT>
template <typename LibObjT>
struct CommonArrayFieldClassSpec;
-// Functions specific to mutable array field classes
+/* Functions specific to mutable array field classes */
template <>
struct CommonArrayFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant array field classes
+/* Functions specific to constant array field classes */
template <>
struct CommonArrayFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonArrayFieldClass : public CommonFieldClass<LibObjT>
template <typename LibObjT>
struct CommonOptionFieldClassSpec;
-// Functions specific to mutable option field classes
+/* Functions specific to mutable option field classes */
template <>
struct CommonOptionFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant option field classes
+/* Functions specific to constant option field classes */
template <>
struct CommonOptionFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonOptionFieldClass : public CommonFieldClass<LibObjT>
template <typename RangeSetT>
struct CommonOptionWithIntegerSelectorFieldClassSpec;
-// Functions specific to option field classes with unsigned integer ranges
+/* Functions specific to option field classes with unsigned integer ranges */
template <>
struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstUnsignedIntegerRangeSet> final
{
}
};
-// Functions specific to option field classes with signed ranges
+/* Functions specific to option field classes with signed ranges */
template <>
struct CommonOptionWithIntegerSelectorFieldClassSpec<ConstSignedIntegerRangeSet> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT, typename RangeSetT>
class CommonOptionWithIntegerSelectorFieldClass : public CommonOptionWithSelectorFieldClass<LibObjT>
template <typename LibObjT>
struct CommonVariantFieldClassOptionSpec;
-// Functions specific to mutable variant field class options
+/* Functions specific to mutable variant field class options */
template <>
struct CommonVariantFieldClassOptionSpec<bt_field_class_variant_option> final
{
}
};
-// Functions specific to constant variant field class options
+/* Functions specific to constant variant field class options */
template <>
struct CommonVariantFieldClassOptionSpec<const bt_field_class_variant_option> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonVariantFieldClassOption : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct ConstVariantWithIntegerSelectorFieldClassOptionSpec;
-// Functions specific to variant field class options with unsigned integer selector
+/* Functions specific to variant field class options with unsigned integer selector */
template <>
struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
const bt_field_class_variant_with_selector_field_integer_unsigned_option>
}
};
-// Functions specific to variant field class options with signed integer selector
+/* Functions specific to variant field class options with signed integer selector */
template <>
struct ConstVariantWithIntegerSelectorFieldClassOptionSpec<
const bt_field_class_variant_with_selector_field_integer_signed_option>
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class ConstVariantWithIntegerSelectorFieldClassOption : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonVariantFieldClassSpec;
-// Functions specific to mutable variant field classes
+/* Functions specific to mutable variant field classes */
template <>
struct CommonVariantFieldClassSpec<bt_field_class> final
{
}
};
-// Functions specific to constant variant field classes
+/* Functions specific to constant variant field classes */
template <>
struct CommonVariantFieldClassSpec<const bt_field_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonVariantFieldClass : public CommonFieldClass<LibObjT>
template <typename OptionT>
struct CommonVariantWithIntegerSelectorFieldClassSpec;
-// Functions specific to variant field classes with unsigned integer selector
+/* Functions specific to variant field classes with unsigned integer selector */
template <>
struct CommonVariantWithIntegerSelectorFieldClassSpec<
ConstVariantWithUnsignedIntegerSelectorFieldClassOption>
}
};
-// Functions specific to variant field classes with signed integer selector
+/* Functions specific to variant field classes with signed integer selector */
template <>
struct CommonVariantWithIntegerSelectorFieldClassSpec<
ConstVariantWithSignedIntegerSelectorFieldClassOption>
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT, typename OptionT>
class CommonVariantWithIntegerSelectorFieldClass : public CommonVariantFieldClass<LibObjT>
LibObjT, ConstVariantWithSignedIntegerSelectorFieldClassOption> {this->_libObjPtr()};
}
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_FIELD_CLASS_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_FIELD_CLASS_HPP */
}
};
-} // namespace internal
+} /* namespace internal */
class ConstFieldPath final : public internal::BorrowedObj<const bt_field_path>
{
}
};
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_FIELD_PATH_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_FIELD_PATH_HPP */
template <typename LibObjT>
struct CommonFieldSpec;
-// Functions specific to mutable fields
+/* Functions specific to mutable fields */
template <>
struct CommonFieldSpec<bt_field> final
{
}
};
-// Functions specific to constant fields
+/* Functions specific to constant fields */
template <>
struct CommonFieldSpec<const bt_field> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonField : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonStructureFieldSpec;
-// Functions specific to mutable structure fields
+/* Functions specific to mutable structure fields */
template <>
struct CommonStructureFieldSpec<bt_field> final
{
}
};
-// Functions specific to constant structure fields
+/* Functions specific to constant structure fields */
template <>
struct CommonStructureFieldSpec<const bt_field> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStructureField final : public CommonField<LibObjT>
template <typename LibObjT>
struct CommonArrayFieldSpec;
-// Functions specific to mutable array fields
+/* Functions specific to mutable array fields */
template <>
struct CommonArrayFieldSpec<bt_field> final
{
}
};
-// Functions specific to constant array fields
+/* Functions specific to constant array fields */
template <>
struct CommonArrayFieldSpec<const bt_field> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonArrayField : public CommonField<LibObjT>
template <typename LibObjT>
struct CommonOptionFieldSpec;
-// Functions specific to mutable option fields
+/* Functions specific to mutable option fields */
template <>
struct CommonOptionFieldSpec<bt_field> final
{
}
};
-// Functions specific to constant option fields
+/* Functions specific to constant option fields */
template <>
struct CommonOptionFieldSpec<const bt_field> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonOptionField : public CommonField<LibObjT>
template <typename LibObjT>
struct CommonVariantFieldSpec;
-// Functions specific to mutable variant fields
+/* Functions specific to mutable variant fields */
template <>
struct CommonVariantFieldSpec<bt_field> final
{
}
};
-// Functions specific to constant variant fields
+/* Functions specific to constant variant fields */
template <>
struct CommonVariantFieldSpec<const bt_field> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonVariantField : public CommonField<LibObjT>
return CommonVariantField<LibObjT> {this->_libObjPtr()};
}
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_FIELD_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_FIELD_HPP */
template <typename LibObjT>
struct CommonIntegerRangeSetSpec;
-// Functions specific to unsigned integer range sets
+/* Functions specific to unsigned integer range sets */
template <>
struct CommonIntegerRangeSetSpec<const bt_integer_range_set_unsigned> final
{
}
};
-// Functions specific to signed integer range sets
+/* Functions specific to signed integer range sets */
template <>
struct CommonIntegerRangeSetSpec<const bt_integer_range_set_signed> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class ConstVariantWithIntegerSelectorFieldClassOption;
template <typename LibObjT>
class CommonIntegerRangeSet final : public internal::BorrowedObj<LibObjT>
{
- // Allow operator==() to call `other._libObjPtr()`
+ /* Allow operator==() to call `other._libObjPtr()` */
friend class CommonIntegerRangeSet<bt_integer_range_set_unsigned>;
friend class CommonIntegerRangeSet<const bt_integer_range_set_unsigned>;
friend class CommonIntegerRangeSet<bt_integer_range_set_signed>;
friend class CommonIntegerRangeSet<const bt_integer_range_set_signed>;
- // Allow appendOption() to call `ranges._libObjPtr()`
+ /* Allow appendOption() to call `ranges._libObjPtr()` */
friend class CommonVariantWithIntegerSelectorFieldClass<
bt_field_class,
ConstVariantWithIntegerSelectorFieldClassOption<
ConstVariantWithIntegerSelectorFieldClassOption<
const bt_field_class_variant_with_selector_field_integer_signed_option>>;
- // Allow create*FieldClass() to call `ranges._libObjPtr()`
+ /* Allow create*FieldClass() to call `ranges._libObjPtr()` */
friend class CommonTraceClass<bt_trace_class>;
private:
using SignedIntegerRangeSet = CommonIntegerRangeSet<bt_integer_range_set_signed>;
using ConstSignedIntegerRangeSet = CommonIntegerRangeSet<const bt_integer_range_set_signed>;
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_SET_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_SET_HPP */
template <typename ValueT>
struct ConstIntegerRangeSpec;
-// Functions specific to unsigned integer ranges
+/* Functions specific to unsigned integer ranges */
template <>
struct ConstIntegerRangeSpec<const bt_integer_range_unsigned> final
{
}
};
-// Functions specific to signed integer ranges
+/* Functions specific to signed integer ranges */
template <>
struct ConstIntegerRangeSpec<const bt_integer_range_signed> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class ConstIntegerRange final : public internal::BorrowedObj<LibObjT>
using ConstUnsignedIntegerRange = ConstIntegerRange<const bt_integer_range_unsigned>;
using ConstSignedIntegerRange = ConstIntegerRange<const bt_integer_range_signed>;
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTEGER_RANGE_HPP */
friend class SharedObj;
protected:
- // libbabeltrace2 object pointer
+ /* libbabeltrace2 object pointer */
using _LibObjPtr = LibObjT *;
- // This complete borrowed object
+ /* This complete borrowed object */
using _ThisBorrowedObj = BorrowedObj<LibObjT>;
/*
return *this;
}
- // Wrapped libbabeltrace2 object pointer
+ /* Wrapped libbabeltrace2 object pointer */
_LibObjPtr _libObjPtr() const noexcept
{
return _mLibObjPtr;
_LibObjPtr _mLibObjPtr;
};
-} // namespace internal
-} // namespace bt2
+} /* namespace internal */
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_INTERNAL_BORROWED_OBJ_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTERNAL_BORROWED_OBJ_HPP */
friend class SharedObj;
public:
- // This complete shared object
+ /* This complete shared object */
using ThisSharedObj = SharedObj<ObjT, LibObjT, RefFuncsT>;
/*
template <typename OtherObjT, typename OtherLibObjT>
SharedObj(SharedObj<OtherObjT, OtherLibObjT, RefFuncsT>&& other) noexcept : _mObj {other._mObj}
{
- // Reset moved-from object
+ /* Reset moved-from object */
other._reset();
}
template <typename OtherObjT, typename OtherLibObjT>
ThisSharedObj& operator=(const SharedObj<OtherObjT, OtherLibObjT, RefFuncsT>& other) noexcept
{
- // Put current object's reference
+ /* Put current object's reference */
this->_putRef();
- // Set new current object and get a reference
+ /* Set new current object and get a reference */
_mObj = other._mObj;
this->_getRef();
template <typename OtherObjT, typename OtherLibObjT>
ThisSharedObj& operator=(SharedObj<OtherObjT, OtherLibObjT, RefFuncsT>&& other) noexcept
{
- // Put current object's reference
+ /* Put current object's reference */
this->_putRef();
- // Set new current object
+ /* Set new current object */
_mObj = other._mObj;
- // Reset moved-from object
+ /* Reset moved-from object */
other._reset();
return *this;
nonstd::optional<ObjT> _mObj;
};
-} // namespace internal
-} // namespace bt2
+} /* namespace internal */
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_INTERNAL_SHARED_OBJ_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTERNAL_SHARED_OBJ_HPP */
}
}
-} // namespace internal
-} // namespace bt2
+} /* namespace internal */
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_INTERNAL_UTILS_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_INTERNAL_UTILS_HPP */
}
};
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_LIB_ERROR_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_LIB_ERROR_HPP */
NONE = BT_LOGGING_LEVEL_NONE,
};
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_LOGGING_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_LOGGING_HPP */
template <typename ObjT, typename LibObjT>
using SharedMessage = internal::SharedObj<ObjT, LibObjT, internal::MessageRefFuncs>;
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStreamBeginningMessage;
template <typename LibObjT>
struct CommonStreamBeginningMessageSpec;
-// Functions specific to mutable stream beginning messages
+/* Functions specific to mutable stream beginning messages */
template <>
struct CommonStreamBeginningMessageSpec<bt_message> final
{
}
};
-// Functions specific to constant stream beginning messages
+/* Functions specific to constant stream beginning messages */
template <>
struct CommonStreamBeginningMessageSpec<const bt_message> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStreamBeginningMessage final : public CommonMessage<LibObjT>
template <typename LibObjT>
struct CommonStreamEndMessageSpec;
-// Functions specific to mutable stream end messages
+/* Functions specific to mutable stream end messages */
template <>
struct CommonStreamEndMessageSpec<bt_message> final
{
}
};
-// Functions specific to constant stream end messages
+/* Functions specific to constant stream end messages */
template <>
struct CommonStreamEndMessageSpec<const bt_message> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStreamEndMessage final : public CommonMessage<LibObjT>
template <typename LibObjT>
struct CommonPacketBeginningMessageSpec;
-// Functions specific to mutable packet beginning messages
+/* Functions specific to mutable packet beginning messages */
template <>
struct CommonPacketBeginningMessageSpec<bt_message> final
{
}
};
-// Functions specific to constant packet beginning messages
+/* Functions specific to constant packet beginning messages */
template <>
struct CommonPacketBeginningMessageSpec<const bt_message> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonPacketBeginningMessage final : public CommonMessage<LibObjT>
template <typename LibObjT>
struct CommonPacketEndMessageSpec;
-// Functions specific to mutable packet end messages
+/* Functions specific to mutable packet end messages */
template <>
struct CommonPacketEndMessageSpec<bt_message> final
{
}
};
-// Functions specific to constant packet end messages
+/* Functions specific to constant packet end messages */
template <>
struct CommonPacketEndMessageSpec<const bt_message> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonPacketEndMessage final : public CommonMessage<LibObjT>
template <typename LibObjT>
struct CommonEventMessageSpec;
-// Functions specific to mutable event messages
+/* Functions specific to mutable event messages */
template <>
struct CommonEventMessageSpec<bt_message> final
{
}
};
-// Functions specific to constant event messages
+/* Functions specific to constant event messages */
template <>
struct CommonEventMessageSpec<const bt_message> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonEventMessage final : public CommonMessage<LibObjT>
template <typename LibObjT>
struct CommonDiscardedEventsMessageSpec;
-// Functions specific to mutable discarded events messages
+/* Functions specific to mutable discarded events messages */
template <>
struct CommonDiscardedEventsMessageSpec<bt_message> final
{
}
};
-// Functions specific to constant discarded events messages
+/* Functions specific to constant discarded events messages */
template <>
struct CommonDiscardedEventsMessageSpec<const bt_message> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonDiscardedEventsMessage final : public CommonMessage<LibObjT>
template <typename LibObjT>
struct CommonDiscardedPacketsMessageSpec;
-// Functions specific to mutable discarded packets messages
+/* Functions specific to mutable discarded packets messages */
template <>
struct CommonDiscardedPacketsMessageSpec<bt_message> final
{
}
};
-// Functions specific to constant discarded packets messages
+/* Functions specific to constant discarded packets messages */
template <>
struct CommonDiscardedPacketsMessageSpec<const bt_message> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonDiscardedPacketsMessage final : public CommonMessage<LibObjT>
return CommonMessageIteratorInactivityMessage<LibObjT> {this->_libObjPtr()};
}
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_MESSAGE_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_MESSAGE_HPP */
template <typename LibObjT>
struct CommonEventSpec;
-// Functions specific to mutable events
+/* Functions specific to mutable events */
template <>
struct CommonEventSpec<bt_event> final
{
}
};
-// Functions specific to constant events
+/* Functions specific to constant events */
template <>
struct CommonEventSpec<const bt_event> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonEvent final : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonPacketSpec;
-// Functions specific to mutable packets
+/* Functions specific to mutable packets */
template <>
struct CommonPacketSpec<bt_packet> final
{
}
};
-// Functions specific to constant packets
+/* Functions specific to constant packets */
template <>
struct CommonPacketSpec<const bt_packet> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonPacket final : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonStreamSpec;
-// Functions specific to mutable streams
+/* Functions specific to mutable streams */
template <>
struct CommonStreamSpec<bt_stream> final
{
}
};
-// Functions specific to constant streams
+/* Functions specific to constant streams */
template <>
struct CommonStreamSpec<const bt_stream> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStream final : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonTraceSpec;
-// Functions specific to mutable traces
+/* Functions specific to mutable traces */
template <>
struct CommonTraceSpec<bt_trace> final
{
}
};
-// Functions specific to constant traces
+/* Functions specific to constant traces */
template <>
struct CommonTraceSpec<const bt_trace> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonTrace final : public internal::BorrowedObj<LibObjT>
{
- // Allow instantiate() to call `trace._libObjPtr()`
+ /* Allow instantiate() to call `trace._libObjPtr()` */
friend class CommonStreamClass<bt_stream_class>;
private:
template <typename LibObjT>
struct CommonEventClassSpec;
-// Functions specific to mutable event classes
+/* Functions specific to mutable event classes */
template <>
struct CommonEventClassSpec<bt_event_class> final
{
}
};
-// Functions specific to constant event classes
+/* Functions specific to constant event classes */
template <>
struct CommonEventClassSpec<const bt_event_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonEventClass final : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonStreamClassSpec;
-// Functions specific to mutable stream classes
+/* Functions specific to mutable stream classes */
template <>
struct CommonStreamClassSpec<bt_stream_class> final
{
}
};
-// Functions specific to constant stream classes
+/* Functions specific to constant stream classes */
template <>
struct CommonStreamClassSpec<const bt_stream_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonStreamClass final : public internal::BorrowedObj<LibObjT>
template <typename LibObjT>
struct CommonTraceClassSpec;
-// Functions specific to mutable stream classes
+/* Functions specific to mutable stream classes */
template <>
struct CommonTraceClassSpec<bt_trace_class> final
{
}
};
-// Functions specific to constant stream classes
+/* Functions specific to constant stream classes */
template <>
struct CommonTraceClassSpec<const bt_trace_class> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonTraceClass final : public internal::BorrowedObj<LibObjT>
return Class {_Spec::cls(this->_libObjPtr())};
}
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_TRACE_IR_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_TRACE_IR_HPP */
template <typename ObjT, typename LibObjT>
using SharedValue = internal::SharedObj<ObjT, LibObjT, internal::ValueRefFuncs>;
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonNullValue;
template <typename LibObjT>
class CommonValue : public internal::BorrowedObj<LibObjT>
{
- // Allow append() to call `val._libObjPtr()`
+ /* Allow append() to call `val._libObjPtr()` */
friend class CommonArrayValue<bt_value>;
- // Allow insert() to call `val._libObjPtr()`
+ /* Allow insert() to call `val._libObjPtr()` */
friend class CommonMapValue<bt_value>;
- // Allow userAttributes() to call `val._libObjPtr()`
+ /* 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 CommonEventClass<bt_event_class>;
friend class CommonStream<bt_stream>;
- // Allow operator==() to call `other._libObjPtr()`
+ /* Allow operator==() to call `other._libObjPtr()` */
friend class CommonValue<bt_value>;
friend class CommonValue<const bt_value>;
template <typename LibObjT>
struct CommonArrayValueSpec;
-// Functions specific to mutable array values
+/* Functions specific to mutable array values */
template <>
struct CommonArrayValueSpec<bt_value> final
{
}
};
-// Functions specific to constant array values
+/* Functions specific to constant array values */
template <>
struct CommonArrayValueSpec<const bt_value> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonArrayValueIterator
template <typename LibObjT>
struct CommonMapValueSpec;
-// Functions specific to mutable map values
+/* Functions specific to mutable map values */
template <>
struct CommonMapValueSpec<bt_value> final
{
}
};
-// Functions specific to constant map values
+/* Functions specific to constant map values */
template <>
struct CommonMapValueSpec<const bt_value> final
{
}
};
-} // namespace internal
+} /* namespace internal */
template <typename LibObjT>
class CommonMapValue final : public CommonValue<LibObjT>
return StringValue::create(rawVal);
}
-} // namespace bt2
+} /* namespace bt2 */
-#endif // BABELTRACE_CPP_COMMON_BT2_VALUE_HPP
+#endif /* BABELTRACE_CPP_COMMON_BT2_VALUE_HPP */
const std::uint8_t *_mUuid;
};
-} // namespace bt2_common
+} /* namespace bt2_common */
-#endif // BABELTRACE_CPP_COMMON_UUID_VIEW_HPP
+#endif /* BABELTRACE_CPP_COMMON_UUID_VIEW_HPP */