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

Public Member Functions

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

Public Attributes

std::string val
 

Detailed Description

Definition at line 656 of file dxjson.h.

Constructor & Destructor Documentation

◆ String() [1/2]

dx::String::String ( )
inline

Definition at line 660 of file dxjson.h.

◆ String() [2/2]

dx::String::String ( const std::string &  v)
inline

Definition at line 661 of file dxjson.h.

Member Function Documentation

◆ isEqual()

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

Implements dx::Value.

Definition at line 855 of file dxjson.cpp.

◆ operator!=()

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

Definition at line 670 of file dxjson.h.

◆ operator==()

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

Definition at line 669 of file dxjson.h.

◆ read()

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

Implements dx::Value.

Definition at line 694 of file dxjson.cpp.

◆ returnMyNewCopy()

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

Implements dx::Value.

Definition at line 666 of file dxjson.h.

◆ returnString()

std::string dx::String::returnString ( ) const
inline

Definition at line 665 of file dxjson.h.

◆ type()

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

Implements dx::Value.

Definition at line 664 of file dxjson.h.

◆ write()

void String::write ( std::ostream &  out) const
virtual

Implements dx::Value.

Definition at line 410 of file dxjson.cpp.

Member Data Documentation

◆ val

std::string dx::String::val

Definition at line 658 of file dxjson.h.


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