OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::print_formatted_detail::Output< std::string > Class Reference

#include <format.hpp>

Public Member Functions

 Output (const size_t reserve)
 
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value, int >::type = 0>
void append (T value)
 
template<typename T , typename std::enable_if<!std::is_arithmetic< T >::value, int >::type = 0>
void append (const T &value)
 
void append (const std::string &value)
 
void append (const char *value)
 
void append (char *value)
 
void append (const char c)
 
void append (const bool value)
 
void append (std::nullptr_t)
 
std::string str ()
 

Private Attributes

std::string str_
 

Detailed Description

Definition at line 83 of file format.hpp.

Constructor & Destructor Documentation

◆ Output()

openvpn::print_formatted_detail::Output< std::string >::Output ( const size_t  reserve)
inline

Definition at line 86 of file format.hpp.

Member Function Documentation

◆ append() [1/8]

void openvpn::print_formatted_detail::Output< std::string >::append ( char *  value)
inline

Definition at line 124 of file format.hpp.

◆ append() [2/8]

void openvpn::print_formatted_detail::Output< std::string >::append ( const bool  value)
inline

Definition at line 137 of file format.hpp.

◆ append() [3/8]

void openvpn::print_formatted_detail::Output< std::string >::append ( const char *  value)
inline

Definition at line 117 of file format.hpp.

◆ append() [4/8]

void openvpn::print_formatted_detail::Output< std::string >::append ( const char  c)
inline

Definition at line 131 of file format.hpp.

◆ append() [5/8]

void openvpn::print_formatted_detail::Output< std::string >::append ( const std::string &  value)
inline

Definition at line 111 of file format.hpp.

◆ append() [6/8]

template<typename T , typename std::enable_if<!std::is_arithmetic< T >::value, int >::type = 0>
void openvpn::print_formatted_detail::Output< std::string >::append ( const T &  value)
inline

Definition at line 103 of file format.hpp.

◆ append() [7/8]

void openvpn::print_formatted_detail::Output< std::string >::append ( std::nullptr_t  )
inline

Definition at line 143 of file format.hpp.

◆ append() [8/8]

template<typename T , typename std::enable_if< std::is_arithmetic< T >::value, int >::type = 0>
void openvpn::print_formatted_detail::Output< std::string >::append ( T  value)
inline

Definition at line 95 of file format.hpp.

◆ str()

std::string openvpn::print_formatted_detail::Output< std::string >::str ( )
inline

Definition at line 148 of file format.hpp.

Member Data Documentation

◆ str_

std::string openvpn::print_formatted_detail::Output< std::string >::str_
private

Definition at line 154 of file format.hpp.


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