/* This file is autogenerated. DO NOT CHANGE. All changes will be lost */ #ifndef WRAPPERS_QPB_H #define WRAPPERS_QPB_H #include "protobufwellknowntypes_exports.qpb.h" #include #include #include #include #include #include #include #include #include namespace google::protobuf { class DoubleValue; namespace DoubleValue_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace DoubleValue_QtProtobufNested class FloatValue; namespace FloatValue_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace FloatValue_QtProtobufNested class Int64Value; namespace Int64Value_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace Int64Value_QtProtobufNested class UInt64Value; namespace UInt64Value_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace UInt64Value_QtProtobufNested class Int32Value; namespace Int32Value_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace Int32Value_QtProtobufNested class UInt32Value; namespace UInt32Value_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace UInt32Value_QtProtobufNested class BoolValue; namespace BoolValue_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace BoolValue_QtProtobufNested class StringValue; namespace StringValue_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace StringValue_QtProtobufNested class BytesValue; namespace BytesValue_QtProtobufNested { enum class QtProtobufFieldEnum; } // namespace BytesValue_QtProtobufNested #ifdef QT_USE_PROTOBUF_LIST_ALIASES using DoubleValueRepeated = QList; using FloatValueRepeated = QList; using Int64ValueRepeated = QList; using UInt64ValueRepeated = QList; using Int32ValueRepeated = QList; using UInt32ValueRepeated = QList; using BoolValueRepeated = QList; using StringValueRepeated = QList; using BytesValueRepeated = QList; #endif // QT_USE_PROTOBUF_LIST_ALIASES class DoubleValue_QtProtobufData; class DoubleValue : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(double value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = DoubleValue_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT DoubleValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~DoubleValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT DoubleValue(const DoubleValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT DoubleValue &operator =(const DoubleValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT DoubleValue(DoubleValue &&other) noexcept; DoubleValue &operator =(DoubleValue &&other) noexcept { swap(other); return *this; } void swap(DoubleValue &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT double value() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(double value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const DoubleValue &lhs, const DoubleValue &rhs) noexcept; friend bool operator==(const DoubleValue &lhs, const DoubleValue &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const DoubleValue &lhs, const DoubleValue &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace DoubleValue_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace DoubleValue_QtProtobufNested class FloatValue_QtProtobufData; class FloatValue : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(float value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = FloatValue_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT FloatValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~FloatValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT FloatValue(const FloatValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT FloatValue &operator =(const FloatValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT FloatValue(FloatValue &&other) noexcept; FloatValue &operator =(FloatValue &&other) noexcept { swap(other); return *this; } void swap(FloatValue &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT float value() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(float value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const FloatValue &lhs, const FloatValue &rhs) noexcept; friend bool operator==(const FloatValue &lhs, const FloatValue &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const FloatValue &lhs, const FloatValue &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace FloatValue_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace FloatValue_QtProtobufNested class Int64Value_QtProtobufData; class Int64Value : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(QtProtobuf::int64 value READ value WRITE setValue SCRIPTABLE false) public: using QtProtobufFieldEnum = Int64Value_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int64Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~Int64Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int64Value(const Int64Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int64Value &operator =(const Int64Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int64Value(Int64Value &&other) noexcept; Int64Value &operator =(Int64Value &&other) noexcept { swap(other); return *this; } void swap(Int64Value &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT QtProtobuf::int64 value() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(QtProtobuf::int64 value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const Int64Value &lhs, const Int64Value &rhs) noexcept; friend bool operator==(const Int64Value &lhs, const Int64Value &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const Int64Value &lhs, const Int64Value &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace Int64Value_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace Int64Value_QtProtobufNested class UInt64Value_QtProtobufData; class UInt64Value : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(QtProtobuf::uint64 value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = UInt64Value_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt64Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~UInt64Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt64Value(const UInt64Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt64Value &operator =(const UInt64Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt64Value(UInt64Value &&other) noexcept; UInt64Value &operator =(UInt64Value &&other) noexcept { swap(other); return *this; } void swap(UInt64Value &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT QtProtobuf::uint64 value() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(QtProtobuf::uint64 value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const UInt64Value &lhs, const UInt64Value &rhs) noexcept; friend bool operator==(const UInt64Value &lhs, const UInt64Value &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const UInt64Value &lhs, const UInt64Value &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace UInt64Value_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace UInt64Value_QtProtobufNested class Int32Value_QtProtobufData; class Int32Value : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(QtProtobuf::int32 value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = Int32Value_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int32Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~Int32Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int32Value(const Int32Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int32Value &operator =(const Int32Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Int32Value(Int32Value &&other) noexcept; Int32Value &operator =(Int32Value &&other) noexcept { swap(other); return *this; } void swap(Int32Value &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT QtProtobuf::int32 value() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(QtProtobuf::int32 value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const Int32Value &lhs, const Int32Value &rhs) noexcept; friend bool operator==(const Int32Value &lhs, const Int32Value &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const Int32Value &lhs, const Int32Value &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace Int32Value_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace Int32Value_QtProtobufNested class UInt32Value_QtProtobufData; class UInt32Value : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(QtProtobuf::uint32 value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = UInt32Value_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt32Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~UInt32Value(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt32Value(const UInt32Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt32Value &operator =(const UInt32Value &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT UInt32Value(UInt32Value &&other) noexcept; UInt32Value &operator =(UInt32Value &&other) noexcept { swap(other); return *this; } void swap(UInt32Value &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT QtProtobuf::uint32 value() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(QtProtobuf::uint32 value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const UInt32Value &lhs, const UInt32Value &rhs) noexcept; friend bool operator==(const UInt32Value &lhs, const UInt32Value &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const UInt32Value &lhs, const UInt32Value &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace UInt32Value_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace UInt32Value_QtProtobufNested class BoolValue_QtProtobufData; class BoolValue : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(bool value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = BoolValue_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BoolValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~BoolValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BoolValue(const BoolValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BoolValue &operator =(const BoolValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BoolValue(BoolValue &&other) noexcept; BoolValue &operator =(BoolValue &&other) noexcept { swap(other); return *this; } void swap(BoolValue &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool value() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(bool value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const BoolValue &lhs, const BoolValue &rhs) noexcept; friend bool operator==(const BoolValue &lhs, const BoolValue &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const BoolValue &lhs, const BoolValue &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace BoolValue_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace BoolValue_QtProtobufNested class StringValue_QtProtobufData; class StringValue : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(QString value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = StringValue_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT StringValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~StringValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT StringValue(const StringValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT StringValue &operator =(const StringValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT StringValue(StringValue &&other) noexcept; StringValue &operator =(StringValue &&other) noexcept { swap(other); return *this; } void swap(StringValue &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT const QString &value() const &; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(const QString &value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(QString &&value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const StringValue &lhs, const StringValue &rhs) noexcept; friend bool operator==(const StringValue &lhs, const StringValue &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const StringValue &lhs, const StringValue &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace StringValue_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace StringValue_QtProtobufNested class BytesValue_QtProtobufData; class BytesValue : public QProtobufMessage { Q_PROTOBUF_OBJECT_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) Q_PROPERTY(QByteArray value READ value WRITE setValue SCRIPTABLE true) public: using QtProtobufFieldEnum = BytesValue_QtProtobufNested::QtProtobufFieldEnum; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BytesValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT ~BytesValue(); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BytesValue(const BytesValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BytesValue &operator =(const BytesValue &other); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT BytesValue(BytesValue &&other) noexcept; BytesValue &operator =(BytesValue &&other) noexcept { swap(other); return *this; } void swap(BytesValue &other) noexcept { QProtobufMessage::swap(other); dptr.swap(other.dptr); } QPB_PROTOBUFWELLKNOWNTYPES_EXPORT Q_IMPLICIT operator QVariant() const; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT const QByteArray &value() const &; QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(const QByteArray &value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT void setValue(QByteArray &&value); QPB_PROTOBUFWELLKNOWNTYPES_EXPORT static void registerTypes(); private: friend QPB_PROTOBUFWELLKNOWNTYPES_EXPORT bool comparesEqual(const BytesValue &lhs, const BytesValue &rhs) noexcept; friend bool operator==(const BytesValue &lhs, const BytesValue &rhs) noexcept { return comparesEqual(lhs, rhs); } friend bool operator!=(const BytesValue &lhs, const BytesValue &rhs) noexcept { return !comparesEqual(lhs, rhs); } QExplicitlySharedDataPointer dptr; }; namespace BytesValue_QtProtobufNested { Q_NAMESPACE_EXPORT(QPB_PROTOBUFWELLKNOWNTYPES_EXPORT) enum class QtProtobufFieldEnum { ValueProtoFieldNumber = 1, }; Q_ENUM_NS(QtProtobufFieldEnum) } // namespace BytesValue_QtProtobufNested } // namespace google::protobuf #endif // WRAPPERS_QPB_H