OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ScopedAsioStream< STREAM > Class Template Reference

#include <scoped_asio_stream.hpp>

Public Types

typedef STREAM * base_type
 

Public Member Functions

 ScopedAsioStream ()
 
 ScopedAsioStream (STREAM *obj)
 
STREAM * release ()
 
bool defined () const
 
STREAM * operator() () const
 
void reset (STREAM *obj)
 
void replace (STREAM *obj)
 
bool close ()
 
 ~ScopedAsioStream ()
 

Static Public Member Functions

static STREAM * undefined ()
 
static bool defined_static (STREAM *obj)
 

Private Member Functions

 ScopedAsioStream (const ScopedAsioStream &)=delete
 
ScopedAsioStreamoperator= (const ScopedAsioStream &)=delete
 

Private Attributes

STREAM * obj_
 

Detailed Description

template<typename STREAM>
class openvpn::ScopedAsioStream< STREAM >

Definition at line 22 of file scoped_asio_stream.hpp.

Member Typedef Documentation

◆ base_type

template<typename STREAM >
typedef STREAM* openvpn::ScopedAsioStream< STREAM >::base_type

Definition at line 28 of file scoped_asio_stream.hpp.

Constructor & Destructor Documentation

◆ ScopedAsioStream() [1/3]

template<typename STREAM >
openvpn::ScopedAsioStream< STREAM >::ScopedAsioStream ( const ScopedAsioStream< STREAM > &  )
privatedelete

◆ ScopedAsioStream() [2/3]

template<typename STREAM >
openvpn::ScopedAsioStream< STREAM >::ScopedAsioStream ( )
inline

Definition at line 30 of file scoped_asio_stream.hpp.

◆ ScopedAsioStream() [3/3]

template<typename STREAM >
openvpn::ScopedAsioStream< STREAM >::ScopedAsioStream ( STREAM *  obj)
inlineexplicit

Definition at line 35 of file scoped_asio_stream.hpp.

◆ ~ScopedAsioStream()

template<typename STREAM >
openvpn::ScopedAsioStream< STREAM >::~ScopedAsioStream ( )
inline

Definition at line 94 of file scoped_asio_stream.hpp.

Member Function Documentation

◆ close()

template<typename STREAM >
bool openvpn::ScopedAsioStream< STREAM >::close ( )
inline

Definition at line 83 of file scoped_asio_stream.hpp.

Here is the caller graph for this function:

◆ defined()

template<typename STREAM >
bool openvpn::ScopedAsioStream< STREAM >::defined ( ) const
inline

Definition at line 58 of file scoped_asio_stream.hpp.

Here is the caller graph for this function:

◆ defined_static()

template<typename STREAM >
static bool openvpn::ScopedAsioStream< STREAM >::defined_static ( STREAM *  obj)
inlinestatic

Definition at line 53 of file scoped_asio_stream.hpp.

Here is the caller graph for this function:

◆ operator()()

template<typename STREAM >
STREAM * openvpn::ScopedAsioStream< STREAM >::operator() ( ) const
inline

Definition at line 63 of file scoped_asio_stream.hpp.

◆ operator=()

template<typename STREAM >
ScopedAsioStream & openvpn::ScopedAsioStream< STREAM >::operator= ( const ScopedAsioStream< STREAM > &  )
privatedelete

◆ release()

template<typename STREAM >
STREAM * openvpn::ScopedAsioStream< STREAM >::release ( )
inline

Definition at line 45 of file scoped_asio_stream.hpp.

◆ replace()

template<typename STREAM >
void openvpn::ScopedAsioStream< STREAM >::replace ( STREAM *  obj)
inline

Definition at line 76 of file scoped_asio_stream.hpp.

◆ reset()

template<typename STREAM >
void openvpn::ScopedAsioStream< STREAM >::reset ( STREAM *  obj)
inline

Definition at line 68 of file scoped_asio_stream.hpp.

◆ undefined()

template<typename STREAM >
static STREAM * openvpn::ScopedAsioStream< STREAM >::undefined ( )
inlinestatic

Definition at line 40 of file scoped_asio_stream.hpp.

Member Data Documentation

◆ obj_

template<typename STREAM >
STREAM* openvpn::ScopedAsioStream< STREAM >::obj_
private

Definition at line 101 of file scoped_asio_stream.hpp.


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