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

Public Member Functions

 Boolean (const bool &v)
 
JSONjsonAtKey (const std::string &s)
 
const JSONjsonAtKey (const std::string &s) const
 
JSONValue type () const
 
void write (std::ostream &out) const
 
ValuereturnMyNewCopy () const
 
void read (std::istream &in)
 
bool isEqual (const Value *other) const
 
bool operator== (const Boolean &other) const
 
bool operator!= (const Boolean &other) const
 

Public Attributes

bool val
 

Detailed Description

Definition at line 729 of file dxjson.h.

Constructor & Destructor Documentation

◆ Boolean() [1/2]

dx::Boolean::Boolean ( )
inline

Definition at line 733 of file dxjson.h.

◆ Boolean() [2/2]

dx::Boolean::Boolean ( const bool &  v)
inline

Definition at line 734 of file dxjson.h.

Member Function Documentation

◆ isEqual()

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

Implements dx::Value.

Definition at line 860 of file dxjson.cpp.

◆ operator!=()

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

Definition at line 743 of file dxjson.h.

◆ operator==()

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

Definition at line 742 of file dxjson.h.

◆ read()

void Boolean::read ( std::istream &  in)
virtual

Implements dx::Value.

Definition at line 698 of file dxjson.cpp.

◆ returnMyNewCopy()

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

Implements dx::Value.

Definition at line 739 of file dxjson.h.

◆ type()

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

Implements dx::Value.

Definition at line 737 of file dxjson.h.

◆ write()

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

Implements dx::Value.

Definition at line 738 of file dxjson.h.

Member Data Documentation

◆ val

bool dx::Boolean::val

Definition at line 731 of file dxjson.h.


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