OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::Glob Class Reference

#include <glob.hpp>

Public Member Functions

 Glob (const std::string &pattern, const int flags)
 
int status () const
 
size_t size () const
 
const char * operator[] (const size_t i) const
 
 ~Glob ()
 

Private Member Functions

void reset ()
 
 Glob (const Glob &)=delete
 
Globoperator= (const Glob &)=delete
 

Private Attributes

::glob_t glob_
 
int status_
 

Detailed Description

Definition at line 21 of file glob.hpp.

Constructor & Destructor Documentation

◆ Glob() [1/2]

openvpn::Glob::Glob ( const std::string &  pattern,
const int  flags 
)
inline

Definition at line 24 of file glob.hpp.

◆ ~Glob()

openvpn::Glob::~Glob ( )
inline

Definition at line 45 of file glob.hpp.

◆ Glob() [2/2]

openvpn::Glob::Glob ( const Glob )
privatedelete

Member Function Documentation

◆ operator=()

Glob & openvpn::Glob::operator= ( const Glob )
privatedelete

◆ operator[]()

const char * openvpn::Glob::operator[] ( const size_t  i) const
inline

Definition at line 40 of file glob.hpp.

◆ reset()

void openvpn::Glob::reset ( )
inlineprivate

Definition at line 51 of file glob.hpp.

Here is the caller graph for this function:

◆ size()

size_t openvpn::Glob::size ( ) const
inline

Definition at line 35 of file glob.hpp.

◆ status()

int openvpn::Glob::status ( ) const
inline

Definition at line 30 of file glob.hpp.

Member Data Documentation

◆ glob_

::glob_t openvpn::Glob::glob_
private

Definition at line 60 of file glob.hpp.

◆ status_

int openvpn::Glob::status_
private

Definition at line 61 of file glob.hpp.


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