Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
VWReaderHandler< audit > Struct Template Reference

#include <parse_example_json.h>

Inheritance diagram for VWReaderHandler< audit >:

Public Member Functions

void init (vw *all, v_array< example * > *examples, rapidjson::InsituStringStream *stream, const char *stream_end, VW::example_factory_t example_factory, void *example_factory_context, std::unordered_map< uint64_t, example * > *dedup_examples=nullptr)
 
bool Bool (bool v)
 
bool Int (int v)
 
bool Uint (unsigned v)
 
bool Int64 (int64_t v)
 
bool Uint64 (uint64_t v)
 
bool Double (double v)
 
bool String (const char *str, SizeType len, bool copy)
 
bool StartObject ()
 
bool Key (const char *str, SizeType len, bool copy)
 
bool EndObject (SizeType count)
 
bool StartArray ()
 
bool EndArray (SizeType count)
 
bool Null ()
 
bool VWReaderHandlerNull ()
 
bool VWReaderHandlerDefault ()
 
bool RawNumber (const char *, rapidjson::SizeType, bool)
 
std::stringstream & error ()
 
BaseState< audit > * current_state ()
 

Public Attributes

Context< audit > ctx
 

Member Function Documentation

template<bool audit>
bool VWReaderHandler< audit >::Bool ( bool  v)
inline
template<bool audit>
BaseState<audit>* VWReaderHandler< audit >::current_state ( )
inline
template<bool audit>
bool VWReaderHandler< audit >::Double ( double  v)
inline
template<bool audit>
bool VWReaderHandler< audit >::EndArray ( SizeType  count)
inline
template<bool audit>
bool VWReaderHandler< audit >::EndObject ( SizeType  count)
inline
template<bool audit>
std::stringstream& VWReaderHandler< audit >::error ( )
inline
template<bool audit>
void VWReaderHandler< audit >::init ( vw all,
v_array< example * > *  examples,
rapidjson::InsituStringStream *  stream,
const char *  stream_end,
VW::example_factory_t  example_factory,
void *  example_factory_context,
std::unordered_map< uint64_t, example * > *  dedup_examples = nullptr 
)
inline
template<bool audit>
bool VWReaderHandler< audit >::Int ( int  v)
inline
template<bool audit>
bool VWReaderHandler< audit >::Int64 ( int64_t  v)
inline
template<bool audit>
bool VWReaderHandler< audit >::Key ( const char *  str,
SizeType  len,
bool  copy 
)
inline
template<bool audit>
bool VWReaderHandler< audit >::Null ( )
inline
template<bool audit>
bool VWReaderHandler< audit >::RawNumber ( const char *  ,
rapidjson::SizeType  ,
bool   
)
inline
template<bool audit>
bool VWReaderHandler< audit >::StartArray ( )
inline
template<bool audit>
bool VWReaderHandler< audit >::StartObject ( )
inline
template<bool audit>
bool VWReaderHandler< audit >::String ( const char *  str,
SizeType  len,
bool  copy 
)
inline
template<bool audit>
bool VWReaderHandler< audit >::Uint ( unsigned  v)
inline
template<bool audit>
bool VWReaderHandler< audit >::Uint64 ( uint64_t  v)
inline
template<bool audit>
bool VWReaderHandler< audit >::VWReaderHandlerDefault ( )
inline
template<bool audit>
bool VWReaderHandler< audit >::VWReaderHandlerNull ( )
inline

Member Data Documentation

template<bool audit>
Context<audit> VWReaderHandler< audit >::ctx

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