OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::PeerInfo::Set Struct Reference

#include <peerinfo.hpp>

Inheritance diagram for openvpn::PeerInfo::Set:
[legend]
Collaboration diagram for openvpn::PeerInfo::Set:
[legend]

Public Types

typedef RCPtr< SetPtr
 

Public Member Functions

template<typename SET >
void append_foreign_set_ptr (const SET *other)
 
template<typename SET >
void append_foreign_set_ref (const SET &other)
 
bool contains_key (const std::string &key)
 
Ptr copy () const
 
std::string to_string () const
 
- Public Member Functions inherited from openvpn::RCCopyable< thread_unsafe_refcount >
virtual ~RCCopyable ()=default
 
 RCCopyable () noexcept=default
 
 RCCopyable (const RCCopyable &) noexcept
 Construct a new RCCopyable object.
 
 RCCopyable (RCCopyable &&) noexcept
 Construct a new RCCopyable object by move.
 
RCCopyableoperator= (const RCCopyable &) noexcept
 Ensures the new ref count is not copied with the rest of the object.
 
RCCopyableoperator= (RCCopyable &&) noexcept
 Ensures the new ref count is not moved with the rest of the object.
 
olong use_count () const noexcept
 Returns the use count as reported by defering to the injected ref count type.
 

Static Public Member Functions

template<typename SET >
static Ptr new_from_foreign_set (const SET &other)
 
template<typename SET >
static void parse_flexible (const std::string &src, SET &dest)
 
template<typename SET >
static void parse_csv (const std::string &src, SET &dest)
 

Detailed Description

Definition at line 54 of file peerinfo.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 56 of file peerinfo.hpp.

Member Function Documentation

◆ append_foreign_set_ptr()

template<typename SET >
void openvpn::PeerInfo::Set::append_foreign_set_ptr ( const SET *  other)
inline

Definition at line 68 of file peerinfo.hpp.

◆ append_foreign_set_ref()

template<typename SET >
void openvpn::PeerInfo::Set::append_foreign_set_ref ( const SET &  other)
inline

Definition at line 76 of file peerinfo.hpp.

◆ contains_key()

bool openvpn::PeerInfo::Set::contains_key ( const std::string &  key)
inline

Definition at line 82 of file peerinfo.hpp.

◆ copy()

Ptr openvpn::PeerInfo::Set::copy ( ) const
inline

Definition at line 89 of file peerinfo.hpp.

◆ new_from_foreign_set()

template<typename SET >
static Ptr openvpn::PeerInfo::Set::new_from_foreign_set ( const SET &  other)
inlinestatic

Definition at line 59 of file peerinfo.hpp.

Here is the caller graph for this function:

◆ parse_csv()

template<typename SET >
static void openvpn::PeerInfo::Set::parse_csv ( const std::string &  src,
SET &  dest 
)
inlinestatic

Definition at line 115 of file peerinfo.hpp.

Here is the caller graph for this function:

◆ parse_flexible()

template<typename SET >
static void openvpn::PeerInfo::Set::parse_flexible ( const std::string &  src,
SET &  dest 
)
inlinestatic

Definition at line 97 of file peerinfo.hpp.

Here is the caller graph for this function:

◆ to_string()

std::string openvpn::PeerInfo::Set::to_string ( ) const
inline

Definition at line 150 of file peerinfo.hpp.


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