Name Description Size Coverage
CMakeLists.txt 2254 -
configure.cmake 3753 -
doc -
protobuffieldpresencechecker_p.h 2752 -
protobufscalarjsonserializers_p.h 8597 -
protobufscalarserializers_p.cpp Gets length of a byte-array and prepends to it its serialized length value using the appropriate serialization algorithm Returns 'data' with its length prepended 1624 -
protobufscalarserializers_p.h 13159 -
qabstractprotobufserializer.cpp ! \class QAbstractProtobufSerializer \inmodule QtProtobuf \since 6.5 \brief The QAbstractProtobufSerializer class is interface that represents basic functions for serialization/deserialization. \reentrant The QProtobufSerializer class registers serializers/deserializers for classes implementing a protobuf message, inheriting \l QProtobufMessage. These classes are generated automatically, based on a \c{.proto} file, using the CMake function \l qt_add_protobuf or by running \l {The qtprotobufgen Tool} {qtprotobufgen} directly. This class should be used as a base for specific serializers. The handlers property contains all message-specific serializers and should be used while serialization/deserialization. Inherited classes should reimplement scope of virtual methods that used by registered message serialization/deserialization functions. 4699 -
qabstractprotobufserializer.h 1343 -
qprotobufdeserializerbase.cpp 6811 -
qprotobufdeserializerbase_p.h 2254 -
qprotobufjsonserializer.cpp ! \class QProtobufJsonSerializer \inmodule QtProtobuf \since 6.7 \brief The QProtobufJsonSerializer class is an interface that represents basic functions for serialization/deserialization of QProtobufMessage objects to JSON. The QProtobufJsonSerializer class registers serializers/deserializers for classes implementing a protobuf message, inheriting \l QProtobufMessage. These classes are generated automatically, based on a \c{.proto} file, using the CMake function \l qt_add_protobuf or by running \l {The qtprotobufgen Tool} {qtprotobufgen} directly. 25193 -
qprotobufjsonserializer.h 1005 -
qprotobufjsonserializer_p.h 1299 -
qprotobuflazymessagepointer.h 3417 -
qprotobufmessage.cpp ! \since 6.11 \fn template <class To> To qprotobufmessage_cast(QProtobufMessage *from) \fn template <class To> To qprotobufmessage_cast(const QProtobufMessage *from) \relates QProtobufMessage Returns the given \a from object cast to pointer type \c To if the object is of type \c To (or a subclass); otherwise returns \nullptr. If \a from is \nullptr, this function also returns \nullptr. The template argument \c To must be a pointer to a class that inherits from QProtobufMessage and is declared with the \l Q_PROTOBUF_OBJECT macro. Example: \code QProtobufMessage *message = new myproject::MySpecificMessage(); // Cast to its own type (success) auto *specific = qprotobufmessage_cast<myproject::MySpecificMessage *>(message); // specific is a valid pointer // Cast to an unrelated type (failure) auto *another = qprotobufmessage_cast<myproject::AnotherMessage *>(message); // another is nullptr \endcode This function behaves similarly to the standard C++ \c dynamic_cast(), with the advantages that it doesn't require RTTI support and works across dynamic library boundaries. \warning If the type pointed to by \c To is not declared with the Q_PROTOBUF_OBJECT macro, this function's return value is undefined. 14160 -
qprotobufmessage.h 9497 -
qprotobufmessage_p.h 2202 -
qprotobufobject.h not exported 727 -
qprotobufobject.qdoc 388 -
qprotobufoneof.cpp ! \internal \fn template<typename T, QtProtobuf::if_protobuf_type<T> = true> void QProtobufOneof::setValue(const T &value, int fieldNumber) \fn template<typename T, QtProtobuf::if_protobuf_message<T> = true> void setValue(T &&value, int fieldNumber) Stores the \a value into QProtobufOneof with corresponding \a fieldNumber. 4897 -
qprotobufoneof.h 4315 -
qprotobufpropertyordering.cpp ! \internal The ProtobufOrderingRegistry stores the mapping between QtProtobufPrivate::QProtobufPropertyOrdering and QMetaType. 11716 -
qprotobufpropertyordering.h 2598 -
qprotobufpropertyorderingbuilder_p.h 1539 -
qprotobufregistration.cpp ! \relates QtProtobuf \fn template<typename T, QtProtobuf::if_protobuf_message<T> = true> inline void qRegisterProtobufType() Registers a Protobuf type \e T. This function is normally called by generated code. 7203 -
qprotobufregistration.h 3865 -
qprotobufregistration_p.h !< serializer assigned to class 1658 -
qprotobufrepeatediterator.cpp ! \class QProtobufRepeatedIterator \inmodule QtProtobuf \since 6.8 \brief Allows iterating over repeated protobuf types. Allows iterating over repeated protobuf types and access the repeated field elements as reference to QProtobufMessage. 2095 -
qprotobufrepeatediterator.h protobuf allows having elements in the repeated fields that are failed to deserialize 6341 -
qprotobufselfcheckiterator_p.h 5344 -
qprotobufserializer.cpp ! \class QProtobufSerializer \inmodule QtProtobuf \since 6.5 \brief The QProtobufSerializer class is interface that represents basic functions for serialization/deserialization. The QProtobufSerializer class registers serializers/deserializers for classes implementing a protobuf message, inheriting \l QProtobufMessage. These classes are generated automatically, based on a \c{.proto} file, using the CMake function \l qt_add_protobuf or by running \l {The qtprotobufgen Tool} {qtprotobufgen} directly. 25030 -
qprotobufserializer.h 1169 -
qprotobufserializer_p.h 5522 -
qprotobufserializerbase.cpp 4497 -
qprotobufserializerbase_p.h 2257 -
qt_cmdline.cmake 0 -
Qt6ProtobufBuildInternals.cmake 7991 -
qtprotobufdefs_p.h 685 -
qtprotobufglobal.h 278 -
qtprotobuflogging.cpp 309 -
qtprotobuflogging_p.h 999 -
QtProtobufProperties.cmake.in 1817 -
qtprotobufserializerhelpers.cpp 2873 -
qtprotobufserializerhelpers_p.h 1397 -
qtprotobuftypes.cpp ! \enum QtProtobuf::WireTypes \brief The WireTypes enumeration reflects protobuf default wiretypes. The following table shows the values in the enumeration and their corresponding types: \value Unknown Invalid wire type \value Varint int32, int64, uint32, uint64, sint32, sint64, bool, enum \value Fixed64 fixed64, sfixed64, double \value LengthDelimited string, bytes, embedded messages, packed repeated fields \value StartGroup start of a group. Groups are deprecated in proto2 and not available in proto3. Not supported by Qt Protobuf, see \l{Proto2 groups}. \value EndGroup end of a group. Not supported by Qt Protobuf, see \l{Proto2 groups}. \value Fixed32 fixed32, sfixed32, float \sa {https://protobuf.dev/programming-guides/encoding} {encoding} 5548 -
qtprotobuftypes.h 7476 -