/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/reader.h File Reference#
reader.h File Reference
#include "allocators.h"
#include "stream.h"
#include "encodedstream.h"
#include "internal/clzll.h"
#include "internal/meta.h"
#include "internal/stack.h"
#include "internal/strtod.h"
#include <limits>
#include "error/error.h"
Go to the source code of this file.
Classes | |
struct | BaseReaderHandler< Encoding, Derived > |
Default implementation of Handler. More... | |
class | internal::StreamLocalCopy< Stream, 1 > |
Do copy optimization. More... | |
class | internal::StreamLocalCopy< Stream, 0 > |
Keep reference. More... | |
class | GenericReader< SourceEncoding, TargetEncoding, StackAllocator > |
SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator. More... | |
Namespaces | |
internal | |
Macros | |
#define | RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode, offset) |
Macro to indicate a parse error. More... | |
#define | RAPIDJSON_PARSE_ERROR(parseErrorCode, offset) |
(Internal) macro to indicate and handle a parse error. More... | |
#define | RAPIDJSON_PARSE_DEFAULT_FLAGS kParseNoFlags |
Typedefs | |
typedef GenericReader< UTF8<>, UTF8<> > | Reader |
Reader with UTF8 encoding and default allocator. More... | |
Enumerations | |
enum | ParseFlag { kParseNoFlags = 0 , kParseInsituFlag = 1 , kParseValidateEncodingFlag = 2 , kParseIterativeFlag = 4 , kParseStopWhenDoneFlag = 8 , kParseFullPrecisionFlag = 16 , kParseCommentsFlag = 32 , kParseNumbersAsStringsFlag = 64 , kParseTrailingCommasFlag = 128 , kParseNanAndInfFlag = 256 , kParseEscapedApostropheFlag = 512 , kParseDefaultFlags = RAPIDJSON_PARSE_DEFAULT_FLAGS } |
Combination of parseFlags. More... | |
Functions | |
template<typename InputStream > | |
void | SkipWhitespace (InputStream &is) |
Skip the JSON white spaces in a stream. More... | |
const char * | SkipWhitespace (const char *p, const char *end) |
Macro Definition Documentation
◆ RAPIDJSON_PARSE_DEFAULT_FLAGS
#define RAPIDJSON_PARSE_DEFAULT_FLAGS kParseNoFlags |
Typedef Documentation
◆ Reader
typedef GenericReader<UTF8<>, UTF8<> > Reader |
Reader with UTF8 encoding and default allocator.
Enumeration Type Documentation
◆ ParseFlag
enum ParseFlag |
Combination of parseFlags.
Function Documentation
◆ SkipWhitespace() [1/2]
|
inline |
◆ SkipWhitespace() [2/2]
template<typename InputStream >
void SkipWhitespace | ( | InputStream & | is | ) |
Skip the JSON white spaces in a stream.
- Parameters
-
is A input stream for skipping white spaces.
- Note
- This function has SSE2/SSE4.2 specialization.