LeviLamina
Loading...
Searching...
No Matches
TextObjectParser Class Reference

Classes

struct  ErrorLocalization
 
struct  ServerData
 

Static Public Member Functions

static MCAPI bool _getObjectsFromTextObject (::Json::Value const &root, ::TextObjectRoot &parsedObject, ::TextObjectParser::ServerData *serverData, ::TextObjectParser::ErrorLocalization &errorLocalization)
 
static MCAPI bool _parseScoreTextObject (::TextObjectRoot &parentTextObject, ::Json::Value const &scoreObject, ::TextObjectParser::ServerData *serverData, ::TextObjectParser::ErrorLocalization &errorLocalization)
 
static MCAPI bool _parseSelectorTextObject (::TextObjectRoot &parentTextObject, ::std::string selectorString, ::TextObjectParser::ServerData *serverData, ::TextObjectParser::ErrorLocalization &errorLocalization)
 
static MCAPI bool _textObjectFromJson (::Json::Value const &root, ::TextObjectRoot &parsedObject, ::TextObjectParser::ServerData *serverData, ::TextObjectParser::ErrorLocalization &errorLocalization)
 
static MCAPI bool _textObjectFromString (::std::string const &jsonAsString, ::TextObjectRoot &parsedObject, ::TextObjectParser::ServerData *errorLocalization, ::TextObjectParser::ErrorLocalization &serverData)
 
static MCAPI bool textObjectFromJson (::Json::Value const &root, ::TextObjectRoot &parsedObject, ::std::string &errorMsg)
 
static MCAPI bool textObjectFromJsonString (::std::string const &jsonAsString, ::TextObjectRoot &parsedObject, ::std::string &errorMsg)
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_NOT_ARRAY ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_NOT_OBJECT ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_NO_DATA ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_PARSE_FAILED ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_SCORE_NAME_NOT_STRING ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_SCORE_NOT_OBJECT ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_SCORE_OBJECTIVE_NOT_STRING ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_SELECTOR_NOT_STRING ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_TEXT_NOT_STRING ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_TRANSLATE_NOT_STRING ()
 
static MCAPI ::std::string const & RAW_TEXT_ERROR_WITH_NOT_ARRAY_OR_RAW_TEXT ()
 

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