userver: formats::json::parser::SubscriberSinkOptional< T > Class Template Reference
Loading...
Searching...
No Matches
formats::json::parser::SubscriberSinkOptional< T > Class Template Referencefinal

Detailed Description

template<typename T>
class formats::json::parser::SubscriberSinkOptional< T >

Definition at line 32 of file typed_parser.hpp.

+ Inheritance diagram for formats::json::parser::SubscriberSinkOptional< T >:

Public Member Functions

 SubscriberSinkOptional (std::optional< T > &data)
 
void OnSend (T &&value) override
 
void OnSend (std::optional< T > &&value) override
 

Constructor & Destructor Documentation

◆ SubscriberSinkOptional()

template<typename T >
formats::json::parser::SubscriberSinkOptional< T >::SubscriberSinkOptional ( std::optional< T > & data)
inline

Definition at line 34 of file typed_parser.hpp.

Member Function Documentation

◆ OnSend() [1/2]

template<typename T >
void formats::json::parser::SubscriberSinkOptional< T >::OnSend ( std::optional< T > && value)
inlineoverride

Definition at line 38 of file typed_parser.hpp.

◆ OnSend() [2/2]

template<typename T >
void formats::json::parser::SubscriberSinkOptional< T >::OnSend ( T && value)
inlineoverridevirtual

Implements formats::json::parser::Subscriber< T >.

Definition at line 36 of file typed_parser.hpp.


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