userver: formats::json::parser::SubscriberSinkOptional< T > Class Template Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
formats::json::parser::SubscriberSinkOptional< T > Class Template Referencefinal
+ 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
 

Detailed Description

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

Definition at line 32 of file typed_parser.hpp.

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)
inlineoverridevirtual

◆ 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: