firebase:: functions:: HttpsCallableResult
#include <callable_result.h>
An HttpsCallableResult contains the result of calling an HttpsCallable.
Summary
Constructors and Destructors | |
---|---|
HttpsCallableResult() Creates an HttpsCallableResult with null data. | |
HttpsCallableResult(const HttpsCallableResult & other) Copy constructor. | |
HttpsCallableResult(HttpsCallableResult && other) Move constructor. | |
~HttpsCallableResult() |
Public functions | |
---|---|
data() const | const Variant & Returns the data that is the result of a Call. |
operator=(const HttpsCallableResult & other) | Assignment operator. |
operator=(HttpsCallableResult && other) | Move assignment operator. |
Public functions
HttpsCallableResult
HttpsCallableResult( const HttpsCallableResult & other )
Copy constructor.
Copying is as efficient as copying a Variant.
Details | |||
---|---|---|---|
Parameters |
|
HttpsCallableResult
HttpsCallableResult( HttpsCallableResult && other )
Move constructor.
Moving is an efficient operation for HttpsCallableResult instances.
Details | |||
---|---|---|---|
Parameters |
|
data
const Variant & data() const
Returns the data that is the result of a Call.
Details | |
---|---|
Returns | The variant containing the data. |
operator=
HttpsCallableResult & operator=( const HttpsCallableResult & other )
Assignment operator.
Copying is as efficient as copying a Variant.
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | Reference to the destination HttpsCallableResult. |
operator=
HttpsCallableResult & operator=( HttpsCallableResult && other )
Move assignment operator.
Moving is an efficient operation for HttpsCallableResult instances.
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | Reference to the destination HttpsCallableResult. |
~HttpsCallableResult
~HttpsCallableResult()