libzypp  17.8.0
LogTools.h File Reference
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <map>
#include "zypp/base/Hash.h"
#include "zypp/base/Logger.h"
#include "zypp/base/Iterator.h"
#include "zypp/APIConfig.h"
Include dependency graph for LogTools.h:

Go to the source code of this file.

Classes

struct  zypp::iomanip::RangeLine< TIterator >
 
class  zypp::_logtoolsdetail::MapEntry< TPair >
 std::pair wrapper for std::map output. More...
 
class  zypp::_logtoolsdetail::DumpMap< TMap >
 std::map wrapper for stream output. More...
 
struct  zypp::_logtoolsdetail::DumpMap< TMap >::Transformer
 
class  zypp::_logtoolsdetail::DumpKeys< TMap >
 std::map wrapper for stream output of keys. More...
 
class  zypp::_logtoolsdetail::DumpValues< TMap >
 std::map wrapper for stream output of values. More...
 
struct  zypp::detail::Dump< Tp >
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::iomanip
 
 zypp::_logtoolsdetail
 
 zypp::detail
 

Functions

template<class TIterator >
std::ostream & zypp::dumpRange (std::ostream &str, TIterator begin, TIterator end, const std::string &intro="{", const std::string &pfx="\ ", const std::string &sep="\ ", const std::string &sfx="\, const std::string &extro="}")
 Print range defined by iterators (multiline style). More...
 
template<class TIterator >
std::ostream & zypp::dumpRangeLine (std::ostream &str, TIterator begin, TIterator end)
 Print range defined by iterators (single line style). More...
 
template<class TContainer >
std::ostream & zypp::dumpRangeLine (std::ostream &str, const TContainer &cont)
 
template<class TIterator >
iomanip::RangeLine< TIterator > zypp::rangeLine (TIterator begin, TIterator end)
 Iomanip printing dumpRangeLine style. More...
 
template<class TContainer >
auto zypp::rangeLine (const TContainer &cont) -> decltype(rangeLine(cont.begin(), cont.end()))
 
template<class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const std::vector< Tp > &obj)
 
template<class Tp , class TCmp , class TAlloc >
std::ostream & zypp::operator<< (std::ostream &str, const std::set< Tp, TCmp, TAlloc > &obj)
 
template<class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const std::unordered_set< Tp > &obj)
 
template<class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const std::multiset< Tp > &obj)
 
template<class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const std::list< Tp > &obj)
 
template<class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const Iterable< Tp > &obj)
 
template<class TKey , class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const std::map< TKey, Tp > &obj)
 
template<class TKey , class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const std::unordered_map< TKey, Tp > &obj)
 
template<class TKey , class Tp >
std::ostream & zypp::operator<< (std::ostream &str, const std::multimap< TKey, Tp > &obj)
 
std::ostream & zypp::operator<< (std::ostream &str, const std::basic_ios< char > &obj)
 Print stream status bits. More...
 
template<class Tp >
std::ostream & zypp::detail::operator<< (std::ostream &str, const Dump< Tp > &obj)
 
template<class Tp >
detail::Dump< Tp > zypp::dump (const Tp &obj_r)