|
#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/variantjson/ParseResult.h>
Public Types | |
enum | ErrorHint { eNone, eOldFormat } |
enum | ErrorType { eNotSet, eNoError, eSytaxError, eContainerMismatch, eVariantParseError } |
Public Member Functions | |
std::string | geterr () |
ErrorHint | getErrorHint () |
ErrorType | getErrorType () |
bool | iserr () |
ParseResult (const std::string &error, ErrorType errorType) | |
void | setErrorHint (ErrorHint errorHint) |
Static Public Member Functions | |
static ParseResult | Error (const std::string &error, ErrorType errorType) |
static ParseResult | Success () |
Definition at line 33 of file ParseResult.h.
enum ErrorHint |
Enumerator | |
---|---|
eNone | |
eOldFormat |
Definition at line 37 of file ParseResult.h.
enum ErrorType |
Enumerator | |
---|---|
eNotSet | |
eNoError | |
eSytaxError | |
eContainerMismatch | |
eVariantParseError |
Definition at line 36 of file ParseResult.h.
ParseResult | ( | const std::string & | error, |
ErrorType | errorType | ||
) |
|
static |
std::string geterr | ( | ) |
ParseResult::ErrorHint getErrorHint | ( | ) |
Definition at line 53 of file ParseResult.cpp.
ParseResult::ErrorType getErrorType | ( | ) |
bool iserr | ( | ) |
void setErrorHint | ( | ParseResult::ErrorHint | errorHint | ) |
Definition at line 48 of file ParseResult.cpp.
|
static |
Definition at line 58 of file ParseResult.cpp.