libzypp 17.31.23
LogTools.h File Reference
#include <zypp-core/base/LogTools.h>
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <zypp-core/base/Hash.h>
#include <zypp-core/base/Logger.h>
#include <zypp-core/base/String.h>
#include <zypp-core/base/Iterator.h>
#include <zypp-core/Globals.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

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
namespace  zypp::iomanip
 
namespace  zypp::_logtoolsdetail
 
namespace  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="\n ", const std::string &sep="\n ", const std::string &sfx="\n", const std::string &extro="}")
 Print range defined by iterators (multiline style).
 
template<class TIterator >
std::ostream & zypp::dumpRangeLine (std::ostream &str, TIterator begin, TIterator end)
 Print range defined by iterators (single line style).
 
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.
 
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.
 
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)
 
std::ostream & zypp::hexdumpOn (std::ostream &outs, const unsigned char *ptr, size_t size)
 hexdump data on stream
 
std::ostream & zypp::hexdumpOn (std::ostream &outs, const char *ptr, size_t size)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.