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()

Creates an HttpsCallableResult with null data.

HttpsCallableResult

 HttpsCallableResult(
  const HttpsCallableResult & other
)

Copy constructor.

Copying is as efficient as copying a Variant.

Details
Parameters
other
HttpsCallableResult to copy data from.

HttpsCallableResult

 HttpsCallableResult(
  HttpsCallableResult && other
)

Move constructor.

Moving is an efficient operation for HttpsCallableResult instances.

Details
Parameters
other
HttpsCallableResult to move data from.

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
other
HttpsCallableResult to copy data from.
Returns
Reference to the destination HttpsCallableResult.

operator=

HttpsCallableResult & operator=(
  HttpsCallableResult && other
)

Move assignment operator.

Moving is an efficient operation for HttpsCallableResult instances.

Details
Parameters
other
HttpsCallableResult to move data from.
Returns
Reference to the destination HttpsCallableResult.

~HttpsCallableResult

 ~HttpsCallableResult()