Treelite
Public Member Functions | List of all members
IgnoreHandler Class Reference

JSON handler that ignores all delegated input. More...

#include <xgboost_json.h>

Inheritance diagram for IgnoreHandler:
Inheritance graph
[legend]
Collaboration diagram for IgnoreHandler:
Collaboration graph
[legend]

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
 
- Public Member Functions inherited from BaseHandler
 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

- Protected Member Functions inherited from BaseHandler
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)
 

Detailed Description

JSON handler that ignores all delegated input.

Definition at line 125 of file xgboost_json.h.


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