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

Public Member Functions

 Integer (const int64_t &v)
 
void write (std::ostream &out) const
 
JSONValue type () const
 
size_t returnAsArrayIndex () const
 
ValuereturnMyNewCopy () const
 
 operator const Value * ()
 
bool isEqual (const Value *other) const
 
bool operator== (const Integer &other) const
 
bool operator!= (const Integer &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

int64_t val
 

Detailed Description

Definition at line 614 of file dxjson.h.

Constructor & Destructor Documentation

◆ Integer() [1/2]

dx::Integer::Integer ( )
inline

Definition at line 618 of file dxjson.h.

◆ Integer() [2/2]

dx::Integer::Integer ( const int64_t &  v)
inline

Definition at line 619 of file dxjson.h.

Member Function Documentation

◆ isEqual()

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

Implements dx::Value.

Definition at line 823 of file dxjson.cpp.

◆ operator const Value *()

dx::Integer::operator const Value * ( )
inline

Definition at line 624 of file dxjson.h.

◆ operator!=()

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

Definition at line 627 of file dxjson.h.

◆ operator==()

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

Definition at line 626 of file dxjson.h.

◆ read()

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

Definition at line 631 of file dxjson.h.

◆ returnAsArrayIndex()

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

Definition at line 622 of file dxjson.h.

◆ returnMyNewCopy()

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

Implements dx::Value.

Definition at line 623 of file dxjson.h.

◆ type()

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

Implements dx::Value.

Definition at line 621 of file dxjson.h.

◆ write()

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

Implements dx::Value.

Definition at line 620 of file dxjson.h.

Member Data Documentation

◆ val

int64_t dx::Integer::val

Definition at line 616 of file dxjson.h.


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