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 (const label_parser &lbl_parser, hash_func_t hash_func, uint64_t hash_seed, uint64_t parse_mask, bool chain_hash, VW::label_parser_reuse_mem *reuse_mem, const VW::named_labels *ldict, VW::io::logger *logger, 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

◆ Bool()

template<bool audit>
bool VWReaderHandler< audit >::Bool ( bool  v)
inline

◆ current_state()

template<bool audit>
BaseState<audit>* VWReaderHandler< audit >::current_state ( )
inline

◆ Double()

template<bool audit>
bool VWReaderHandler< audit >::Double ( double  v)
inline

◆ EndArray()

template<bool audit>
bool VWReaderHandler< audit >::EndArray ( SizeType  count)
inline

◆ EndObject()

template<bool audit>
bool VWReaderHandler< audit >::EndObject ( SizeType  count)
inline

◆ error()

template<bool audit>
std::stringstream& VWReaderHandler< audit >::error ( )
inline

◆ init()

template<bool audit>
void VWReaderHandler< audit >::init ( const label_parser lbl_parser,
hash_func_t  hash_func,
uint64_t  hash_seed,
uint64_t  parse_mask,
bool  chain_hash,
VW::label_parser_reuse_mem reuse_mem,
const VW::named_labels ldict,
VW::io::logger logger,
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

◆ Int()

template<bool audit>
bool VWReaderHandler< audit >::Int ( int  v)
inline

◆ Int64()

template<bool audit>
bool VWReaderHandler< audit >::Int64 ( int64_t  v)
inline

◆ Key()

template<bool audit>
bool VWReaderHandler< audit >::Key ( const char *  str,
SizeType  len,
bool  copy 
)
inline

◆ Null()

template<bool audit>
bool VWReaderHandler< audit >::Null ( )
inline

◆ RawNumber()

template<bool audit>
bool VWReaderHandler< audit >::RawNumber ( const char *  ,
rapidjson::SizeType  ,
bool   
)
inline

◆ StartArray()

template<bool audit>
bool VWReaderHandler< audit >::StartArray ( )
inline

◆ StartObject()

template<bool audit>
bool VWReaderHandler< audit >::StartObject ( )
inline

◆ String()

template<bool audit>
bool VWReaderHandler< audit >::String ( const char *  str,
SizeType  len,
bool  copy 
)
inline

◆ Uint()

template<bool audit>
bool VWReaderHandler< audit >::Uint ( unsigned  v)
inline

◆ Uint64()

template<bool audit>
bool VWReaderHandler< audit >::Uint64 ( uint64_t  v)
inline

◆ VWReaderHandlerDefault()

template<bool audit>
bool VWReaderHandler< audit >::VWReaderHandlerDefault ( )
inline

◆ VWReaderHandlerNull()

template<bool audit>
bool VWReaderHandler< audit >::VWReaderHandlerNull ( )
inline

Member Data Documentation

◆ ctx

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

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