MQTTSuite
Loading...
Searching...
No Matches
anonymous_namespace{errors.cpp}::store_ptr_err_handler Class Reference
Inheritance diagram for anonymous_namespace{errors.cpp}::store_ptr_err_handler:
Collaboration diagram for anonymous_namespace{errors.cpp}::store_ptr_err_handler:

Public Member Functions

void reset () override
void reset () override
Public Member Functions inherited from nlohmann::json_schema::basic_error_handler
void error (const json::json_pointer &, const json &, const std::string &) override
 operator bool () const
Public Member Functions inherited from nlohmann::json_schema::error_handler
virtual ~error_handler ()

Public Attributes

std::vector< nlohmann::json::json_pointer > failed_pointers

Private Member Functions

void error (const nlohmann::json::json_pointer &ptr, const json &instance, const std::string &message) override
void error (const nlohmann::json::json_pointer &ptr, const json &instance, const std::string &message) override

Detailed Description

Definition at line 52 of file errors.cpp.

Member Function Documentation

◆ error() [1/2]

void anonymous_namespace{errors.cpp}::store_ptr_err_handler::error ( const nlohmann::json::json_pointer & ptr,
const json & instance,
const std::string & message )
inlineoverrideprivate

Definition at line 54 of file errors.cpp.

55 {
57 std::cerr << "ERROR: '" << ptr << "' - '" << instance << "': " << message << "\n";
58 failed_pointers.push_back(ptr);
59 }
std::vector< nlohmann::json::json_pointer > failed_pointers
Definition errors.cpp:62
void error(const json::json_pointer &, const json &, const std::string &) override
static const auto instance
Definition issue-93.cpp:14

References nlohmann::json_schema::basic_error_handler::error(), and failed_pointers.

Here is the call graph for this function:

◆ error() [2/2]

void anonymous_namespace{errors.cpp}::store_ptr_err_handler::error ( const nlohmann::json::json_pointer & ptr,
const json & instance,
const std::string & message )
inlineoverrideprivate

Definition at line 54 of file errors.cpp.

55 {
57 std::cerr << "ERROR: '" << ptr << "' - '" << instance << "': " << message << "\n";
58 failed_pointers.push_back(ptr);
59 }

◆ reset() [1/2]

void anonymous_namespace{errors.cpp}::store_ptr_err_handler::reset ( )
inlineoverridevirtual

Reimplemented from nlohmann::json_schema::basic_error_handler.

Definition at line 64 of file errors.cpp.

References failed_pointers, and nlohmann::json_schema::basic_error_handler::reset().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset() [2/2]

void anonymous_namespace{errors.cpp}::store_ptr_err_handler::reset ( )
inlineoverridevirtual

Reimplemented from nlohmann::json_schema::basic_error_handler.

Definition at line 64 of file errors.cpp.

Member Data Documentation

◆ failed_pointers

std::vector< nlohmann::json::json_pointer > store_ptr_err_handler::failed_pointers

Definition at line 62 of file errors.cpp.

Referenced by error(), main(), and reset().


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