A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <SafeResult.h>
Public Member Functions | |
SafeResultSuccess (P result) | |
void | apply (function< void(P)> forSuccessCase, function< void(string)>) |
Public Member Functions inherited from pdb::SafeResult< P > | |
virtual void | apply (function< void(P)> forSuccessCase, function< void(string errorMsg)> forErrorCase)=0 |
P | getResultOrExit (int exitCode) |
Private Attributes | |
P | _result |
Definition at line 55 of file SafeResult.h.
|
inline |
Definition at line 58 of file SafeResult.h.
|
inline |
Definition at line 60 of file SafeResult.h.
|
private |
Definition at line 65 of file SafeResult.h.