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 >:
+ Collaboration 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 35 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 39 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 37 of file typed_parser.hpp.


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