Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
json11::Value< tag, T > Class Template Reference
Inheritance diagram for json11::Value< tag, T >:
[legend]
Collaboration diagram for json11::Value< tag, T >:
[legend]

Protected Member Functions

 Value (const T &value)
 
 Value (T &&value)
 
void dump (string &out) const override
 
bool equals (const JsonValue *other) const override
 
bool less (const JsonValue *other) const override
 
Json::Type type () const override
 
- Protected Member Functions inherited from json11::JsonValue
virtual const Json::array & array_items () const
 
virtual bool bool_value () const
 
virtual void dump (std::string &out) const =0
 
virtual bool equals (const JsonValue *other) const =0
 
virtual int int_value () const
 
virtual bool less (const JsonValue *other) const =0
 
virtual double number_value () const
 
virtual const Json::object & object_items () const
 
virtual const Jsonoperator[] (const std::string &key) const
 
virtual const Jsonoperator[] (size_t i) const
 
virtual const std::string & string_value () const
 
virtual Json::Type type () const =0
 

Protected Attributes

const T m_value
 

Member Function Documentation

◆ dump()

template<Json::Type tag, typename T >
void json11::Value< tag, T >::dump ( string &  out) const
inlineoverrideprotectedvirtual

Implements json11::JsonValue.

◆ equals()

template<Json::Type tag, typename T >
bool json11::Value< tag, T >::equals ( const JsonValue< tag, T > *  other) const
inlineoverrideprotectedvirtual

Implements json11::JsonValue.

◆ less()

template<Json::Type tag, typename T >
bool json11::Value< tag, T >::less ( const JsonValue< tag, T > *  other) const
inlineoverrideprotectedvirtual

Implements json11::JsonValue.

◆ type()

template<Json::Type tag, typename T >
Json::Type json11::Value< tag, T >::type ( ) const
inlineoverrideprotectedvirtual

Implements json11::JsonValue.


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