tdns
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
DNSLabel Class Reference

Represents a DNS label, which is part of a DNS Name. More...

#include <dns-storage.hh>

Public Member Functions

 DNSLabel ()
 
 DNSLabel (const char *s)
 
 DNSLabel (const std::string &s)
 
bool operator< (const DNSLabel &rhs) const
 Equality and comparison are case insensitive. More...
 
bool operator== (const DNSLabel &rhs) const
 
auto size () const
 
auto empty () const
 

Public Attributes

std::string d_s
 

Detailed Description

Represents a DNS label, which is part of a DNS Name.

Constructor & Destructor Documentation

DNSLabel::DNSLabel ( )
inline
DNSLabel::DNSLabel ( const char *  s)
inline
DNSLabel::DNSLabel ( const std::string &  s)
inline

Member Function Documentation

auto DNSLabel::empty ( ) const
inline
bool DNSLabel::operator< ( const DNSLabel rhs) const
inline

Equality and comparison are case insensitive.

bool DNSLabel::operator== ( const DNSLabel rhs) const
inline
auto DNSLabel::size ( ) const
inline

Member Data Documentation

std::string DNSLabel::d_s

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