DeepCover Embedded Security in IoT: Public-key Secured Data Paths

Dependencies:   MaximInterface

Embed: (wiki syntax)

« Back to documentation index

reader.h File Reference

reader.h File Reference

Go to the source code of this file.

Data Structures

struct  BaseReaderHandler< Encoding, Derived >
 Default implementation of Handler. More...
class  StreamLocalCopy< Stream, 1 >
 Do copy optimization. More...
class  StreamLocalCopy< Stream, 0 >
 Keep reference. More...
class  GenericReader< SourceEncoding, TargetEncoding, StackAllocator >
 SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator. More...

Typedefs

typedef GenericReader< UTF8
<>, UTF8<> > 
Reader
 Reader with UTF8 encoding and default allocator.

Functions

template<typename InputStream >
void SkipWhitespace (InputStream &is)
 Skip the JSON white spaces in a stream.
const char * SkipWhitespace_SIMD (const char *p)
 Skip whitespace with SSE 4.2 pcmpistrm instruction, testing 16 8-byte characters at once.
template<>
void SkipWhitespace (InsituStringStream &is)
 Template function specialization for InsituStringStream.
template<>
void SkipWhitespace (StringStream &is)
 Template function specialization for StringStream.

Detailed Description

Definition in file reader.h.


Typedef Documentation

typedef GenericReader<UTF8<>, UTF8<> > Reader

Reader with UTF8 encoding and default allocator.

Definition at line 1862 of file reader.h.


Function Documentation

void SkipWhitespace ( InputStream &  is )

Skip the JSON white spaces in a stream.

Parameters:
isA input stream for skipping white spaces.
Note:
This function has SSE2/SSE4.2 specialization.

Definition at line 264 of file reader.h.

void SkipWhitespace ( InsituStringStream is )

Template function specialization for InsituStringStream.

Definition at line 432 of file reader.h.

void SkipWhitespace ( StringStream is )

Template function specialization for StringStream.

Definition at line 437 of file reader.h.

const char * SkipWhitespace_SIMD ( const char *  p )

Skip whitespace with SSE 4.2 pcmpistrm instruction, testing 16 8-byte characters at once.

Skip whitespace with SSE2 instructions, testing 16 8-byte characters at once.

Definition at line 281 of file reader.h.