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

#include <urlparm.hpp>

Inheritance diagram for openvpn::URL::ParmList:
[legend]
Collaboration diagram for openvpn::URL::ParmList:
[legend]

Public Member Functions

 ParmList (const std::string &uri)
 
const Parmget (const std::string &key) const
 
std::string get_value (const std::string &key) const
 
const std::string & get_value_required (const std::string &key) const
 
template<typename T >
get_num (const std::string &name, const std::string &short_name, const T default_value) const
 
template<typename T >
get_num_required (const std::string &name, const std::string &short_name) const
 
bool get_bool (const std::string &name, const std::string &short_name, const bool default_value) const
 
std::string get_string (const std::string &name, const std::string &short_name) const
 
std::string get_string_required (const std::string &name, const std::string &short_name) const
 
std::string to_string () const
 
std::string request (const bool remove_leading_slash) const
 
const std::string & request () const
 

Private Attributes

std::string request_
 

Detailed Description

Definition at line 49 of file urlparm.hpp.

Constructor & Destructor Documentation

◆ ParmList()

openvpn::URL::ParmList::ParmList ( const std::string &  uri)
inline

Definition at line 52 of file urlparm.hpp.

Member Function Documentation

◆ get()

const Parm * openvpn::URL::ParmList::get ( const std::string &  key) const
inline

Definition at line 78 of file urlparm.hpp.

Here is the caller graph for this function:

◆ get_bool()

bool openvpn::URL::ParmList::get_bool ( const std::string &  name,
const std::string &  short_name,
const bool  default_value 
) const
inline

Definition at line 129 of file urlparm.hpp.

◆ get_num()

template<typename T >
T openvpn::URL::ParmList::get_num ( const std::string &  name,
const std::string &  short_name,
const T  default_value 
) const
inline

Definition at line 107 of file urlparm.hpp.

◆ get_num_required()

template<typename T >
T openvpn::URL::ParmList::get_num_required ( const std::string &  name,
const std::string &  short_name 
) const
inline

Definition at line 119 of file urlparm.hpp.

◆ get_string()

std::string openvpn::URL::ParmList::get_string ( const std::string &  name,
const std::string &  short_name 
) const
inline

Definition at line 147 of file urlparm.hpp.

◆ get_string_required()

std::string openvpn::URL::ParmList::get_string_required ( const std::string &  name,
const std::string &  short_name 
) const
inline

Definition at line 158 of file urlparm.hpp.

◆ get_value()

std::string openvpn::URL::ParmList::get_value ( const std::string &  key) const
inline

Definition at line 88 of file urlparm.hpp.

◆ get_value_required()

const std::string & openvpn::URL::ParmList::get_value_required ( const std::string &  key) const
inline

Definition at line 97 of file urlparm.hpp.

◆ request() [1/2]

const std::string & openvpn::URL::ParmList::request ( ) const
inline

Definition at line 191 of file urlparm.hpp.

◆ request() [2/2]

std::string openvpn::URL::ParmList::request ( const bool  remove_leading_slash) const
inline

Definition at line 176 of file urlparm.hpp.

◆ to_string()

std::string openvpn::URL::ParmList::to_string ( ) const
inline

Definition at line 168 of file urlparm.hpp.

Member Data Documentation

◆ request_

std::string openvpn::URL::ParmList::request_
private

Definition at line 197 of file urlparm.hpp.


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