Kea  1.9.9-git
data.cc File Reference
#include <config.h>
#include <cc/data.h>
#include <cstring>
#include <cassert>
#include <climits>
#include <list>
#include <map>
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <fstream>
#include <cerrno>
#include <boost/lexical_cast.hpp>
#include <cmath>
+ Include dependency graph for data.cc:

Go to the source code of this file.

Namespaces

 isc
 Defines the logger used by the top-level component of kea-dhcp-ddns.
 
 isc::data
 

Functions

ElementPtr isc::data::copy (ConstElementPtr from, int level=100)
 Copy the data up to a nesting level. More...
 
bool isc::data::isEquivalent (ConstElementPtr a, ConstElementPtr b)
 Compares the data with other using unordered lists. More...
 
bool isc::data::isNull (ConstElementPtr p)
 Checks whether the given ElementPtr is a NULL pointer. More...
 
void isc::data::merge (ElementPtr element, ConstElementPtr other)
 Merges the data from other into element. More...
 
bool isc::data::operator!= (const Element &a, const Element &b)
 
std::ostream & isc::data::operator<< (std::ostream &out, const Element::Position &pos)
 Insert Element::Position as a string into stream. More...
 
std::ostream & isc::data::operator<< (std::ostream &out, const Element &e)
 Insert the Element as a string into stream. More...
 
bool isc::data::operator== (const Element &a, const Element &b)
 
void isc::data::prettyPrint (ConstElementPtr element, std::ostream &out, unsigned indent=0, unsigned step=2)
 Pretty prints the data into stream. More...
 
std::string isc::data::prettyPrint (ConstElementPtr element, unsigned indent=0, unsigned step=2)
 Pretty prints the data into string. More...
 
void isc::data::removeIdentical (ElementPtr a, ConstElementPtr b)
 Remove all values from the first ElementPtr that are equal in the second. More...
 
ConstElementPtr isc::data::removeIdentical (ConstElementPtr a, ConstElementPtr b)
 Create a new ElementPtr from the first ElementPtr, removing all values that are equal in the second. More...