|
bes
Updated for version 3.20.6
|
Result of parsing (wraps ParseErrorCode) More...
#include <error.h>

Public Member Functions | |
| void | Clear () |
| Reset error code. More... | |
| void | Clear () |
| Reset error code. More... | |
| ParseErrorCode | Code () const |
| Get the error code. More... | |
| ParseErrorCode | Code () const |
| Get the error code. More... | |
| bool | IsError () const |
| Whether the result is an error. More... | |
| bool | IsError () const |
| Whether the result is an error. More... | |
| size_t | Offset () const |
| Get the error offset, if IsError(), 0 otherwise. More... | |
| size_t | Offset () const |
| Get the error offset, if IsError(), 0 otherwise. More... | |
| operator bool () const | |
Conversion to bool, returns true, iff !IsError(). More... | |
| operator bool () const | |
Conversion to bool, returns true, iff !IsError(). More... | |
| bool | operator== (const ParseResult &that) const |
| bool | operator== (const ParseResult &that) const |
| bool | operator== (ParseErrorCode code) const |
| bool | operator== (ParseErrorCode code) const |
| ParseResult () | |
| Default constructor, no error. More... | |
| ParseResult () | |
| Default constructor, no error. More... | |
| ParseResult (ParseErrorCode code, size_t offset) | |
| Constructor to set an error. More... | |
| ParseResult (ParseErrorCode code, size_t offset) | |
| Constructor to set an error. More... | |
| void | Set (ParseErrorCode code, size_t offset=0) |
| Update error code and offset. More... | |
| void | Set (ParseErrorCode code, size_t offset=0) |
| Update error code and offset. More... | |
Friends | |
| bool | operator== (ParseErrorCode code, const ParseResult &err) |
| bool | operator== (ParseErrorCode code, const ParseResult &err) |
Result of parsing (wraps ParseErrorCode)
Definition at line 106 of file cmr_module/rapidjson/error/error.h.
|
inline |
Default constructor, no error.
Definition at line 109 of file cmr_module/rapidjson/error/error.h.
|
inline |
Constructor to set an error.
Definition at line 111 of file cmr_module/rapidjson/error/error.h.
|
inline |
Default constructor, no error.
Definition at line 109 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.
|
inline |
Constructor to set an error.
Definition at line 111 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.
|
inline |
Reset error code.
Definition at line 128 of file cmr_module/rapidjson/error/error.h.
|
inline |
Reset error code.
Definition at line 128 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.
|
inline |
Get the error code.
Definition at line 114 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.
|
inline |
Get the error code.
Definition at line 114 of file cmr_module/rapidjson/error/error.h.
|
inline |
Whether the result is an error.
Definition at line 121 of file cmr_module/rapidjson/error/error.h.
|
inline |
Whether the result is an error.
Definition at line 121 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.
|
inline |
Get the error offset, if IsError(), 0 otherwise.
Definition at line 116 of file cmr_module/rapidjson/error/error.h.
|
inline |
Get the error offset, if IsError(), 0 otherwise.
Definition at line 116 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.
|
inline |
Conversion to bool, returns true, iff !IsError().
Definition at line 119 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.
|
inline |
Conversion to bool, returns true, iff !IsError().
Definition at line 119 of file cmr_module/rapidjson/error/error.h.
|
inline |
Update error code and offset.
Definition at line 130 of file cmr_module/rapidjson/error/error.h.
|
inline |
Update error code and offset.
Definition at line 130 of file dmrpp_module/xml2json/include/rapidjson/error/error.h.