geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Protected Member Functions | Friends | List of all members
json11::JsonValue Class Referenceabstract

#include <json11.hpp>

Protected Member Functions

virtual Json::Type type () const =0
 
virtual bool equals (const JsonValue *other) const =0
 
virtual bool less (const JsonValue *other) const =0
 
virtual void dump (std::string &out) const =0
 
virtual double number_value () const
 
virtual int int_value () const
 
virtual bool bool_value () const
 
virtual const std::string & string_value () const
 
virtual const Json::array & array_items () const
 
virtual const Jsonoperator[] (size_t i) const
 
virtual const Json::object & object_items () const
 
virtual const Jsonoperator[] (const std::string &key) const
 
virtual ~JsonValue ()
 
virtual Json::Type type () const =0
 
virtual bool equals (const JsonValue *other) const =0
 
virtual bool less (const JsonValue *other) const =0
 
virtual void dump (std::string &out) const =0
 
virtual double number_value () const
 
virtual int int_value () const
 
virtual bool bool_value () const
 
virtual const std::string & string_value () const
 
virtual const Json::array & array_items () const
 
virtual const Jsonoperator[] (size_t i) const
 
virtual const Json::object & object_items () const
 
virtual const Jsonoperator[] (const std::string &key) const
 
virtual ~JsonValue ()
 

Friends

class Json
 
class JsonInt
 
class JsonDouble
 

Constructor & Destructor Documentation

◆ ~JsonValue() [1/2]

virtual json11::JsonValue::~JsonValue ( )
inlineprotectedvirtual

◆ ~JsonValue() [2/2]

virtual json11::JsonValue::~JsonValue ( )
inlineprotectedvirtual

Member Function Documentation

◆ array_items() [1/2]

virtual const Json::array& json11::JsonValue::array_items ( ) const
protectedvirtual

◆ array_items() [2/2]

virtual const Json::array& json11::JsonValue::array_items ( ) const
protectedvirtual

◆ bool_value() [1/2]

virtual bool json11::JsonValue::bool_value ( ) const
protectedvirtual

◆ bool_value() [2/2]

virtual bool json11::JsonValue::bool_value ( ) const
protectedvirtual

◆ dump() [1/2]

virtual void json11::JsonValue::dump ( std::string &  out) const
protectedpure virtual

◆ dump() [2/2]

virtual void json11::JsonValue::dump ( std::string &  out) const
protectedpure virtual

◆ equals() [1/2]

virtual bool json11::JsonValue::equals ( const JsonValue other) const
protectedpure virtual

◆ equals() [2/2]

virtual bool json11::JsonValue::equals ( const JsonValue other) const
protectedpure virtual

◆ int_value() [1/2]

virtual int json11::JsonValue::int_value ( ) const
protectedvirtual

◆ int_value() [2/2]

virtual int json11::JsonValue::int_value ( ) const
protectedvirtual

◆ less() [1/2]

virtual bool json11::JsonValue::less ( const JsonValue other) const
protectedpure virtual

◆ less() [2/2]

virtual bool json11::JsonValue::less ( const JsonValue other) const
protectedpure virtual

◆ number_value() [1/2]

virtual double json11::JsonValue::number_value ( ) const
protectedvirtual

◆ number_value() [2/2]

virtual double json11::JsonValue::number_value ( ) const
protectedvirtual

◆ object_items() [1/2]

virtual const Json::object& json11::JsonValue::object_items ( ) const
protectedvirtual

◆ object_items() [2/2]

virtual const Json::object& json11::JsonValue::object_items ( ) const
protectedvirtual

◆ operator[]() [1/4]

virtual const Json& json11::JsonValue::operator[] ( const std::string &  key) const
protectedvirtual

◆ operator[]() [2/4]

virtual const Json& json11::JsonValue::operator[] ( const std::string &  key) const
protectedvirtual

◆ operator[]() [3/4]

virtual const Json& json11::JsonValue::operator[] ( size_t  i) const
protectedvirtual

◆ operator[]() [4/4]

virtual const Json& json11::JsonValue::operator[] ( size_t  i) const
protectedvirtual

◆ string_value() [1/2]

virtual const std::string& json11::JsonValue::string_value ( ) const
protectedvirtual

◆ string_value() [2/2]

virtual const std::string& json11::JsonValue::string_value ( ) const
protectedvirtual

◆ type() [1/2]

virtual Json::Type json11::JsonValue::type ( ) const
protectedpure virtual

◆ type() [2/2]

virtual Json::Type json11::JsonValue::type ( ) const
protectedpure virtual

Friends And Related Function Documentation

◆ Json

Json
friend

◆ JsonDouble

JsonDouble
friend

◆ JsonInt

JsonInt
friend

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