RetroArch
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
FilterKeyHandler< OutputHandler > Class Template Reference

Public Types

typedef char Ch
 
typedef char Ch
 

Public Member Functions

 FilterKeyHandler (OutputHandler &outputHandler, const Ch *keyString, SizeType keyLength)
 
bool Null ()
 
bool Bool (bool b)
 
bool Int (int i)
 
bool Uint (unsigned u)
 
bool Int64 (int64_t i)
 
bool Uint64 (uint64_t u)
 
bool Double (double d)
 
bool RawNumber (const Ch *str, SizeType len, bool copy)
 
bool String (const Ch *str, SizeType len, bool copy)
 
bool StartObject ()
 
bool Key (const Ch *str, SizeType len, bool copy)
 
bool EndObject (SizeType)
 
bool StartArray ()
 
bool EndArray (SizeType elementCount)
 
 FilterKeyHandler (OutputHandler &outputHandler, const Ch *keyString, SizeType keyLength)
 
bool Null ()
 
bool Bool (bool b)
 
bool Int (int i)
 
bool Uint (unsigned u)
 
bool Int64 (int64_t i)
 
bool Uint64 (uint64_t u)
 
bool Double (double d)
 
bool RawNumber (const Ch *str, SizeType len, bool copy)
 
bool String (const Ch *str, SizeType len, bool copy)
 
bool StartObject ()
 
bool Key (const Ch *str, SizeType len, bool copy)
 
bool EndObject (SizeType)
 
bool StartArray ()
 
bool EndArray (SizeType elementCount)
 

Private Member Functions

 FilterKeyHandler (const FilterKeyHandler &)
 
FilterKeyHandleroperator= (const FilterKeyHandler &)
 
bool EndValue ()
 
 FilterKeyHandler (const FilterKeyHandler &)
 
FilterKeyHandleroperator= (const FilterKeyHandler &)
 
bool EndValue ()
 

Private Attributes

OutputHandler & outputHandler_
 
const char * keyString_
 
const SizeType keyLength_
 
unsigned filterValueDepth_
 
std::stack< SizeTypefilteredKeyCount_
 

Member Typedef Documentation

◆ Ch [1/2]

template<typename OutputHandler>
typedef char FilterKeyHandler< OutputHandler >::Ch

◆ Ch [2/2]

template<typename OutputHandler>
typedef char FilterKeyHandler< OutputHandler >::Ch

Constructor & Destructor Documentation

◆ FilterKeyHandler() [1/4]

template<typename OutputHandler>
FilterKeyHandler< OutputHandler >::FilterKeyHandler ( OutputHandler &  outputHandler,
const Ch keyString,
SizeType  keyLength 
)
inline

◆ FilterKeyHandler() [2/4]

template<typename OutputHandler>
FilterKeyHandler< OutputHandler >::FilterKeyHandler ( const FilterKeyHandler< OutputHandler > &  )
private

◆ FilterKeyHandler() [3/4]

template<typename OutputHandler>
FilterKeyHandler< OutputHandler >::FilterKeyHandler ( OutputHandler &  outputHandler,
const Ch keyString,
SizeType  keyLength 
)
inline

◆ FilterKeyHandler() [4/4]

template<typename OutputHandler>
FilterKeyHandler< OutputHandler >::FilterKeyHandler ( const FilterKeyHandler< OutputHandler > &  )
private

Member Function Documentation

◆ Bool() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Bool ( bool  b)
inline

◆ Bool() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Bool ( bool  b)
inline

◆ Double() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Double ( double  d)
inline

◆ Double() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Double ( double  d)
inline

◆ EndArray() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::EndArray ( SizeType  elementCount)
inline

◆ EndArray() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::EndArray ( SizeType  elementCount)
inline

◆ EndObject() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::EndObject ( SizeType  )
inline

◆ EndObject() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::EndObject ( SizeType  )
inline

◆ EndValue() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::EndValue ( )
inlineprivate

◆ EndValue() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::EndValue ( )
inlineprivate

◆ Int() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Int ( int  i)
inline

◆ Int() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Int ( int  i)
inline

◆ Int64() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Int64 ( int64_t  i)
inline

◆ Int64() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Int64 ( int64_t  i)
inline

◆ Key() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Key ( const Ch str,
SizeType  len,
bool  copy 
)
inline
Here is the call graph for this function:

◆ Key() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Key ( const Ch str,
SizeType  len,
bool  copy 
)
inline
Here is the call graph for this function:

◆ Null() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Null ( )
inline

◆ Null() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Null ( )
inline

◆ operator=() [1/2]

template<typename OutputHandler>
FilterKeyHandler& FilterKeyHandler< OutputHandler >::operator= ( const FilterKeyHandler< OutputHandler > &  )
private

◆ operator=() [2/2]

template<typename OutputHandler>
FilterKeyHandler& FilterKeyHandler< OutputHandler >::operator= ( const FilterKeyHandler< OutputHandler > &  )
private

◆ RawNumber() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::RawNumber ( const Ch str,
SizeType  len,
bool  copy 
)
inline

◆ RawNumber() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::RawNumber ( const Ch str,
SizeType  len,
bool  copy 
)
inline

◆ StartArray() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::StartArray ( )
inline

◆ StartArray() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::StartArray ( )
inline

◆ StartObject() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::StartObject ( )
inline

◆ StartObject() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::StartObject ( )
inline

◆ String() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::String ( const Ch str,
SizeType  len,
bool  copy 
)
inline

◆ String() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::String ( const Ch str,
SizeType  len,
bool  copy 
)
inline

◆ Uint() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Uint ( unsigned  u)
inline

◆ Uint() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Uint ( unsigned  u)
inline

◆ Uint64() [1/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Uint64 ( uint64_t  u)
inline

◆ Uint64() [2/2]

template<typename OutputHandler>
bool FilterKeyHandler< OutputHandler >::Uint64 ( uint64_t  u)
inline

Member Data Documentation

◆ filteredKeyCount_

template<typename OutputHandler>
std::stack< SizeType > FilterKeyHandler< OutputHandler >::filteredKeyCount_
private

◆ filterValueDepth_

template<typename OutputHandler>
unsigned FilterKeyHandler< OutputHandler >::filterValueDepth_
private

◆ keyLength_

template<typename OutputHandler>
const SizeType FilterKeyHandler< OutputHandler >::keyLength_
private

◆ keyString_

template<typename OutputHandler>
const char * FilterKeyHandler< OutputHandler >::keyString_
private

◆ outputHandler_

template<typename OutputHandler>
OutputHandler & FilterKeyHandler< OutputHandler >::outputHandler_
private

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