OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::path Namespace Reference

Functions

bool is_dirsep (const char c)
 
bool win_dev (const std::string &path, const bool fully_qualified)
 
bool is_fully_qualified (const std::string &path)
 
bool is_flat (const std::string &path)
 
std::string basename (const std::string &path)
 
std::string dirname (const std::string &path)
 
bool is_contained (const std::string &path)
 
std::string ext (const std::string &basename)
 
std::string root (const std::string &basename)
 
std::string join (const std::string &p1, const std::string &p2)
 
template<typename... Args>
std::string join (const std::string &p1, const std::string &p2, Args... args)
 

Function Documentation

◆ basename()

std::string openvpn::path::basename ( const std::string &  path)
inline

Definition at line 76 of file path.hpp.

Here is the caller graph for this function:

◆ dirname()

std::string openvpn::path::dirname ( const std::string &  path)
inline

Definition at line 91 of file path.hpp.

Here is the caller graph for this function:

◆ ext()

std::string openvpn::path::ext ( const std::string &  basename)
inline

Definition at line 156 of file path.hpp.

Here is the caller graph for this function:

◆ is_contained()

bool openvpn::path::is_contained ( const std::string &  path)
inline

Definition at line 106 of file path.hpp.

Here is the caller graph for this function:

◆ is_dirsep()

bool openvpn::path::is_dirsep ( const char  c)
inline

Definition at line 39 of file path.hpp.

Here is the caller graph for this function:

◆ is_flat()

bool openvpn::path::is_flat ( const std::string &  path)
inline

Definition at line 67 of file path.hpp.

Here is the caller graph for this function:

◆ is_fully_qualified()

bool openvpn::path::is_fully_qualified ( const std::string &  path)
inline

Definition at line 61 of file path.hpp.

Here is the caller graph for this function:

◆ join() [1/2]

std::string openvpn::path::join ( const std::string &  p1,
const std::string &  p2 
)
inline

Definition at line 180 of file path.hpp.

Here is the caller graph for this function:

◆ join() [2/2]

template<typename... Args>
std::string openvpn::path::join ( const std::string &  p1,
const std::string &  p2,
Args...  args 
)
inline

Definition at line 189 of file path.hpp.

◆ root()

std::string openvpn::path::root ( const std::string &  basename)
inline

Definition at line 171 of file path.hpp.

◆ win_dev()

bool openvpn::path::win_dev ( const std::string &  path,
const bool  fully_qualified 
)
inline

Definition at line 47 of file path.hpp.

Here is the caller graph for this function: