Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
FilterKeyReader< InputStream > Class Template Reference

Public Types

typedef char Ch
 

Public Member Functions

 FilterKeyReader (InputStream &is, const Ch *keyString, SizeType keyLength)
 
template<typename Handler >
bool operator() (Handler &handler)
 
const ParseResultGetParseResult () const
 

Detailed Description

template<typename InputStream>
class FilterKeyReader< InputStream >

Definition at line 111 of file filterkeydom.cpp.

Member Typedef Documentation

◆ Ch

template<typename InputStream >
char FilterKeyReader< InputStream >::Ch

Definition at line 113 of file filterkeydom.cpp.

Constructor & Destructor Documentation

◆ FilterKeyReader()

template<typename InputStream >
FilterKeyReader< InputStream >::FilterKeyReader ( InputStream & is,
const Ch * keyString,
SizeType keyLength )
inline

Definition at line 115 of file filterkeydom.cpp.

115 :
116 is_(is), keyString_(keyString), keyLength_(keyLength), parseResult_()
117 {}

Member Function Documentation

◆ GetParseResult()

template<typename InputStream >
const ParseResult & FilterKeyReader< InputStream >::GetParseResult ( ) const
inline

Definition at line 128 of file filterkeydom.cpp.

128{ return parseResult_; }
Here is the caller graph for this function:

◆ operator()()

template<typename InputStream >
template<typename Handler >
bool FilterKeyReader< InputStream >::operator() ( Handler & handler)
inline

Definition at line 121 of file filterkeydom.cpp.

121 {
122 FilterKeyHandler<Handler> filter(handler, keyString_, keyLength_);
123 Reader reader;
124 parseResult_ = reader.Parse(is_, filter);
125 return parseResult_;
126 }
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
Definition reader.h:557
Here is the call graph for this function:

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