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

Public Member Functions

 JsonInt (int 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, int >
 Value (const int &value)
 
 Value (int &&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, int >
const int m_value
 

Member Function Documentation

◆ equals()

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

Implements json11::JsonValue.

◆ int_value()

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

Reimplemented from json11::JsonValue.

◆ less()

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

Implements json11::JsonValue.

◆ number_value()

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

Reimplemented from json11::JsonValue.


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