userver: formats::json::parser::BoolParser Class Reference
Loading...
Searching...
No Matches
formats::json::parser::BoolParser Class Referencefinal

Detailed Description

Definition at line 9 of file bool_parser.hpp.

+ Inheritance diagram for formats::json::parser::BoolParser:
+ Collaboration diagram for formats::json::parser::BoolParser:

Protected Member Functions

void Bool (bool b) override
 
std::string GetPathItem () const override
 
std::string Expected () const override
 
- Protected Member Functions inherited from formats::json::parser::TypedParser< bool >
void SetResult (bool &&value)
 
- Protected Member Functions inherited from formats::json::parser::BaseParser
void Throw (const std::string &found)
 

Additional Inherited Members

- Public Types inherited from formats::json::parser::TypedParser< bool >
using ResultType
 
- Public Member Functions inherited from formats::json::parser::TypedParser< bool >
void Subscribe (Subscriber< bool > &subscriber)
 
virtual void Reset ()
 
TypedParser< bool > & GetParser ()
 
- Public Member Functions inherited from formats::json::parser::BaseParser
virtual void Null ()
 
virtual void Int64 (int64_t)
 
virtual void Uint64 (uint64_t)
 
virtual void Double (double)
 
virtual void String (std::string_view)
 
virtual void StartObject ()
 
virtual void Key (std::string_view key)
 
virtual void EndObject ()
 
virtual void StartArray ()
 
virtual void EndArray ()
 
virtual void EndObject (size_t)
 
virtual void EndArray (size_t)
 
void SetState (ParserState &state)
 
- Protected Attributes inherited from formats::json::parser::BaseParser
ParserStateparser_state_ {nullptr}
 

Member Function Documentation

◆ Bool()

void formats::json::parser::BoolParser::Bool ( bool b)
overrideprotectedvirtual

Reimplemented from formats::json::parser::BaseParser.

◆ Expected()

std::string formats::json::parser::BoolParser::Expected ( ) const
overrideprotectedvirtual

◆ GetPathItem()

std::string formats::json::parser::BoolParser::GetPathItem ( ) const
overrideprotectedvirtual

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