#include <method_result.h>
Public Member Functions | |
MethodResult ()=default | |
virtual | ~MethodResult ()=default |
MethodResult (MethodResult const &)=delete | |
MethodResult & | operator= (MethodResult const &)=delete |
void | Success (const T &result) |
void | Success () |
void | Error (const std::string &error_code, const std::string &error_message, const T &error_details) |
void | Error (const std::string &error_code, const std::string &error_message="") |
void | NotImplemented () |
Protected Member Functions | |
virtual void | SuccessInternal (const T *result)=0 |
virtual void | ErrorInternal (const std::string &error_code, const std::string &error_message, const T *error_details)=0 |
virtual void | NotImplementedInternal ()=0 |
Definition at line 17 of file method_result.h.
|
default |
|
virtualdefault |
|
delete |
|
inline |
Definition at line 41 of file method_result.h.
|
inline |
Definition at line 52 of file method_result.h.
|
protectedpure virtual |
Implemented in flutter::EngineMethodResult< T >.
Referenced by flutter::MethodResult< EncodableValue >::Error().
|
inline |
Definition at line 59 of file method_result.h.
|
protectedpure virtual |
Implemented in flutter::EngineMethodResult< T >, and flutter::MethodResultFunctions< T >.
Referenced by flutter::MethodResult< EncodableValue >::NotImplemented().
|
delete |
|
inline |
Definition at line 33 of file method_result.h.
|
inline |
Definition at line 29 of file method_result.h.
|
protectedpure virtual |
Implemented in flutter::EngineMethodResult< T >.
Referenced by flutter::MethodResult< EncodableValue >::Success().