class BorrowedObjectProxy final
{
public:
- explicit BorrowedObjectProxy(typename ObjT::_LibObjPtr libObjPtr) noexcept : _mObj {libObjPtr}
+ explicit BorrowedObjectProxy(typename ObjT::LibObjPtr libObjPtr) noexcept : _mObj {libObjPtr}
{
}
};
protected:
- /* libbabeltrace2 object pointer */
- using _LibObjPtr = LibObjT *;
-
/* This complete borrowed object */
using _ThisBorrowedObject = BorrowedObject<LibObjT>;
+public:
+ /* libbabeltrace2 object */
+ using LibObj = LibObjT;
+
+ /* libbabeltrace2 object pointer */
+ using LibObjPtr = LibObjT *;
+
+protected:
/*
* Builds a borrowed object to wrap the libbabeltrace2 object
* pointer `libObjPtr`.
*
* `libObjPtr` must not be `nullptr`.
*/
- explicit BorrowedObject(const _LibObjPtr libObjPtr) noexcept : _mLibObjPtr {libObjPtr}
+ explicit BorrowedObject(const LibObjPtr libObjPtr) noexcept : _mLibObjPtr {libObjPtr}
{
BT_ASSERT_DBG(libObjPtr);
}
*/
std::size_t hash() const noexcept
{
- return std::hash<_LibObjPtr> {}(_mLibObjPtr);
+ return std::hash<LibObjPtr> {}(_mLibObjPtr);
}
/*
}
/* Wrapped libbabeltrace2 object pointer */
- _LibObjPtr libObjPtr() const noexcept
+ LibObjPtr libObjPtr() const noexcept
{
return _mLibObjPtr;
}
private:
- _LibObjPtr _mLibObjPtr;
+ LibObjPtr _mLibObjPtr;
};
} /* namespace bt2 */
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<CommonClockClass, LibObjT, internal::ClockClassRefFuncs>;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
- explicit CommonClockClass(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonClockClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
class ConstClockSnapshot final : public BorrowedObject<const bt_clock_snapshot>
{
public:
- explicit ConstClockSnapshot(const _LibObjPtr libObjPtr) noexcept :
+ explicit ConstClockSnapshot(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
class ConstSpecificComponent : public BorrowedObject<LibObjT>
{
public:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
protected:
- explicit ConstSpecificComponent(const _LibObjPtr libObjPtr) noexcept :
+ explicit ConstSpecificComponent(const LibObjPtr libObjPtr) noexcept :
BorrowedObject<LibObjT> {libObjPtr}
{
}
using _Spec = internal::ConstComponentPortsSpec<LibCompT, LibPortT>;
public:
- using typename BorrowedObject<LibCompT>::_LibObjPtr;
+ using typename BorrowedObject<LibCompT>::LibObjPtr;
using Port = ConstPort<LibPortT>;
using Iterator = BorrowedObjectIterator<ConstComponentPorts>;
- explicit ConstComponentPorts(const _LibObjPtr libObjPtr) noexcept :
+ explicit ConstComponentPorts(const LibObjPtr libObjPtr) noexcept :
BorrowedObject<LibCompT> {libObjPtr}
{
}
class ConstPort final : public BorrowedObject<LibObjT>
{
public:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<ConstPort, LibObjT, internal::ConstPortRefFuncs<LibObjT>>;
- explicit ConstPort(const _LibObjPtr libObjPtr) noexcept : BorrowedObject<LibObjT> {libObjPtr}
+ explicit ConstPort(const LibObjPtr libObjPtr) noexcept : BorrowedObject<LibObjT> {libObjPtr}
{
}
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
protected:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _ThisCommonFieldClass = CommonFieldClass<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonFieldClass<LibObjT>, LibObjT>;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
- explicit CommonFieldClass(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonFieldClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
class CommonBitArrayFieldClass final : public CommonFieldClass<LibObjT>
{
private:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using typename CommonFieldClass<LibObjT>::_ThisCommonFieldClass;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonBitArrayFieldClass<LibObjT>, LibObjT>;
- explicit CommonBitArrayFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonBitArrayFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isBitArray());
using typename CommonFieldClass<LibObjT>::_ThisCommonFieldClass;
protected:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _ThisCommonIntegerFieldClass = CommonIntegerFieldClass<LibObjT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonIntegerFieldClass<LibObjT>, LibObjT>;
- explicit CommonIntegerFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonIntegerFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isInteger());
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
+
using RangeSet = typename std::conditional<
std::is_same<LibObjT, const bt_field_class_enumeration_unsigned_mapping>::value,
ConstUnsignedIntegerRangeSet, ConstSignedIntegerRangeSet>::type;
- explicit ConstEnumerationFieldClassMapping(const _LibObjPtr libObjPtr) noexcept :
+ explicit ConstEnumerationFieldClassMapping(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
using typename CommonIntegerFieldClass<LibObjT>::_ThisCommonIntegerFieldClass;
protected:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _ThisCommonBaseEnumerationFieldClass = CommonBaseEnumerationFieldClass<LibObjT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<_ThisCommonBaseEnumerationFieldClass, LibObjT>;
- explicit CommonBaseEnumerationFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonBaseEnumerationFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonIntegerFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isEnumeration());
class CommonEnumerationFieldClass final : public CommonBaseEnumerationFieldClass<LibObjT>
{
private:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using typename CommonBaseEnumerationFieldClass<LibObjT>::_ThisCommonBaseEnumerationFieldClass;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonEnumerationFieldClass, LibObjT>;
using Iterator = BorrowedObjectIterator<CommonEnumerationFieldClass>;
using Mapping = MappingT;
- explicit CommonEnumerationFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonEnumerationFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonBaseEnumerationFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isEnumeration());
class CommonStructureFieldClassMember final : public BorrowedObject<LibObjT>
{
private:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
using _FieldClass = internal::DepFc<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
- explicit CommonStructureFieldClassMember(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonStructureFieldClassMember(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
class CommonStructureFieldClass final : public CommonFieldClass<LibObjT>
{
private:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using typename CommonFieldClass<LibObjT>::_ThisCommonFieldClass;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonStructureFieldClass<LibObjT>, LibObjT>;
using Iterator = BorrowedObjectIterator<CommonStructureFieldClass<LibObjT>>;
using Member =
internal::DepType<LibObjT, StructureFieldClassMember, ConstStructureFieldClassMember>;
- explicit CommonStructureFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonStructureFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isStructure());
using _FieldClass = internal::DepFc<LibObjT>;
protected:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _ThisCommonArrayFieldClass = CommonArrayFieldClass<LibObjT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonArrayFieldClass<LibObjT>, LibObjT>;
- explicit CommonArrayFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonArrayFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isArray());
{
private:
using typename CommonArrayFieldClass<LibObjT>::_ThisCommonArrayFieldClass;
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonStaticArrayFieldClass<LibObjT>, LibObjT>;
- explicit CommonStaticArrayFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonStaticArrayFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonArrayFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isStaticArray());
{
private:
using typename CommonArrayFieldClass<LibObjT>::_ThisCommonArrayFieldClass;
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonDynamicArrayWithLengthFieldClass<LibObjT>, LibObjT>;
- explicit CommonDynamicArrayWithLengthFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonDynamicArrayWithLengthFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonArrayFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isDynamicArrayWithLength());
using _FieldClass = internal::DepFc<LibObjT>;
protected:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _ThisCommonOptionFieldClass = CommonOptionFieldClass<LibObjT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonOptionFieldClass<LibObjT>, LibObjT>;
- explicit CommonOptionFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonOptionFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isOption());
using typename CommonOptionFieldClass<LibObjT>::_ThisCommonOptionFieldClass;
protected:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _ThisCommonOptionWithSelectorFieldClass = CommonOptionWithSelectorFieldClass<LibObjT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonOptionWithSelectorFieldClass<LibObjT>, LibObjT>;
- explicit CommonOptionWithSelectorFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonOptionWithSelectorFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonOptionFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isOptionWithSelector());
class CommonOptionWithBoolSelectorFieldClass : public CommonOptionWithSelectorFieldClass<LibObjT>
{
private:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
-
using typename CommonOptionWithSelectorFieldClass<
LibObjT>::_ThisCommonOptionWithSelectorFieldClass;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonOptionWithBoolSelectorFieldClass<LibObjT>, LibObjT>;
- explicit CommonOptionWithBoolSelectorFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonOptionWithBoolSelectorFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonOptionWithSelectorFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isOptionWithBoolSelector());
class CommonOptionWithIntegerSelectorFieldClass : public CommonOptionWithSelectorFieldClass<LibObjT>
{
private:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
-
using typename CommonOptionWithSelectorFieldClass<
LibObjT>::_ThisCommonOptionWithSelectorFieldClass;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonOptionWithIntegerSelectorFieldClass, LibObjT>;
using RangeSet = RangeSetT;
- explicit CommonOptionWithIntegerSelectorFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonOptionWithIntegerSelectorFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonOptionWithSelectorFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isOptionWithIntegerSelector());
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _FieldClass = internal::DepFc<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
- explicit CommonVariantFieldClassOption(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonVariantFieldClassOption(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _Spec = internal::ConstVariantWithIntegerSelectorFieldClassOptionSpec<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
+
using RangeSet = typename std::conditional<
std::is_same<
LibObjT,
const bt_field_class_variant_with_selector_field_integer_unsigned_option>::value,
ConstUnsignedIntegerRangeSet, ConstSignedIntegerRangeSet>::type;
- explicit ConstVariantWithIntegerSelectorFieldClassOption(const _LibObjPtr libObjPtr) noexcept :
+ explicit ConstVariantWithIntegerSelectorFieldClassOption(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
using typename CommonFieldClass<LibObjT>::_ThisCommonFieldClass;
protected:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _ThisCommonVariantFieldClass = CommonVariantFieldClass<LibObjT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonVariantFieldClass<LibObjT>, LibObjT>;
using Iterator = BorrowedObjectIterator<CommonVariantFieldClass>;
using Option =
internal::DepType<LibObjT, VariantFieldClassOption, ConstVariantFieldClassOption>;
- explicit CommonVariantFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonVariantFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isVariant());
{
private:
using typename CommonVariantFieldClass<LibObjT>::_ThisCommonVariantFieldClass;
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonVariantWithoutSelectorFieldClass<LibObjT>, LibObjT>;
- explicit CommonVariantWithoutSelectorFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonVariantWithoutSelectorFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonVariantFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isVariantWithoutSelector());
using typename CommonVariantFieldClass<LibObjT>::_ThisCommonVariantFieldClass;
protected:
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _ThisCommonVariantWithSelectorFieldClass = CommonVariantWithSelectorFieldClass<LibObjT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<_ThisCommonVariantWithSelectorFieldClass, LibObjT>;
- explicit CommonVariantWithSelectorFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonVariantWithSelectorFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonVariantFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isVariantWithSelector());
private:
using typename CommonVariantWithSelectorFieldClass<
LibObjT>::_ThisCommonVariantWithSelectorFieldClass;
- using typename CommonFieldClass<LibObjT>::_LibObjPtr;
using _Spec = internal::CommonVariantWithIntegerSelectorFieldClassSpec<OptionT>;
public:
+ using typename CommonFieldClass<LibObjT>::LibObjPtr;
using Shared = SharedFieldClass<CommonVariantWithIntegerSelectorFieldClass, LibObjT>;
using Option = OptionT;
using Iterator =
BorrowedObjectIterator<CommonVariantWithIntegerSelectorFieldClass<LibObjT, Option>>;
- explicit CommonVariantWithIntegerSelectorFieldClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonVariantWithIntegerSelectorFieldClass(const LibObjPtr libObjPtr) noexcept :
_ThisCommonVariantWithSelectorFieldClass {libObjPtr}
{
BT_ASSERT_DBG(this->isVariant());
class ConstFieldPathItem : public BorrowedObject<const bt_field_path_item>
{
public:
- explicit ConstFieldPathItem(const _LibObjPtr libObjPtr) noexcept :
+ explicit ConstFieldPathItem(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
class ConstIndexFieldPathItem final : public ConstFieldPathItem
{
public:
- explicit ConstIndexFieldPathItem(const _LibObjPtr libObjPtr) noexcept :
+ explicit ConstIndexFieldPathItem(const LibObjPtr libObjPtr) noexcept :
ConstFieldPathItem {libObjPtr}
{
BT_ASSERT_DBG(this->isIndex());
EVENT_PAYLOAD = BT_FIELD_PATH_SCOPE_EVENT_PAYLOAD,
};
- explicit ConstFieldPath(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit ConstFieldPath(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
protected:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _ThisCommonField = CommonField<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Class = internal::DepFc<LibObjT>;
- explicit CommonField(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonField(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
class CommonBoolField final : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Value = bool;
- explicit CommonBoolField(const _LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
+ explicit CommonBoolField(const LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isBool());
}
class CommonBitArrayField final : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Class = internal::DepType<LibObjT, BitArrayFieldClass, ConstBitArrayFieldClass>;
- explicit CommonBitArrayField(const _LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
+ explicit CommonBitArrayField(const LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isBitArray());
}
using typename CommonField<LibObjT>::_ThisCommonField;
protected:
- using typename CommonField<LibObjT>::_LibObjPtr;
using _ThisCommonUnsignedIntegerField = CommonUnsignedIntegerField<LibObjT>;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Value = std::uint64_t;
using Class = internal::DepType<LibObjT, IntegerFieldClass, ConstIntegerFieldClass>;
- explicit CommonUnsignedIntegerField(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonUnsignedIntegerField(const LibObjPtr libObjPtr) noexcept :
_ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isUnsignedInteger());
using typename CommonField<LibObjT>::_ThisCommonField;
protected:
- using typename CommonField<LibObjT>::_LibObjPtr;
using _ThisCommonSignedIntegerField = CommonSignedIntegerField<LibObjT>;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Value = std::int64_t;
using Class = internal::DepType<LibObjT, IntegerFieldClass, ConstIntegerFieldClass>;
- explicit CommonSignedIntegerField(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonSignedIntegerField(const LibObjPtr libObjPtr) noexcept :
_ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isSignedInteger());
{
private:
using typename CommonUnsignedIntegerField<LibObjT>::_ThisCommonUnsignedIntegerField;
- using typename CommonField<LibObjT>::_LibObjPtr;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
+
using Class = internal::DepType<LibObjT, UnsignedEnumerationFieldClass,
ConstUnsignedEnumerationFieldClass>;
- explicit CommonUnsignedEnumerationField(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonUnsignedEnumerationField(const LibObjPtr libObjPtr) noexcept :
_ThisCommonUnsignedIntegerField {libObjPtr}
{
BT_ASSERT_DBG(this->isUnsignedEnumeration());
{
private:
using typename CommonSignedIntegerField<LibObjT>::_ThisCommonSignedIntegerField;
- using typename CommonField<LibObjT>::_LibObjPtr;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
+
using Class =
internal::DepType<LibObjT, SignedEnumerationFieldClass, ConstSignedEnumerationFieldClass>;
- explicit CommonSignedEnumerationField(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonSignedEnumerationField(const LibObjPtr libObjPtr) noexcept :
_ThisCommonSignedIntegerField {libObjPtr}
{
BT_ASSERT_DBG(this->isSignedEnumeration());
class CommonSinglePrecisionRealField final : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Value = float;
- explicit CommonSinglePrecisionRealField(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonSinglePrecisionRealField(const LibObjPtr libObjPtr) noexcept :
_ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isSinglePrecisionReal());
class CommonDoublePrecisionRealField final : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Value = double;
- explicit CommonDoublePrecisionRealField(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonDoublePrecisionRealField(const LibObjPtr libObjPtr) noexcept :
_ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isDoublePrecisionReal());
class CommonStringField final : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Value = const char *;
- explicit CommonStringField(const _LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
+ explicit CommonStringField(const LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isString());
}
class CommonStructureField final : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
using _Spec = internal::CommonStructureFieldSpec<LibObjT>;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Class = internal::DepType<LibObjT, StructureFieldClass, ConstStructureFieldClass>;
- explicit CommonStructureField(const _LibObjPtr libObjPtr) noexcept :
- _ThisCommonField {libObjPtr}
+ explicit CommonStructureField(const LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isStructure());
}
using _Spec = internal::CommonArrayFieldSpec<LibObjT>;
protected:
- using typename CommonField<LibObjT>::_LibObjPtr;
using _ThisCommonArrayField = CommonArrayField<LibObjT>;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Class = internal::DepType<LibObjT, ArrayFieldClass, ConstArrayFieldClass>;
- explicit CommonArrayField(const _LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
+ explicit CommonArrayField(const LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isArray());
}
class CommonDynamicArrayField : public CommonArrayField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonArrayField<LibObjT>::_ThisCommonArrayField;
public:
- explicit CommonDynamicArrayField(const _LibObjPtr libObjPtr) noexcept :
+ using typename CommonField<LibObjT>::LibObjPtr;
+
+ explicit CommonDynamicArrayField(const LibObjPtr libObjPtr) noexcept :
_ThisCommonArrayField {libObjPtr}
{
BT_ASSERT_DBG(this->isDynamicArray());
class CommonOptionField : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
using _Spec = internal::CommonOptionFieldSpec<LibObjT>;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Class = internal::DepType<LibObjT, OptionFieldClass, ConstOptionFieldClass>;
- explicit CommonOptionField(const _LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
+ explicit CommonOptionField(const LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isOption());
}
class CommonVariantField : public CommonField<LibObjT>
{
private:
- using typename CommonField<LibObjT>::_LibObjPtr;
using typename CommonField<LibObjT>::_ThisCommonField;
using _Spec = internal::CommonVariantFieldSpec<LibObjT>;
public:
+ using typename CommonField<LibObjT>::LibObjPtr;
using Class = internal::DepType<LibObjT, VariantFieldClass, ConstVariantFieldClass>;
- explicit CommonVariantField(const _LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
+ explicit CommonVariantField(const LibObjPtr libObjPtr) noexcept : _ThisCommonField {libObjPtr}
{
BT_ASSERT_DBG(this->isVariant());
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _ConstLibObjT = typename std::add_const<LibObjT>::type;
using _Spec = internal::CommonIntegerRangeSetSpec<_ConstLibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
+
using Shared = SharedObject<CommonIntegerRangeSet, LibObjT,
internal::IntegerRangeSetRefFuncs<_ConstLibObjT>>;
using Value = typename Range::Value;
using Iterator = BorrowedObjectIterator<CommonIntegerRangeSet>;
- explicit CommonIntegerRangeSet(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonIntegerRangeSet(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
+
using Value =
typename std::conditional<std::is_same<LibObjT, const bt_integer_range_unsigned>::value,
std::uint64_t, std::int64_t>::type;
public:
- explicit ConstIntegerRange(const _LibObjPtr libObjPtr) noexcept :
- _ThisBorrowedObject {libObjPtr}
+ explicit ConstIntegerRange(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
using Shared =
SharedObject<MessageIterator, bt_message_iterator, internal::MessageIteratorRefFuncs>;
- explicit MessageIterator(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit MessageIterator(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
protected:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _ThisCommonMessage = CommonMessage<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonMessage<LibObjT>, LibObjT>;
- explicit CommonMessage(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonMessage(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
class CommonStreamBeginningMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
using _Stream = internal::DepStream<LibObjT>;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonStreamBeginningMessage<LibObjT>, LibObjT>;
- explicit CommonStreamBeginningMessage(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonStreamBeginningMessage(const LibObjPtr libObjPtr) noexcept :
_ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isStreamBeginning());
class CommonStreamEndMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
using _Stream = internal::DepStream<LibObjT>;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonStreamEndMessage<LibObjT>, LibObjT>;
- explicit CommonStreamEndMessage(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonStreamEndMessage(const LibObjPtr libObjPtr) noexcept :
_ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isStreamEnd());
class CommonPacketBeginningMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
using _Packet = internal::DepPacket<LibObjT>;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonPacketBeginningMessage<LibObjT>, LibObjT>;
- explicit CommonPacketBeginningMessage(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonPacketBeginningMessage(const LibObjPtr libObjPtr) noexcept :
_ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isPacketBeginning());
class CommonPacketEndMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
using _Packet = internal::DepPacket<LibObjT>;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonPacketEndMessage<LibObjT>, LibObjT>;
- explicit CommonPacketEndMessage(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonPacketEndMessage(const LibObjPtr libObjPtr) noexcept :
_ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isPacketEnd());
class CommonEventMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
using _Event = internal::DepType<LibObjT, CommonEvent<bt_event>, CommonEvent<const bt_event>>;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonEventMessage<LibObjT>, LibObjT>;
- explicit CommonEventMessage(const _LibObjPtr libObjPtr) noexcept :
- _ThisCommonMessage {libObjPtr}
+ explicit CommonEventMessage(const LibObjPtr libObjPtr) noexcept : _ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isEvent());
}
class CommonDiscardedEventsMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
using _Stream = internal::DepStream<LibObjT>;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonDiscardedEventsMessage<LibObjT>, LibObjT>;
- explicit CommonDiscardedEventsMessage(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonDiscardedEventsMessage(const LibObjPtr libObjPtr) noexcept :
_ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isDiscardedEvents());
class CommonDiscardedPacketsMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
using _Stream = internal::DepStream<LibObjT>;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonDiscardedPacketsMessage<LibObjT>, LibObjT>;
- explicit CommonDiscardedPacketsMessage(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonDiscardedPacketsMessage(const LibObjPtr libObjPtr) noexcept :
_ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isDiscardedPackets());
class CommonMessageIteratorInactivityMessage final : public CommonMessage<LibObjT>
{
private:
- using typename CommonMessage<LibObjT>::_LibObjPtr;
using typename CommonMessage<LibObjT>::_ThisCommonMessage;
public:
+ using typename CommonMessage<LibObjT>::LibObjPtr;
using Shared = SharedMessage<CommonMessageIteratorInactivityMessage<LibObjT>, LibObjT>;
- explicit CommonMessageIteratorInactivityMessage(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonMessageIteratorInactivityMessage(const LibObjPtr libObjPtr) noexcept :
_ThisCommonMessage {libObjPtr}
{
BT_ASSERT_DBG(this->isMessageIteratorInactivity());
class PrivateQueryExecutor final : public BorrowedObject<bt_private_query_executor>
{
public:
- explicit PrivateQueryExecutor(const _LibObjPtr libObjPtr) noexcept :
+ explicit PrivateQueryExecutor(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
class SelfComponentClass final : public BorrowedObject<bt_self_component_class>
{
public:
- explicit SelfComponentClass(const _LibObjPtr libObjPtr) noexcept :
+ explicit SelfComponentClass(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
class SelfComponent final : public BorrowedObject<bt_self_component>
{
public:
- explicit SelfComponent(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit SelfComponent(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
public:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
protected:
- explicit SelfSpecificComponent(const _LibObjPtr libObjPtr) noexcept :
+ explicit SelfSpecificComponent(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
using _Spec = internal::SelfComponentPortsSpec<LibSelfCompT, LibSelfCompPortT>;
public:
- using typename BorrowedObject<LibSelfCompT>::_LibObjPtr;
+ using typename BorrowedObject<LibSelfCompT>::LibObjPtr;
using Port = SelfComponentPort<LibSelfCompPortT, LibPortT>;
using Iterator = BorrowedObjectIterator<SelfComponentPorts>;
- explicit SelfComponentPorts(const _LibObjPtr libObjPtr) noexcept :
+ explicit SelfComponentPorts(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
class SelfComponentPort final : public BorrowedObject<LibSelfCompPortT>
{
public:
- using typename BorrowedObject<LibSelfCompPortT>::_LibObjPtr;
+ using typename BorrowedObject<LibSelfCompPortT>::LibObjPtr;
- explicit SelfComponentPort(const _LibObjPtr libObjPtr) noexcept :
+ explicit SelfComponentPort(const LibObjPtr libObjPtr) noexcept :
BorrowedObject<LibSelfCompPortT> {libObjPtr}
{
}
public BorrowedObject<bt_self_message_iterator_configuration>
{
public:
- explicit SelfMessageIteratorConfiguration(const _LibObjPtr libObjPtr) noexcept :
+ explicit SelfMessageIteratorConfiguration(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
class SelfMessageIterator final : public BorrowedObject<bt_self_message_iterator>
{
public:
- explicit SelfMessageIterator(const _LibObjPtr libObjPtr) noexcept :
+ explicit SelfMessageIterator(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _Spec = internal::CommonEventSpec<LibObjT>;
using _Packet = internal::DepPacket<LibObjT>;
using _Stream = internal::DepStream<LibObjT>;
using _StructureField = internal::DepStructField<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
+
using Class = internal::DepType<LibObjT, CommonEventClass<bt_event_class>,
CommonEventClass<const bt_event_class>>;
- explicit CommonEvent(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonEvent(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _Spec = internal::CommonPacketSpec<LibObjT>;
using _Stream = internal::DepStream<LibObjT>;
using _StructureField = internal::DepStructField<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<CommonPacket, LibObjT, internal::PacketRefFuncs>;
- explicit CommonPacket(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonPacket(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _Spec = internal::CommonStreamSpec<LibObjT>;
using _Trace = internal::DepType<LibObjT, CommonTrace<bt_trace>, CommonTrace<const bt_trace>>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<CommonStream, LibObjT, internal::StreamRefFuncs>;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
using Class = internal::DepType<LibObjT, CommonStreamClass<bt_stream_class>,
CommonStreamClass<const bt_stream_class>>;
- explicit CommonStream(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonStream(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _Spec = internal::CommonTraceSpec<LibObjT>;
using _Stream = internal::DepStream<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<CommonTrace, LibObjT, internal::TraceRefFuncs>;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
ConstValue value;
};
- explicit CommonTrace(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonTrace(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _Spec = internal::CommonEventClassSpec<LibObjT>;
using _StructureFieldClass = internal::DepStructFc<LibObjT>;
CommonStreamClass<const bt_stream_class>>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<CommonEventClass, LibObjT, internal::EventClassRefFuncs>;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
DEBUG = BT_EVENT_CLASS_LOG_LEVEL_DEBUG,
};
- explicit CommonEventClass(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonEventClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _Spec = internal::CommonStreamClassSpec<LibObjT>;
using _StructureFieldClass = internal::DepStructFc<LibObjT>;
using _ClockClass = internal::DepType<LibObjT, ClockClass, ConstClockClass>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<CommonStreamClass, LibObjT, internal::StreamClassRefFuncs>;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
- explicit CommonStreamClass(const _LibObjPtr libObjPtr) noexcept :
- _ThisBorrowedObject {libObjPtr}
+ explicit CommonStreamClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
{
private:
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
+
using _Spec = internal::CommonTraceClassSpec<LibObjT>;
using _StreamClass = internal::DepType<LibObjT, CommonStreamClass<bt_stream_class>,
CommonStreamClass<const bt_stream_class>>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedObject<CommonTraceClass, LibObjT, internal::TraceClassRefFuncs>;
using UserAttributes = internal::DepUserAttrs<LibObjT>;
- explicit CommonTraceClass(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonTraceClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
using typename BorrowedObject<LibObjT>::_ThisBorrowedObject;
protected:
- using typename BorrowedObject<LibObjT>::_LibObjPtr;
using _ThisCommonValue = CommonValue<LibObjT>;
public:
+ using typename BorrowedObject<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonValue<LibObjT>, LibObjT>;
- explicit CommonValue(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
+ explicit CommonValue(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
{
}
class CommonBoolValue final : public CommonValue<LibObjT>
{
private:
- using typename CommonValue<LibObjT>::_LibObjPtr;
using typename CommonValue<LibObjT>::_ThisCommonValue;
public:
+ using typename CommonValue<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonBoolValue<LibObjT>, LibObjT>;
using Value = bool;
- explicit CommonBoolValue(const _LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
+ explicit CommonBoolValue(const LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
{
BT_ASSERT_DBG(this->isBool());
}
class CommonUnsignedIntegerValue final : public CommonValue<LibObjT>
{
private:
- using typename CommonValue<LibObjT>::_LibObjPtr;
using typename CommonValue<LibObjT>::_ThisCommonValue;
public:
+ using typename CommonValue<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonUnsignedIntegerValue<LibObjT>, LibObjT>;
using Value = std::uint64_t;
- explicit CommonUnsignedIntegerValue(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonUnsignedIntegerValue(const LibObjPtr libObjPtr) noexcept :
_ThisCommonValue {libObjPtr}
{
BT_ASSERT_DBG(this->isUnsignedInteger());
class CommonSignedIntegerValue final : public CommonValue<LibObjT>
{
private:
- using typename CommonValue<LibObjT>::_LibObjPtr;
using typename CommonValue<LibObjT>::_ThisCommonValue;
public:
+ using typename CommonValue<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonSignedIntegerValue<LibObjT>, LibObjT>;
using Value = std::int64_t;
- explicit CommonSignedIntegerValue(const _LibObjPtr libObjPtr) noexcept :
+ explicit CommonSignedIntegerValue(const LibObjPtr libObjPtr) noexcept :
_ThisCommonValue {libObjPtr}
{
BT_ASSERT_DBG(this->isSignedInteger());
class CommonRealValue final : public CommonValue<LibObjT>
{
private:
- using typename CommonValue<LibObjT>::_LibObjPtr;
using typename CommonValue<LibObjT>::_ThisCommonValue;
public:
+ using typename CommonValue<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonRealValue<LibObjT>, LibObjT>;
using Value = double;
- explicit CommonRealValue(const _LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
+ explicit CommonRealValue(const LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
{
BT_ASSERT_DBG(this->isReal());
}
class CommonStringValue final : public CommonValue<LibObjT>
{
private:
- using typename CommonValue<LibObjT>::_LibObjPtr;
using typename CommonValue<LibObjT>::_ThisCommonValue;
public:
+ using typename CommonValue<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonStringValue<LibObjT>, LibObjT>;
using Value = const char *;
- explicit CommonStringValue(const _LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
+ explicit CommonStringValue(const LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
{
BT_ASSERT_DBG(this->isString());
}
class CommonArrayValue final : public CommonValue<LibObjT>
{
private:
- using typename CommonValue<LibObjT>::_LibObjPtr;
using typename CommonValue<LibObjT>::_ThisCommonValue;
public:
+ using typename CommonValue<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonArrayValue<LibObjT>, LibObjT>;
using Iterator = BorrowedObjectIterator<CommonArrayValue<LibObjT>>;
- explicit CommonArrayValue(const _LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
+ explicit CommonArrayValue(const LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
{
BT_ASSERT_DBG(this->isArray());
}
class CommonMapValue final : public CommonValue<LibObjT>
{
private:
- using typename CommonValue<LibObjT>::_LibObjPtr;
using typename CommonValue<LibObjT>::_ThisCommonValue;
public:
+ using typename CommonValue<LibObjT>::LibObjPtr;
using Shared = SharedValue<CommonMapValue<LibObjT>, LibObjT>;
- explicit CommonMapValue(const _LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
+ explicit CommonMapValue(const LibObjPtr libObjPtr) noexcept : _ThisCommonValue {libObjPtr}
{
BT_ASSERT_DBG(this->isMap());
}