Apache Mesos
Public Member Functions | Public Attributes | List of all members
JSON::internal::ParseContext Class Reference

#include <json.hpp>

Public Member Functions

 ParseContext (Value *_value, size_t _depth=STOUT_JSON_MAX_DEPTH)
 
 ParseContext (const ParseContext &)=delete
 
ParseContextoperator= (const ParseContext &)=delete
 
bool set_null ()
 
bool set_bool (bool b)
 
bool set_int64 (int64_t i)
 
bool set_number (double f)
 
template<typename Iter >
bool parse_string (picojson::input< Iter > &in)
 
bool parse_array_start ()
 
template<typename Iter >
bool parse_array_item (picojson::input< Iter > &in, size_t)
 
bool parse_array_stop (size_t)
 
bool parse_object_start ()
 
template<typename Iter >
bool parse_object_item (picojson::input< Iter > &in, const std::string &key)
 
bool parse_object_stop ()
 

Public Attributes

Valuevalue
 
size_t depth
 

Constructor & Destructor Documentation

JSON::internal::ParseContext::ParseContext ( Value _value,
size_t  _depth = STOUT_JSON_MAX_DEPTH 
)
inline
JSON::internal::ParseContext::ParseContext ( const ParseContext )
delete

Member Function Documentation

ParseContext& JSON::internal::ParseContext::operator= ( const ParseContext )
delete
template<typename Iter >
bool JSON::internal::ParseContext::parse_array_item ( picojson::input< Iter > &  in,
size_t   
)
inline
bool JSON::internal::ParseContext::parse_array_start ( )
inline
bool JSON::internal::ParseContext::parse_array_stop ( size_t  )
inline
template<typename Iter >
bool JSON::internal::ParseContext::parse_object_item ( picojson::input< Iter > &  in,
const std::string &  key 
)
inline
bool JSON::internal::ParseContext::parse_object_start ( )
inline
bool JSON::internal::ParseContext::parse_object_stop ( )
inline
template<typename Iter >
bool JSON::internal::ParseContext::parse_string ( picojson::input< Iter > &  in)
inline
bool JSON::internal::ParseContext::set_bool ( bool  b)
inline
bool JSON::internal::ParseContext::set_int64 ( int64_t  i)
inline
bool JSON::internal::ParseContext::set_null ( )
inline
bool JSON::internal::ParseContext::set_number ( double  f)
inline

Member Data Documentation

size_t JSON::internal::ParseContext::depth
Value* JSON::internal::ParseContext::value

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