dxjson 1.0
JSON library for C++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
dx::Real Class Reference
Inheritance diagram for dx::Real:
dx::Value

Public Member Functions

 Real (const double &v)
 
void write (std::ostream &out) const
 
JSONValue type () const
 
size_t returnAsArrayIndex () const
 
ValuereturnMyNewCopy () const
 
bool isEqual (const Value *other) const
 
bool operator== (const Real &other) const
 
bool operator!= (const Real &other) const
 
void read (std::istream &in __attribute__((unused)))
 
- Public Member Functions inherited from dx::Value
virtual void read (std::istream &in)=0
 

Public Attributes

double val
 

Detailed Description

Definition at line 634 of file dxjson.h.

Constructor & Destructor Documentation

◆ Real() [1/2]

dx::Real::Real ( )
inline

Definition at line 638 of file dxjson.h.

◆ Real() [2/2]

dx::Real::Real ( const double &  v)
inline

Definition at line 639 of file dxjson.h.

Member Function Documentation

◆ isEqual()

bool Real::isEqual ( const Value other) const
virtual

Implements dx::Value.

Definition at line 828 of file dxjson.cpp.

◆ operator!=()

bool dx::Real::operator!= ( const Real other) const
inline

Definition at line 649 of file dxjson.h.

◆ operator==()

bool dx::Real::operator== ( const Real other) const
inline

Definition at line 648 of file dxjson.h.

◆ read()

void dx::Real::read ( std::istream &in   __attribute__(unused))
inline

Definition at line 653 of file dxjson.h.

◆ returnAsArrayIndex()

size_t dx::Real::returnAsArrayIndex ( ) const
inline

Definition at line 645 of file dxjson.h.

◆ returnMyNewCopy()

Value * dx::Real::returnMyNewCopy ( ) const
inlinevirtual

Implements dx::Value.

Definition at line 646 of file dxjson.h.

◆ type()

JSONValue dx::Real::type ( ) const
inlinevirtual

Implements dx::Value.

Definition at line 644 of file dxjson.h.

◆ write()

void dx::Real::write ( std::ostream &  out) const
inlinevirtual

Implements dx::Value.

Definition at line 643 of file dxjson.h.

Member Data Documentation

◆ val

double dx::Real::val

Definition at line 636 of file dxjson.h.


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