Public Member Functions | Private Attributes | List of all members
Json::OurCharReader Class Reference
Inheritance diagram for Json::OurCharReader:
Inheritance graph
[legend]

Public Member Functions

 OurCharReader (bool collectComments, OurFeatures const &features)
 
bool parse (char const *beginDoc, char const *endDoc, Value *root, std::string *errs) override
 Read a Value from a JSON document. The document must be a UTF-8 encoded string containing the document to read. More...
 
- Public Member Functions inherited from Json::CharReader
virtual ~CharReader ()
 

Private Attributes

const bool collectComments_
 
OurReader reader_
 

Detailed Description

Definition at line 2079 of file jsoncpp.cpp.

Constructor & Destructor Documentation

◆ OurCharReader()

Json::OurCharReader::OurCharReader ( bool  collectComments,
OurFeatures const &  features 
)
inline

Definition at line 2083 of file jsoncpp.cpp.

Member Function Documentation

◆ parse()

bool Json::OurCharReader::parse ( char const *  beginDoc,
char const *  endDoc,
Value root,
std::string errs 
)
inlineoverridevirtual

Read a Value from a JSON document. The document must be a UTF-8 encoded string containing the document to read.

Parameters
beginDocPointer on the beginning of the UTF-8 encoded string of the document to read.
endDocPointer on the end of the UTF-8 encoded string of the document to read. Must be >= beginDoc.
root[out] Contains the root value of the document if it was successfully parsed.
errs[out] Formatted error messages (if not NULL) a user friendly string that lists errors in the parsed document.
Returns
true if the document was successfully parsed, false if an error occurred.

Implements Json::CharReader.

Definition at line 2089 of file jsoncpp.cpp.

Member Data Documentation

◆ collectComments_

const bool Json::OurCharReader::collectComments_
private

Definition at line 2080 of file jsoncpp.cpp.

◆ reader_

OurReader Json::OurCharReader::reader_
private

Definition at line 2081 of file jsoncpp.cpp.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:10