A DNS Name with helpful methods. Inherits case insensitivity from DNSLabel.
More...
#include <dns-storage.hh>
A DNS Name with helpful methods. Inherits case insensitivity from DNSLabel.
DNSName::DNSName |
( |
std::initializer_list< DNSLabel > |
dls | ) |
|
|
inline |
auto DNSName::back |
( |
| ) |
const |
|
inline |
auto DNSName::begin |
( |
| ) |
const |
|
inline |
bool DNSName::empty |
( |
| ) |
const |
|
inline |
auto DNSName::end |
( |
| ) |
const |
|
inline |
auto DNSName::front |
( |
| ) |
const |
|
inline |
bool DNSName::isPartOf |
( |
const DNSName & |
root | ) |
const |
Checks is this DNSName is part of root.
bool DNSName::makeRelative |
( |
const DNSName & |
root | ) |
|
Makes us relative to 'root', returns false if we weren't part of root.
bool DNSName::operator!= |
( |
const DNSName & |
rhs | ) |
const |
|
inline |
bool DNSName::operator< |
( |
const DNSName & |
rhs | ) |
const |
|
inline |
bool DNSName::operator== |
( |
const DNSName & |
rhs | ) |
const |
|
inline |
void DNSName::pop_back |
( |
| ) |
|
|
inline |
void DNSName::pop_front |
( |
| ) |
|
|
inline |
void DNSName::push_back |
( |
const DNSLabel & |
l | ) |
|
|
inline |
auto DNSName::push_front |
( |
const DNSLabel & |
dn | ) |
|
|
inline |
std::string DNSName::toString |
( |
| ) |
const |
The documentation for this struct was generated from the following files: