NCBI C++ ToolKit
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SUvNgHttp2_Error Struct Reference

Search Toolkit Book for SUvNgHttp2_Error

#include <connect/impl/ncbi_uv_nghttp2.hpp>

Classes

struct  SMbedTlsStr
 

Public Member Functions

 SUvNgHttp2_Error (const char *m="")
 
 operator string () const
 
template<typename T >
SUvNgHttp2_Erroroperator<< (T &&v)
 

Static Public Member Functions

template<typename T >
static SUvNgHttp2_Error FromNgHttp2 (T e, const char *w)
 
template<typename T >
static SUvNgHttp2_Error FromLibuv (T e, const char *w)
 
template<typename T >
static SUvNgHttp2_Error FromMbedTls (T e, const char *w)
 
template<typename T , enable_if_t< is_signed< T >::value, T > = 0>
static const char * NgHttp2Str (T e)
 
template<typename T , enable_if_t< is_unsigned< T >::value, T > = 0>
static const char * NgHttp2Str (T e)
 
template<typename T , enable_if_t< is_signed< T >::value, T > = 0>
static const char * LibuvStr (T e)
 
template<typename T , enable_if_t< is_signed< T >::value, T > = 0>
static SMbedTlsStr MbedTlsStr (T e)
 

Private Member Functions

template<typename TFunc , typename T >
 SUvNgHttp2_Error (const char *t, TFunc f, T e, const char *w)
 

Private Attributes

stringstream m_Value
 

Friends

ostream & operator<< (ostream &os, const SUvNgHttp2_Error &error)
 

Detailed Description

Definition at line 51 of file ncbi_uv_nghttp2.hpp.

Constructor & Destructor Documentation

◆ SUvNgHttp2_Error() [1/2]

SUvNgHttp2_Error::SUvNgHttp2_Error ( const char *  m = "")
inline

Definition at line 59 of file ncbi_uv_nghttp2.hpp.

References m_Value.

◆ SUvNgHttp2_Error() [2/2]

template<typename TFunc , typename T >
SUvNgHttp2_Error::SUvNgHttp2_Error ( const char *  t,
TFunc  f,
T  e,
const char *  w 
)
inlineprivate

Definition at line 91 of file ncbi_uv_nghttp2.hpp.

References f(), m_Value, and t.

Member Function Documentation

◆ FromLibuv()

template<typename T >
static SUvNgHttp2_Error SUvNgHttp2_Error::FromLibuv ( T  e,
const char *  w 
)
inlinestatic

◆ FromMbedTls()

template<typename T >
static SUvNgHttp2_Error SUvNgHttp2_Error::FromMbedTls ( T  e,
const char *  w 
)
inlinestatic

◆ FromNgHttp2()

template<typename T >
static SUvNgHttp2_Error SUvNgHttp2_Error::FromNgHttp2 ( T  e,
const char *  w 
)
inlinestatic

◆ LibuvStr()

template<typename T , enable_if_t< is_signed< T >::value, T > = 0>
static const char* SUvNgHttp2_Error::LibuvStr ( T  e)
inlinestatic

◆ MbedTlsStr()

template<typename T , enable_if_t< is_signed< T >::value, T > = 0>
static SMbedTlsStr SUvNgHttp2_Error::MbedTlsStr ( T  e)
inlinestatic

◆ NgHttp2Str() [1/2]

template<typename T , enable_if_t< is_signed< T >::value, T > = 0>
static const char* SUvNgHttp2_Error::NgHttp2Str ( T  e)
inlinestatic

◆ NgHttp2Str() [2/2]

template<typename T , enable_if_t< is_unsigned< T >::value, T > = 0>
static const char* SUvNgHttp2_Error::NgHttp2Str ( T  e)
inlinestatic

Definition at line 74 of file ncbi_uv_nghttp2.hpp.

◆ operator string()

SUvNgHttp2_Error::operator string ( ) const
inline

Definition at line 82 of file ncbi_uv_nghttp2.hpp.

References m_Value.

◆ operator<<()

template<typename T >
SUvNgHttp2_Error& SUvNgHttp2_Error::operator<< ( T &&  v)
inline

Definition at line 85 of file ncbi_uv_nghttp2.hpp.

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  os,
const SUvNgHttp2_Error error 
)
friend

Definition at line 87 of file ncbi_uv_nghttp2.hpp.

Member Data Documentation

◆ m_Value

stringstream SUvNgHttp2_Error::m_Value
private

Definition at line 96 of file ncbi_uv_nghttp2.hpp.

Referenced by operator string(), and SUvNgHttp2_Error().


The documentation for this struct was generated from the following file:
Modified on Fri May 24 14:56:40 2024 by modify_doxy.py rev. 669887