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

Class that reads a string in 'zonefile format' on behalf of an RRGen. More...

#include <record-types.hh>

Public Member Functions

 DNSStringReader (const std::string &str)
 
void skipSpaces ()
 
void xfrName (DNSName &name)
 
void xfrType (DNSType &name)
 
void xfrUInt8 (uint8_t &v)
 
void xfrUInt16 (uint16_t &v)
 
void xfrUInt32 (uint32_t &v)
 
void xfrTxt (std::string &txt)
 

Public Attributes

std::string d_string
 
std::string::const_iterator d_iter
 

Detailed Description

Class that reads a string in 'zonefile format' on behalf of an RRGen.

Constructor & Destructor Documentation

DNSStringReader::DNSStringReader ( const std::string &  str)

this exploits the similarity in writing/reading DNS messages and outputting master file format text

Member Function Documentation

void DNSStringReader::skipSpaces ( )
void DNSStringReader::xfrName ( DNSName name)

Here is the call graph for this function:

void DNSStringReader::xfrTxt ( std::string &  txt)

Here is the call graph for this function:

void DNSStringReader::xfrType ( DNSType name)

Here is the call graph for this function:

void DNSStringReader::xfrUInt16 ( uint16_t &  v)

Here is the call graph for this function:

void DNSStringReader::xfrUInt32 ( uint32_t &  v)

Here is the call graph for this function:

void DNSStringReader::xfrUInt8 ( uint8_t &  v)

Here is the call graph for this function:

Member Data Documentation

std::string::const_iterator DNSStringReader::d_iter
std::string DNSStringReader::d_string

The documentation for this struct was generated from the following files: