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

A DNS domain name. More...

#include <dns_options.hpp>

Public Member Functions

std::string to_string () const
 Return string representation of the DnsDomain object.
 
void validate (const std::string &title) const
 
Json::Value to_json () const
 
void from_json (const Json::Value &value, const std::string &title)
 
bool operator== (const DnsDomain &) const =default
 

Public Attributes

std::string domain
 

Detailed Description

A DNS domain name.

Definition at line 91 of file dns_options.hpp.

Member Function Documentation

◆ from_json()

void openvpn::DnsDomain::from_json ( const Json::Value &  value,
const std::string &  title 
)
inline

Definition at line 114 of file dns_options.hpp.

◆ operator==()

bool openvpn::DnsDomain::operator== ( const DnsDomain ) const
default

◆ to_json()

Json::Value openvpn::DnsDomain::to_json ( ) const
inline

Definition at line 109 of file dns_options.hpp.

◆ to_string()

std::string openvpn::DnsDomain::to_string ( ) const
inline

Return string representation of the DnsDomain object.

Returns
std::string the string representation generated

Definition at line 98 of file dns_options.hpp.

◆ validate()

void openvpn::DnsDomain::validate ( const std::string &  title) const
inline

Definition at line 103 of file dns_options.hpp.

Member Data Documentation

◆ domain

std::string openvpn::DnsDomain::domain

Definition at line 124 of file dns_options.hpp.


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