BT_ASSERT_DBG(libObjPtr);
}
- /* Default copy operations */
- BorrowedObject(const BorrowedObject&) noexcept = default;
- BorrowedObject& operator=(const BorrowedObject&) noexcept = default;
-
/*
* Generic "copy" constructor.
*
* context in the compiler error message.
*/
template <typename OtherLibObjT>
- _ThisBorrowedObject& operator=(const BorrowedObject<OtherLibObjT>& other) noexcept
+ _ThisBorrowedObject operator=(const BorrowedObject<OtherLibObjT>& other) noexcept
{
static_assert(_AssignableFromConst<OtherLibObjT>::val,
"Don't assign a non-const wrapper from a const wrapper.");
{
}
- ClockClassOffset(const ClockClassOffset&) noexcept = default;
- ClockClassOffset& operator=(const ClockClassOffset&) noexcept = default;
-
std::int64_t seconds() const noexcept
{
return _mSeconds;
{
}
- ConstClockSnapshot(const ConstClockSnapshot& clkSnapshot) noexcept :
- _ThisBorrowedObject {clkSnapshot}
- {
- }
-
- ConstClockSnapshot& operator=(const ConstClockSnapshot& clkSnapshot) noexcept
- {
- _ThisBorrowedObject::operator=(clkSnapshot);
- return *this;
- }
-
std::uint64_t value() const noexcept
{
return bt_clock_snapshot_get_value(this->libObjPtr());
}
template <typename OtherLibObjT>
- CommonFieldClass& operator=(const CommonFieldClass<OtherLibObjT> fc) noexcept
+ CommonFieldClass operator=(const CommonFieldClass<OtherLibObjT> fc) noexcept
{
_ThisBorrowedObject::operator=(fc);
return *this;
}
template <typename OtherLibObjT>
- CommonBitArrayFieldClass<LibObjT>&
+ CommonBitArrayFieldClass<LibObjT>
operator=(const CommonBitArrayFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonIntegerFieldClass& operator=(const CommonIntegerFieldClass<OtherLibObjT> fc) noexcept
+ CommonIntegerFieldClass operator=(const CommonIntegerFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonFieldClass::operator=(fc);
return *this;
{
}
- ConstEnumerationFieldClassMapping&
+ ConstEnumerationFieldClassMapping
operator=(const ConstEnumerationFieldClassMapping& mapping) noexcept
{
_ThisBorrowedObject::operator=(mapping);
}
template <typename OtherLibObjT>
- CommonBaseEnumerationFieldClass&
+ CommonBaseEnumerationFieldClass
operator=(const CommonBaseEnumerationFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonIntegerFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonEnumerationFieldClass&
+ CommonEnumerationFieldClass
operator=(const CommonEnumerationFieldClass<OtherLibObjT, MappingT> fc) noexcept
{
CommonEnumerationFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonStructureFieldClassMember<LibObjT>&
+ CommonStructureFieldClassMember<LibObjT>
operator=(const CommonStructureFieldClassMember<OtherLibObjT> fc) noexcept
{
_ThisBorrowedObject::operator=(fc);
}
template <typename OtherLibObjT>
- CommonStructureFieldClass& operator=(const CommonStructureFieldClass<OtherLibObjT> fc) noexcept
+ CommonStructureFieldClass operator=(const CommonStructureFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonFieldClass::operator=(fc);
return *this;
}
template <typename OtherLibObjT>
- CommonArrayFieldClass& operator=(const CommonArrayFieldClass<OtherLibObjT> fc) noexcept
+ CommonArrayFieldClass operator=(const CommonArrayFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonFieldClass::operator=(fc);
return *this;
}
template <typename OtherLibObjT>
- CommonStaticArrayFieldClass&
+ CommonStaticArrayFieldClass
operator=(const CommonStaticArrayFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonArrayFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonDynamicArrayWithLengthFieldClass&
+ CommonDynamicArrayWithLengthFieldClass
operator=(const CommonDynamicArrayWithLengthFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonArrayFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonOptionFieldClass& operator=(const CommonOptionFieldClass<OtherLibObjT> fc) noexcept
+ CommonOptionFieldClass operator=(const CommonOptionFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonFieldClass::operator=(fc);
return *this;
}
template <typename OtherLibObjT>
- CommonOptionWithSelectorFieldClass&
+ CommonOptionWithSelectorFieldClass
operator=(const CommonOptionWithSelectorFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonOptionFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonOptionWithBoolSelectorFieldClass&
+ CommonOptionWithBoolSelectorFieldClass
operator=(const CommonOptionWithBoolSelectorFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonOptionWithSelectorFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonOptionWithIntegerSelectorFieldClass&
+ CommonOptionWithIntegerSelectorFieldClass
operator=(const CommonOptionWithIntegerSelectorFieldClass<OtherLibObjT, RangeSetT> fc) noexcept
{
_ThisCommonOptionWithSelectorFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonVariantFieldClassOption&
+ CommonVariantFieldClassOption
operator=(const CommonVariantFieldClassOption<OtherLibObjT> fc) noexcept
{
_ThisBorrowedObject::operator=(fc);
}
template <typename OtherLibObjT>
- ConstVariantWithIntegerSelectorFieldClassOption&
+ ConstVariantWithIntegerSelectorFieldClassOption
operator=(const ConstVariantWithIntegerSelectorFieldClassOption<OtherLibObjT> fc) noexcept
{
_ThisBorrowedObject::operator=(fc);
}
template <typename OtherLibObjT>
- CommonVariantFieldClass& operator=(const CommonVariantFieldClass<OtherLibObjT> fc) noexcept
+ CommonVariantFieldClass operator=(const CommonVariantFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonFieldClass::operator=(fc);
return *this;
}
template <typename OtherLibObjT>
- CommonVariantWithoutSelectorFieldClass&
+ CommonVariantWithoutSelectorFieldClass
operator=(const CommonVariantWithoutSelectorFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonVariantFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonVariantWithSelectorFieldClass&
+ CommonVariantWithSelectorFieldClass
operator=(const CommonVariantWithSelectorFieldClass<OtherLibObjT> fc) noexcept
{
_ThisCommonVariantFieldClass::operator=(fc);
}
template <typename OtherLibObjT>
- CommonVariantWithIntegerSelectorFieldClass&
+ CommonVariantWithIntegerSelectorFieldClass
operator=(const CommonVariantWithIntegerSelectorFieldClass<OtherLibObjT, OptionT> fc) noexcept
{
_ThisCommonVariantWithSelectorFieldClass::operator=(fc);
{
}
- ConstFieldPathItem(const ConstFieldPathItem& fpItem) noexcept : _ThisBorrowedObject {fpItem}
- {
- }
-
- ConstFieldPathItem& operator=(const ConstFieldPathItem& fpItem) noexcept
- {
- _ThisBorrowedObject::operator=(fpItem);
- return *this;
- }
-
FieldPathItemType type() const noexcept
{
return static_cast<FieldPathItemType>(this->_libType());
BT_ASSERT_DBG(this->isIndex());
}
- ConstIndexFieldPathItem(const ConstIndexFieldPathItem& fpItem) noexcept :
- ConstFieldPathItem {fpItem}
- {
- }
-
- ConstIndexFieldPathItem& operator=(const ConstIndexFieldPathItem& fpItem) noexcept
- {
- ConstFieldPathItem::operator=(fpItem);
- return *this;
- }
-
std::uint64_t index() const noexcept
{
return bt_field_path_item_index_get_index(this->libObjPtr());
{
}
- ConstFieldPath(const ConstFieldPath& fieldPath) noexcept : _ThisBorrowedObject {fieldPath}
- {
- }
-
- ConstFieldPath& operator=(const ConstFieldPath& fieldPath) noexcept
- {
- _ThisBorrowedObject::operator=(fieldPath);
- return *this;
- }
-
Scope rootScope() const noexcept
{
return static_cast<Scope>(bt_field_path_get_root_scope(this->libObjPtr()));
}
template <typename OtherLibObjT>
- _ThisCommonField& operator=(const CommonField<OtherLibObjT> val) noexcept
+ _ThisCommonField operator=(const CommonField<OtherLibObjT> val) noexcept
{
_ThisBorrowedObject::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonBoolField<LibObjT>& operator=(const CommonBoolField<OtherLibObjT> val) noexcept
+ CommonBoolField<LibObjT> operator=(const CommonBoolField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonBitArrayField<LibObjT>& operator=(const CommonBitArrayField<OtherLibObjT> val) noexcept
+ CommonBitArrayField<LibObjT> operator=(const CommonBitArrayField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- _ThisCommonUnsignedIntegerField&
+ _ThisCommonUnsignedIntegerField
operator=(const CommonUnsignedIntegerField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
}
template <typename OtherLibObjT>
- _ThisCommonSignedIntegerField&
+ _ThisCommonSignedIntegerField
operator=(const CommonSignedIntegerField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
{
}
- EnumerationFieldClassMappingLabels(const EnumerationFieldClassMappingLabels&) noexcept =
- default;
-
- EnumerationFieldClassMappingLabels&
- operator=(const EnumerationFieldClassMappingLabels&) noexcept = default;
-
std::uint64_t length() const noexcept
{
return _mLen;
}
template <typename OtherLibObjT>
- CommonUnsignedEnumerationField<LibObjT>&
+ CommonUnsignedEnumerationField<LibObjT>
operator=(const CommonUnsignedEnumerationField<OtherLibObjT> val) noexcept
{
_ThisCommonUnsignedIntegerField::operator=(val);
}
template <typename OtherLibObjT>
- CommonSignedEnumerationField<LibObjT>&
+ CommonSignedEnumerationField<LibObjT>
operator=(const CommonSignedEnumerationField<OtherLibObjT> val) noexcept
{
_ThisCommonSignedIntegerField::operator=(val);
}
template <typename OtherLibObjT>
- CommonSinglePrecisionRealField<LibObjT>&
+ CommonSinglePrecisionRealField<LibObjT>
operator=(const CommonSinglePrecisionRealField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
}
template <typename OtherLibObjT>
- CommonDoublePrecisionRealField<LibObjT>&
+ CommonDoublePrecisionRealField<LibObjT>
operator=(const CommonDoublePrecisionRealField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
}
template <typename OtherLibObjT>
- CommonStringField<LibObjT>& operator=(const CommonStringField<OtherLibObjT> val) noexcept
+ CommonStringField<LibObjT> operator=(const CommonStringField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonStructureField<LibObjT>& operator=(const CommonStructureField<OtherLibObjT> val) noexcept
+ CommonStructureField<LibObjT> operator=(const CommonStructureField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- _ThisCommonArrayField& operator=(const CommonArrayField<OtherLibObjT> val) noexcept
+ _ThisCommonArrayField operator=(const CommonArrayField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonDynamicArrayField<LibObjT>&
+ CommonDynamicArrayField<LibObjT>
operator=(const CommonDynamicArrayField<OtherLibObjT> val) noexcept
{
_ThisCommonArrayField::operator=(val);
}
template <typename OtherLibObjT>
- CommonOptionField<LibObjT>& operator=(const CommonOptionField<OtherLibObjT> val) noexcept
+ CommonOptionField<LibObjT> operator=(const CommonOptionField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonVariantField<LibObjT>& operator=(const CommonVariantField<OtherLibObjT> val) noexcept
+ CommonVariantField<LibObjT> operator=(const CommonVariantField<OtherLibObjT> val) noexcept
{
_ThisCommonField::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonIntegerRangeSet& operator=(const CommonIntegerRangeSet<OtherLibObjT> rangeSet) noexcept
+ CommonIntegerRangeSet operator=(const CommonIntegerRangeSet<OtherLibObjT> rangeSet) noexcept
{
_ThisBorrowedObject::operator=(rangeSet);
return *this;
{
}
- ConstIntegerRange(const ConstIntegerRange& range) noexcept : _ThisBorrowedObject {range}
- {
- }
-
- ConstIntegerRange& operator=(const ConstIntegerRange& range) noexcept
- {
- _ThisBorrowedObject::operator=(range);
- return *this;
- }
-
bool operator==(const ConstIntegerRange& other) const noexcept
{
return internal::ConstIntegerRangeSpec<LibObjT>::isEqual(this->libObjPtr(),
}
template <typename OtherLibObjT>
- _ThisCommonMessage& operator=(const CommonMessage<OtherLibObjT> val) noexcept
+ _ThisCommonMessage operator=(const CommonMessage<OtherLibObjT> val) noexcept
{
_ThisBorrowedObject::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonStreamBeginningMessage<LibObjT>&
+ CommonStreamBeginningMessage<LibObjT>
operator=(const CommonStreamBeginningMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
}
template <typename OtherLibObjT>
- CommonStreamEndMessage<LibObjT>&
+ CommonStreamEndMessage<LibObjT>
operator=(const CommonStreamEndMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
}
template <typename OtherLibObjT>
- CommonPacketBeginningMessage<LibObjT>&
+ CommonPacketBeginningMessage<LibObjT>
operator=(const CommonPacketBeginningMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
}
template <typename OtherLibObjT>
- CommonPacketEndMessage<LibObjT>&
+ CommonPacketEndMessage<LibObjT>
operator=(const CommonPacketEndMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
}
template <typename OtherLibObjT>
- CommonEventMessage<LibObjT>& operator=(const CommonEventMessage<OtherLibObjT> val) noexcept
+ CommonEventMessage<LibObjT> operator=(const CommonEventMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonDiscardedEventsMessage<LibObjT>&
+ CommonDiscardedEventsMessage<LibObjT>
operator=(const CommonDiscardedEventsMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
}
template <typename OtherLibObjT>
- CommonDiscardedPacketsMessage<LibObjT>&
+ CommonDiscardedPacketsMessage<LibObjT>
operator=(const CommonDiscardedPacketsMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
}
template <typename OtherLibObjT>
- CommonMessageIteratorInactivityMessage<LibObjT>&
+ CommonMessageIteratorInactivityMessage<LibObjT>
operator=(const CommonMessageIteratorInactivityMessage<OtherLibObjT> val) noexcept
{
_ThisCommonMessage::operator=(val);
}
template <typename OtherLibObjT>
- CommonEvent<LibObjT>& operator=(const CommonEvent<OtherLibObjT> event) noexcept
+ CommonEvent<LibObjT> operator=(const CommonEvent<OtherLibObjT> event) noexcept
{
_ThisBorrowedObject::operator=(event);
return *this;
}
template <typename OtherLibObjT>
- CommonPacket& operator=(const CommonPacket<OtherLibObjT> packet) noexcept
+ CommonPacket operator=(const CommonPacket<OtherLibObjT> packet) noexcept
{
_ThisBorrowedObject::operator=(packet);
return *this;
}
template <typename OtherLibObjT>
- CommonStream& operator=(const CommonStream<OtherLibObjT> stream) noexcept
+ CommonStream operator=(const CommonStream<OtherLibObjT> stream) noexcept
{
_ThisBorrowedObject::operator=(stream);
return *this;
}
template <typename OtherLibObjT>
- CommonTrace& operator=(const CommonTrace<OtherLibObjT> trace) noexcept
+ CommonTrace operator=(const CommonTrace<OtherLibObjT> trace) noexcept
{
_ThisBorrowedObject::operator=(trace);
return *this;
}
template <typename OtherLibObjT>
- CommonEventClass& operator=(const CommonEventClass<OtherLibObjT> eventClass) noexcept
+ CommonEventClass operator=(const CommonEventClass<OtherLibObjT> eventClass) noexcept
{
_ThisBorrowedObject::operator=(eventClass);
return *this;
}
template <typename OtherLibObjT>
- CommonStreamClass& operator=(const CommonStreamClass<OtherLibObjT> streamClass) noexcept
+ CommonStreamClass operator=(const CommonStreamClass<OtherLibObjT> streamClass) noexcept
{
_ThisBorrowedObject::operator=(streamClass);
return *this;
}
template <typename OtherLibObjT>
- CommonTraceClass& operator=(const CommonTraceClass<OtherLibObjT> traceClass) noexcept
+ CommonTraceClass operator=(const CommonTraceClass<OtherLibObjT> traceClass) noexcept
{
_ThisBorrowedObject::operator=(traceClass);
return *this;
}
template <typename OtherLibObjT>
- _ThisCommonValue& operator=(const CommonValue<OtherLibObjT> val) noexcept
+ _ThisCommonValue operator=(const CommonValue<OtherLibObjT> val) noexcept
{
_ThisBorrowedObject::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonNullValue<LibObjT>& operator=(const CommonNullValue<OtherLibObjT> val) noexcept
+ CommonNullValue<LibObjT> operator=(const CommonNullValue<OtherLibObjT> val) noexcept
{
_ThisCommonValue::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonBoolValue<LibObjT>& operator=(const CommonBoolValue<OtherLibObjT> val) noexcept
+ CommonBoolValue<LibObjT> operator=(const CommonBoolValue<OtherLibObjT> val) noexcept
{
_ThisCommonValue::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonUnsignedIntegerValue<LibObjT>&
+ CommonUnsignedIntegerValue<LibObjT>
operator=(const CommonUnsignedIntegerValue<OtherLibObjT> val) noexcept
{
_ThisCommonValue::operator=(val);
}
template <typename OtherLibObjT>
- CommonRealValue<LibObjT>& operator=(const CommonRealValue<OtherLibObjT> val) noexcept
+ CommonRealValue<LibObjT> operator=(const CommonRealValue<OtherLibObjT> val) noexcept
{
_ThisCommonValue::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonStringValue<LibObjT>& operator=(const CommonStringValue<OtherLibObjT> val) noexcept
+ CommonStringValue<LibObjT> operator=(const CommonStringValue<OtherLibObjT> val) noexcept
{
_ThisCommonValue::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonArrayValue<LibObjT>& operator=(const CommonArrayValue<OtherLibObjT> val) noexcept
+ CommonArrayValue<LibObjT> operator=(const CommonArrayValue<OtherLibObjT> val) noexcept
{
_ThisCommonValue::operator=(val);
return *this;
}
template <typename OtherLibObjT>
- CommonMapValue<LibObjT>& operator=(const CommonMapValue<OtherLibObjT> val) noexcept
+ CommonMapValue<LibObjT> operator=(const CommonMapValue<OtherLibObjT> val) noexcept
{
_ThisCommonValue::operator=(val);
return *this;