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

Classes

struct  NullLimit
 

Enumerations

enum  { TRIM_LEADING_SPACES = (1 << 0) , TRIM_SPECIAL = (1 << 1) }
 

Functions

template<typename V , typename LEX , typename LIM >
void by_char_void (V &ret, const std::string &input, const char split_by, const unsigned int flags=0, const unsigned int max_terms=~0, LIM *lim=nullptr)
 
template<typename V , typename LEX , typename LIM >
by_char (const std::string &input, const char split_by, const unsigned int flags=0, const unsigned int max_terms=~0, LIM *lim=nullptr)
 
template<typename V , typename LEX , typename SPACE , typename LIM >
void by_space_void (V &ret, const std::string &input, LIM *lim=nullptr)
 
template<typename V , typename LEX , typename SPACE , typename LIM >
by_space (const std::string &input, LIM *lim=nullptr)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TRIM_LEADING_SPACES 
TRIM_SPECIAL 

Definition at line 32 of file split.hpp.

Function Documentation

◆ by_char()

template<typename V , typename LEX , typename LIM >
V openvpn::Split::by_char ( const std::string &  input,
const char  split_by,
const unsigned int  flags = 0,
const unsigned int  max_terms = ~0,
LIM *  lim = nullptr 
)
inline

Definition at line 87 of file split.hpp.

◆ by_char_void()

template<typename V , typename LEX , typename LIM >
void openvpn::Split::by_char_void ( V &  ret,
const std::string &  input,
const char  split_by,
const unsigned int  flags = 0,
const unsigned int  max_terms = ~0,
LIM *  lim = nullptr 
)
inline

Definition at line 59 of file split.hpp.

◆ by_space()

template<typename V , typename LEX , typename SPACE , typename LIM >
V openvpn::Split::by_space ( const std::string &  input,
LIM *  lim = nullptr 
)
inline

Definition at line 145 of file split.hpp.

◆ by_space_void()

template<typename V , typename LEX , typename SPACE , typename LIM >
void openvpn::Split::by_space_void ( V &  ret,
const std::string &  input,
LIM *  lim = nullptr 
)
inline

Definition at line 105 of file split.hpp.