CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::JSON::Document Class Reference
Collaboration diagram for NSROOT::JSON::Document:

Public Member Functions

 Document (NSROOT::WSResponse &resp)
 Document (const std::string &content)
bool IsValid () const
Node GetRoot () const

Private Member Functions

 Document (const Document &)
Document & operator= (const Document &)

Private Attributes

bool m_isValid
sajson::documentm_document

Detailed Description

Definition at line 72 of file jsonparser.h.

Constructor & Destructor Documentation

◆ Document() [1/2]

JSON::Document::Document ( NSROOT::WSResponse & resp)
explicit

Definition at line 172 of file jsonparser.cpp.

◆ Document() [2/2]

JSON::Document::Document ( const std::string & content)

Definition at line 201 of file jsonparser.cpp.

◆ ~Document()

NSROOT::JSON::Document::~Document ( )
inline

Definition at line 78 of file jsonparser.h.

Member Function Documentation

◆ GetRoot()

JSON::Node JSON::Document::GetRoot ( ) const

Definition at line 223 of file jsonparser.cpp.

◆ IsValid()

bool NSROOT::JSON::Document::IsValid ( ) const
inline

Definition at line 85 of file jsonparser.h.

Field Documentation

◆ m_document

sajson::document* NSROOT::JSON::Document::m_document
private

Definition at line 97 of file jsonparser.h.

◆ m_isValid

bool NSROOT::JSON::Document::m_isValid
private

Definition at line 96 of file jsonparser.h.


The documentation for this class was generated from the following files:
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/jsonparser.h
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/jsonparser.cpp