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

Public Member Functions

 string (const char *text, size_t length)
const char * data () const
size_t length () const
std::string as_string () const

Private Attributes

const char *const text
const size_t _length

Detailed Description

Definition at line 95 of file sajson.h.

Constructor & Destructor Documentation

◆ string()

sajson::string::string ( const char * text,
size_t length )
inline

Definition at line 97 of file sajson.h.

Member Function Documentation

◆ as_string()

std::string sajson::string::as_string ( ) const
inline

Definition at line 110 of file sajson.h.

◆ data()

const char * sajson::string::data ( ) const
inline

Definition at line 102 of file sajson.h.

◆ length()

size_t sajson::string::length ( ) const
inline

Definition at line 106 of file sajson.h.

Field Documentation

◆ _length

const size_t sajson::string::_length
private

Definition at line 116 of file sajson.h.

◆ text

const char* const sajson::string::text
private

Definition at line 115 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