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

#include <xmlhelper.hpp>

Classes

struct  Document
 

Public Member Functions

 OPENVPN_EXCEPTION (xml_parse)
 

Static Public Member Functions

static std::string to_string (const tinyxml2::XMLDocument &doc)
 
static std::string format_error (const tinyxml2::XMLDocument &doc)
 
template<typename T , typename... Args>
static std::string find_text (const tinyxml2::XMLNode *node, const T &first, Args... args)
 
template<typename T , typename... Args>
static const tinyxml2::XMLElement * find (const tinyxml2::XMLNode *node, const T &first, Args... args)
 
static const tinyxml2::XMLElement * find (const tinyxml2::XMLNode *node, const std::string &first)
 
static const tinyxml2::XMLElement * find (const tinyxml2::XMLNode *node, const char *first)
 
static const tinyxml2::XMLElement * find (const tinyxml2::XMLElement *elem)
 
static const tinyxml2::XMLElement * next_sibling (const tinyxml2::XMLNode *node, const std::string &name)
 
static const tinyxml2::XMLElement * next_sibling (const tinyxml2::XMLNode *node, const char *name)
 
static const tinyxml2::XMLElement * next_sibling (const tinyxml2::XMLNode *node)
 

Detailed Description

Definition at line 20 of file xmlhelper.hpp.

Member Function Documentation

◆ find() [1/4]

static const tinyxml2::XMLElement * openvpn::Xml::find ( const tinyxml2::XMLElement *  elem)
inlinestatic

Definition at line 109 of file xmlhelper.hpp.

◆ find() [2/4]

static const tinyxml2::XMLElement * openvpn::Xml::find ( const tinyxml2::XMLNode *  node,
const char *  first 
)
inlinestatic

Definition at line 103 of file xmlhelper.hpp.

◆ find() [3/4]

static const tinyxml2::XMLElement * openvpn::Xml::find ( const tinyxml2::XMLNode *  node,
const std::string &  first 
)
inlinestatic

Definition at line 97 of file xmlhelper.hpp.

◆ find() [4/4]

template<typename T , typename... Args>
static const tinyxml2::XMLElement * openvpn::Xml::find ( const tinyxml2::XMLNode *  node,
const T &  first,
Args...  args 
)
inlinestatic

Definition at line 87 of file xmlhelper.hpp.

Here is the caller graph for this function:

◆ find_text()

template<typename T , typename... Args>
static std::string openvpn::Xml::find_text ( const tinyxml2::XMLNode *  node,
const T &  first,
Args...  args 
)
inlinestatic

Definition at line 75 of file xmlhelper.hpp.

Here is the caller graph for this function:

◆ format_error()

static std::string openvpn::Xml::format_error ( const tinyxml2::XMLDocument &  doc)
inlinestatic

Definition at line 42 of file xmlhelper.hpp.

Here is the caller graph for this function:

◆ next_sibling() [1/3]

static const tinyxml2::XMLElement * openvpn::Xml::next_sibling ( const tinyxml2::XMLNode *  node)
inlinestatic

Definition at line 126 of file xmlhelper.hpp.

◆ next_sibling() [2/3]

static const tinyxml2::XMLElement * openvpn::Xml::next_sibling ( const tinyxml2::XMLNode *  node,
const char *  name 
)
inlinestatic

Definition at line 120 of file xmlhelper.hpp.

◆ next_sibling() [3/3]

static const tinyxml2::XMLElement * openvpn::Xml::next_sibling ( const tinyxml2::XMLNode *  node,
const std::string &  name 
)
inlinestatic

Definition at line 114 of file xmlhelper.hpp.

◆ OPENVPN_EXCEPTION()

openvpn::Xml::OPENVPN_EXCEPTION ( xml_parse  )

◆ to_string()

static std::string openvpn::Xml::to_string ( const tinyxml2::XMLDocument &  doc)
inlinestatic

Definition at line 35 of file xmlhelper.hpp.


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