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

#include <parse_example_json.h>

Inheritance diagram for BoolToBoolState< audit >:
BaseState< audit >

Public Member Functions

 BoolToBoolState ()
 
BaseState< audit > * Bool (Context< audit > &, bool b) override
 
- Public Member Functions inherited from BaseState< audit >
 BaseState (const char *pname)
 
virtual BaseState< audit > * Null (Context< audit > &ctx)
 
virtual BaseState< audit > * Float (Context< audit > &ctx, float v)
 
virtual BaseState< audit > * Uint (Context< audit > &ctx, unsigned v)
 
virtual BaseState< audit > * String (Context< audit > &ctx, const char *str, rapidjson::SizeType len, bool)
 
virtual BaseState< audit > * StartObject (Context< audit > &ctx)
 
virtual BaseState< audit > * Key (Context< audit > &ctx, const char *str, rapidjson::SizeType len, bool)
 
virtual BaseState< audit > * EndObject (Context< audit > &ctx, rapidjson::SizeType)
 
virtual BaseState< audit > * StartArray (Context< audit > &ctx)
 
virtual BaseState< audit > * EndArray (Context< audit > &ctx, rapidjson::SizeType)
 

Public Attributes

bool * output_bool
 
BaseState< audit > * return_state
 
- Public Attributes inherited from BaseState< audit >
const char * name
 

Detailed Description

template<bool audit>
class BoolToBoolState< audit >

Definition at line 978 of file parse_example_json.h.

Constructor & Destructor Documentation

◆ BoolToBoolState()

template<bool audit>
BoolToBoolState< audit >::BoolToBoolState ( )
inline

Definition at line 981 of file parse_example_json.h.

981 : BaseState<audit>("BoolToBoolState") {}

Member Function Documentation

◆ Bool()

template<bool audit>
BaseState<audit>* BoolToBoolState< audit >::Bool ( Context< audit > &  ,
bool  b 
)
inlineoverridevirtual

Reimplemented from BaseState< audit >.

Definition at line 986 of file parse_example_json.h.

987  {
988  *output_bool = b;
989  return return_state;
990  }
BaseState< audit > * return_state

Member Data Documentation

◆ output_bool

template<bool audit>
bool* BoolToBoolState< audit >::output_bool

Definition at line 983 of file parse_example_json.h.

◆ return_state

template<bool audit>
BaseState<audit>* BoolToBoolState< audit >::return_state

Definition at line 984 of file parse_example_json.h.


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