Treelite
|
JSON handler that ignores all delegated input. More...
#include <xgboost_json.h>
Public Member Functions | |
bool | Null () override |
bool | Bool (bool b) override |
bool | Int (int i) override |
bool | Uint (unsigned u) override |
bool | Int64 (int64_t i) override |
bool | Uint64 (uint64_t u) override |
bool | Double (double d) override |
bool | String (const char *str, std::size_t length, bool copy) override |
bool | StartObject () override |
bool | Key (const char *str, std::size_t length, bool copy) override |
bool | StartArray () override |
![]() | |
BaseHandler (std::weak_ptr< Delegator > parent_delegator) | |
construct handler to be added to given delegator's stack More... | |
virtual bool | EndObject (std::size_t) |
virtual bool | EndArray (std::size_t) |
Additional Inherited Members | |
![]() | |
template<typename HandlerType , typename... ArgsTypes> | |
bool | push_handler (ArgsTypes &... args) |
template<typename HandlerType , typename... ArgsTypes> | |
bool | push_key_handler (std::string key, ArgsTypes &... args) |
bool | pop_handler () |
void | set_cur_key (const char *str, std::size_t length) |
const std::string & | get_cur_key () |
bool | check_cur_key (const std::string &query_key) |
template<typename ValueType > | |
bool | assign_value (const std::string &key, ValueType &&value, ValueType &output) |
template<typename ValueType > | |
bool | assign_value (const std::string &key, const ValueType &value, ValueType &output) |
JSON handler that ignores all delegated input.
Definition at line 125 of file xgboost_json.h.