Vowpal Wabbit
|
#include <parse_example_json.h>
Public Member Functions | |
Context () | |
void | init (vw *pall) |
std::stringstream & | error () |
void | SetStartStateToDecisionService (DecisionServiceInteraction *data) |
void | PushNamespace (const char *ns, BaseState< audit > *return_state) |
BaseState< audit > * | PopNamespace () |
Namespace< audit > & | CurrentNamespace () |
bool | TransitionState (BaseState< audit > *next_state) |
Private Attributes | |
std::unique_ptr< std::stringstream > | error_ptr |
Definition at line 51 of file parse_example_json.h.
Definition at line 1212 of file parse_example_json.h.
Definition at line 1273 of file parse_example_json.h.
Referenced by DefaultState< audit >::Bool(), ArrayState< audit >::Float(), DefaultState< audit >::Float(), ArrayState< audit >::StartArray(), ArrayState< audit >::StartObject(), TextState< audit >::String(), and DefaultState< audit >::String().
|
inline |
Definition at line 1227 of file parse_example_json.h.
Referenced by BaseState< audit >::Bool(), BaseState< audit >::EndArray(), BaseState< audit >::EndObject(), DefaultState< audit >::EndObject(), VWReaderHandler< audit >::error(), BaseState< audit >::Float(), LabelObjectState< audit >::Float(), DefaultState< audit >::Ignore(), BaseState< audit >::Key(), DefaultState< audit >::Key(), BaseState< audit >::StartArray(), ArrayState< audit >::StartArray(), ArrayToVectorState< audit, unsigned >::StartArray(), BaseState< audit >::StartObject(), LabelObjectState< audit >::StartObject(), BaseState< audit >::String(), and BaseState< audit >::Uint().
Definition at line 1218 of file parse_example_json.h.
References LabelObjectState< audit >::init().
Referenced by VWReaderHandler< audit >::init().
Definition at line 1255 of file parse_example_json.h.
References v_array< T >::begin(), v_array< T >::end(), recall_tree_ns::find(), example_predict::indices, and v_array< T >::push_back().
Referenced by ArrayState< audit >::EndArray(), DefaultState< audit >::EndObject(), and SlotsState< audit >::StartArray().
|
inline |
Definition at line 1241 of file parse_example_json.h.
References Namespace< audit >::feature_count, Namespace< audit >::feature_group, example_predict::feature_space, Namespace< audit >::ftrs, VW::hash_space(), Namespace< audit >::name, Namespace< audit >::namespace_hash, and Namespace< audit >::return_state.
Referenced by SlotsState< audit >::EndArray(), ArrayState< audit >::StartArray(), MultiState< audit >::StartObject(), SlotsState< audit >::StartObject(), ArrayState< audit >::StartObject(), DefaultState< audit >::StartObject(), and CCBOutcomeList< audit >::StartObject().
|
inline |
Definition at line 1235 of file parse_example_json.h.
References DecisionServiceState< audit >::data.
|
inline |
Definition at line 1275 of file parse_example_json.h.
Referenced by VWReaderHandler< audit >::Bool(), VWReaderHandler< audit >::Double(), VWReaderHandler< audit >::EndArray(), VWReaderHandler< audit >::EndObject(), VWReaderHandler< audit >::Int(), VWReaderHandler< audit >::Int64(), VWReaderHandler< audit >::Key(), VWReaderHandler< audit >::Null(), VWReaderHandler< audit >::StartArray(), VWReaderHandler< audit >::StartObject(), VWReaderHandler< audit >::String(), VWReaderHandler< audit >::Uint(), and VWReaderHandler< audit >::Uint64().
Definition at line 1168 of file parse_example_json.h.
Referenced by DefaultState< audit >::Bool(), LabelObjectState< audit >::EndObject(), DefaultState< audit >::EndObject(), DefaultState< audit >::Float(), MultiState< audit >::StartArray(), LabelObjectState< audit >::StartObject(), MultiState< audit >::StartObject(), SlotsState< audit >::StartObject(), LabelState< audit >::String(), TextState< audit >::String(), and DefaultState< audit >::String().
ArrayToVectorState<audit, float> Context< audit >::array_float_state |
Definition at line 1203 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key(), and DecisionServiceState< audit >::Key().
ArrayState<audit> Context< audit >::array_state |
Definition at line 1198 of file parse_example_json.h.
Referenced by DefaultState< audit >::StartArray().
ArrayToVectorState<audit, unsigned> Context< audit >::array_uint_state |
Definition at line 1204 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key(), and DecisionServiceState< audit >::Key().
BoolToBoolState<audit> Context< audit >::bool_state |
Definition at line 1207 of file parse_example_json.h.
Referenced by DecisionServiceState< audit >::Key().
CCBOutcomeList<audit> Context< audit >::ccb_outcome_list_state |
Definition at line 1208 of file parse_example_json.h.
Referenced by DecisionServiceState< audit >::Key().
Definition at line 1174 of file parse_example_json.h.
Referenced by VWReaderHandler< audit >::Bool(), VWReaderHandler< audit >::current_state(), VWReaderHandler< audit >::Double(), VWReaderHandler< audit >::EndArray(), VWReaderHandler< audit >::EndObject(), VWReaderHandler< audit >::Int(), VWReaderHandler< audit >::Int64(), VWReaderHandler< audit >::Key(), VWReaderHandler< audit >::Null(), VWReaderHandler< audit >::StartArray(), VWReaderHandler< audit >::StartObject(), VWReaderHandler< audit >::String(), VWReaderHandler< audit >::Uint(), and VWReaderHandler< audit >::Uint64().
DecisionServiceState<audit> Context< audit >::decision_service_state |
Definition at line 1202 of file parse_example_json.h.
Referenced by CCBOutcomeList< audit >::EndArray().
DefaultState<audit> Context< audit >::default_state |
Definition at line 1189 of file parse_example_json.h.
Referenced by MultiState< audit >::EndArray(), SlotsState< audit >::EndArray(), DecisionServiceState< audit >::Key(), MultiState< audit >::StartObject(), SlotsState< audit >::StartObject(), ArrayState< audit >::StartObject(), and CCBOutcomeList< audit >::StartObject().
|
private |
Definition at line 1165 of file parse_example_json.h.
Definition at line 1181 of file parse_example_json.h.
Referenced by MultiState< audit >::EndArray(), SlotsState< audit >::EndArray(), LabelObjectState< audit >::EndObject(), DefaultState< audit >::EndObject(), LabelObjectState< audit >::Float(), LabelState< audit >::Float(), VWReaderHandler< audit >::init(), MultiState< audit >::StartArray(), LabelObjectState< audit >::StartObject(), MultiState< audit >::StartObject(), SlotsState< audit >::StartObject(), CCBOutcomeList< audit >::StartObject(), LabelState< audit >::String(), TagState< audit >::String(), and LabelState< audit >::Uint().
VW::example_factory_t Context< audit >::example_factory |
Definition at line 1185 of file parse_example_json.h.
Referenced by DefaultState< audit >::EndObject(), VWReaderHandler< audit >::init(), MultiState< audit >::StartObject(), and SlotsState< audit >::StartObject().
void* Context< audit >::example_factory_context |
Definition at line 1186 of file parse_example_json.h.
Referenced by DefaultState< audit >::EndObject(), VWReaderHandler< audit >::init(), MultiState< audit >::StartObject(), and SlotsState< audit >::StartObject().
Definition at line 1180 of file parse_example_json.h.
Referenced by MultiState< audit >::EndArray(), SlotsState< audit >::EndArray(), CCBOutcomeList< audit >::EndArray(), DefaultState< audit >::EndObject(), VWReaderHandler< audit >::init(), CCBOutcomeList< audit >::StartArray(), MultiState< audit >::StartObject(), SlotsState< audit >::StartObject(), and CCBOutcomeList< audit >::StartObject().
FloatToFloatState<audit> Context< audit >::float_state |
Definition at line 1206 of file parse_example_json.h.
Referenced by DecisionServiceState< audit >::Key().
IgnoreState<audit> Context< audit >::ignore_state |
Definition at line 1197 of file parse_example_json.h.
Referenced by DefaultState< audit >::Ignore().
const char* Context< audit >::key |
Definition at line 1171 of file parse_example_json.h.
Referenced by DefaultState< audit >::Bool(), LabelObjectState< audit >::Float(), LabelSinglePropertyState< audit >::Float(), DefaultState< audit >::Float(), LabelObjectState< audit >::Key(), DefaultState< audit >::Key(), DecisionServiceState< audit >::Key(), ArrayState< audit >::StartArray(), DefaultState< audit >::StartObject(), DefaultState< audit >::String(), and LabelSinglePropertyState< audit >::Uint().
rapidjson::SizeType Context< audit >::key_length |
Definition at line 1172 of file parse_example_json.h.
Referenced by LabelObjectState< audit >::Float(), LabelSinglePropertyState< audit >::Float(), LabelObjectState< audit >::Key(), DefaultState< audit >::Key(), DecisionServiceState< audit >::Key(), DefaultState< audit >::String(), and LabelSinglePropertyState< audit >::Uint().
LabelIndexState<audit> Context< audit >::label_index_state |
Definition at line 1193 of file parse_example_json.h.
Referenced by DefaultState< audit >::EndObject(), DefaultState< audit >::Key(), DecisionServiceState< audit >::Key(), SlotsState< audit >::StartObject(), and CCBOutcomeList< audit >::StartObject().
LabelObjectState<audit> Context< audit >::label_object_state |
Definition at line 1191 of file parse_example_json.h.
Referenced by DefaultState< audit >::EndObject(), LabelSinglePropertyState< audit >::Float(), DefaultState< audit >::Key(), LabelState< audit >::StartObject(), and LabelSinglePropertyState< audit >::Uint().
LabelSinglePropertyState<audit> Context< audit >::label_single_property_state |
Definition at line 1192 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key(), and DecisionServiceState< audit >::Key().
LabelState<audit> Context< audit >::label_state |
Definition at line 1190 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key(), and DecisionServiceState< audit >::Key().
MultiState<audit> Context< audit >::multi_state |
Definition at line 1196 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key().
Definition at line 1178 of file parse_example_json.h.
Referenced by DefaultState< audit >::EndObject(), and ArrayState< audit >::StartObject().
Definition at line 1175 of file parse_example_json.h.
Referenced by LabelSinglePropertyState< audit >::Float(), LabelState< audit >::Float(), BaseState< audit >::Null(), ArrayState< audit >::StartArray(), ArrayToVectorState< audit, unsigned >::StartArray(), LabelObjectState< audit >::StartObject(), LabelState< audit >::String(), TextState< audit >::String(), TagState< audit >::String(), LabelSinglePropertyState< audit >::Uint(), LabelIndexState< audit >::Uint(), LabelState< audit >::Uint(), and IgnoreState< audit >::Uint().
Definition at line 1210 of file parse_example_json.h.
Referenced by SlotsState< audit >::EndArray(), CCBOutcomeList< audit >::EndArray(), DefaultState< audit >::EndObject(), SlotsState< audit >::StartArray(), and CCBOutcomeList< audit >::StartArray().
SlotsState<audit> Context< audit >::slots_state |
Definition at line 1199 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key().
rapidjson::InsituStringStream* Context< audit >::stream |
Definition at line 1182 of file parse_example_json.h.
Referenced by DefaultState< audit >::Ignore(), and VWReaderHandler< audit >::init().
const char* Context< audit >::stream_end |
Definition at line 1183 of file parse_example_json.h.
Referenced by DefaultState< audit >::Ignore(), and VWReaderHandler< audit >::init().
StringToStringState<audit> Context< audit >::string_state |
Definition at line 1205 of file parse_example_json.h.
Referenced by DecisionServiceState< audit >::Key().
Definition at line 1195 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key().
Definition at line 1194 of file parse_example_json.h.
Referenced by DefaultState< audit >::Key().