mirror of https://github.com/qt/qtgrpc.git
Doc: Add missing property docs
Task-number: QTBUG-141872 Change-Id: I2114b0a74f0ac2ca604c1d4b645a610252fc9045 Reviewed-by: Topi Reinio <topi.reinio@qt.io>
This commit is contained in:
parent
531e8b74bf
commit
32d24ea773
|
|
@ -129,6 +129,29 @@ void Any::registerTypes()
|
||||||
google.protobuf.Any type.
|
google.protobuf.Any type.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\property QtProtobuf::Any::typeUrl
|
||||||
|
|
||||||
|
This property holds the type URL of the Any object. The URL is meant as a hint
|
||||||
|
for what the contained data really is.
|
||||||
|
|
||||||
|
\note Qt has no support for dynamically obtaining any potential recipes for
|
||||||
|
deconstructing types and simply uses the type URL to verify that types
|
||||||
|
passed as T to \c{as<T>()} are of the correct type.
|
||||||
|
|
||||||
|
\sa value
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\property QtProtobuf::Any::value
|
||||||
|
|
||||||
|
This property holds the raw bytes that make up the value stored in the Any object.
|
||||||
|
|
||||||
|
Consult typeUrl to determine how to interpret these bytes.
|
||||||
|
|
||||||
|
\sa typeUrl
|
||||||
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Constructs a defaulted, empty, instance of Any.
|
Constructs a defaulted, empty, instance of Any.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue