ARC SDK
|
Job description parsing or assembly result. More...
#include <arc/compute/JobDescription.h>
Public Member Functions | |
JobDescriptionResult (bool r) | |
JobDescriptionResult (bool r, const std::string &s) | |
operator bool (void) | |
Get result as bool. More... | |
bool | operator! (void) |
Get negated result. More... | |
const std::string & | str (void) |
Get explanation of result as string. More... | |
Job description parsing or assembly result.
This structure holds boolean value and a string. The boolean indicates whether parsing or assembling a job description was succesful, while the string gives an explanation in human readable text.
|
inline |
Get result as bool.
|
inline |
Get negated result.
|
inline |
Get explanation of result as string.