Open Lighting Architecture  0.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::web::JsonNumber Class Reference

Detailed Description

JsonNumber is the base class for various integer / number classes.

This allows inequality comparisons between values that represent numbers.

Inheritance diagram for ola::web::JsonNumber:
ola::web::JsonLeafValue ola::web::JsonValue ola::web::JsonDouble ola::web::JsonInt ola::web::JsonInt64 ola::web::JsonUInt ola::web::JsonUInt64

Public Member Functions

virtual bool MultipleOf (const JsonNumber &other) const =0
 Checks if the remainder if non-0;.
virtual bool operator< (const JsonNumber &other) const =0
 Less than operator.
bool operator<= (const JsonNumber &other) const
 Less than or equals operator.
bool operator> (const JsonNumber &other) const
 Greater than operator.
bool operator>= (const JsonNumber &other) const
 Greater than or equals operator.

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