Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
json11::JsonDouble Class Referencefinal
Inheritance diagram for json11::JsonDouble:
[legend]
Collaboration diagram for json11::JsonDouble:
[legend]

Public Member Functions

 JsonDouble (double value)
 

Private Member Functions

bool equals (const JsonValue *other) const override
 
int int_value () const override
 
bool less (const JsonValue *other) const override
 
double number_value () const override
 

Additional Inherited Members

- Protected Member Functions inherited from json11::Value< Json::NUMBER, double >
 Value (const double &value)
 
 Value (double &&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 inherited from json11::Value< Json::NUMBER, double >
const double m_value
 

Member Function Documentation

◆ equals()

bool json11::JsonDouble::equals ( const JsonValue other) const
inlineoverrideprivatevirtual

Implements json11::JsonValue.

◆ int_value()

int json11::JsonDouble::int_value ( ) const
inlineoverrideprivatevirtual

Reimplemented from json11::JsonValue.

◆ less()

bool json11::JsonDouble::less ( const JsonValue other) const
inlineoverrideprivatevirtual

Implements json11::JsonValue.

◆ number_value()

double json11::JsonDouble::number_value ( ) const
inlineoverrideprivatevirtual

Reimplemented from json11::JsonValue.


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