ParseResult Class Reference

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

Member Enumeration Documentation

◆ ErrorHint

enum ErrorHint
Enumerator
eNone 
eOldFormat 

◆ ErrorType

enum ErrorType
Enumerator
eNotSet 
eNoError 
eSytaxError 
eContainerMismatch 
eVariantParseError 

Constructor & Destructor Documentation

◆ ParseResult()

ParseResult ( const std::string & error,
ErrorType errorType )

Member Function Documentation

◆ Error()

ParseResult Error ( const std::string & error,
ErrorType errorType )
static

◆ geterr()

std::string geterr ( )

◆ getErrorHint()

ParseResult::ErrorHint getErrorHint ( )

◆ getErrorType()

ParseResult::ErrorType getErrorType ( )

◆ iserr()

bool iserr ( )

◆ setErrorHint()

void setErrorHint ( ParseResult::ErrorHint errorHint)

◆ Success()

ParseResult Success ( )
static

The documentation for this class was generated from the following files: