CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
sajson::document Class Reference
Collaboration diagram for sajson::document:

Public Member Functions

 document (mutable_string_view &input, const size_t *structure, type root_type, const size_t *root, size_t error_line, size_t error_column, const std::string &error_message)
 document (const document &rhs)
bool is_valid () const
value get_root () const
size_t get_error_line () const
size_t get_error_column () const
std::string get_error_message () const

Private Member Functions

void operator= (const document &rhs)

Private Attributes

refcount uses
mutable_string_view input
const size_t *const structure
const type root_type
const size_t *const root
const size_t error_line
const size_t error_column
const std::string error_message

Detailed Description

Definition at line 405 of file sajson.h.

Constructor & Destructor Documentation

◆ document() [1/2]

sajson::document::document ( mutable_string_view & input,
const size_t * structure,
type root_type,
const size_t * root,
size_t error_line,
size_t error_column,
const std::string & error_message )
inlineexplicit

Definition at line 407 of file sajson.h.

◆ document() [2/2]

sajson::document::document ( const document & rhs)
inline

Definition at line 436 of file sajson.h.

◆ ~document()

sajson::document::~document ( )
inline

Definition at line 448 of file sajson.h.

Member Function Documentation

◆ get_error_column()

size_t sajson::document::get_error_column ( ) const
inline

Definition at line 466 of file sajson.h.

◆ get_error_line()

size_t sajson::document::get_error_line ( ) const
inline

Definition at line 462 of file sajson.h.

◆ get_error_message()

std::string sajson::document::get_error_message ( ) const
inline

Definition at line 470 of file sajson.h.

◆ get_root()

value sajson::document::get_root ( ) const
inline

Definition at line 458 of file sajson.h.

◆ is_valid()

bool sajson::document::is_valid ( ) const
inline

Definition at line 454 of file sajson.h.

Field Documentation

◆ error_column

const size_t sajson::document::error_column
private

Definition at line 481 of file sajson.h.

◆ error_line

const size_t sajson::document::error_line
private

Definition at line 480 of file sajson.h.

◆ error_message

const std::string sajson::document::error_message
private

Definition at line 482 of file sajson.h.

◆ input

mutable_string_view sajson::document::input
private

Definition at line 476 of file sajson.h.

◆ root

const size_t* const sajson::document::root
private

Definition at line 479 of file sajson.h.

◆ root_type

const type sajson::document::root_type
private

Definition at line 478 of file sajson.h.

◆ structure

const size_t* const sajson::document::structure
private

Definition at line 477 of file sajson.h.

◆ uses

refcount sajson::document::uses
private

Definition at line 475 of file sajson.h.


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