libzypp: zypp/PoolQueryResult.cc Source File

libzypp 17.36.6

PoolQueryResult.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#include <iostream>
13#include <zypp/base/LogTools.h>
14
15#include <zypp/PoolQueryResult.h>
16
17using std::endl;
18
20namespace zypp
21{
22
23 /******************************************************************
24 **
25 ** FUNCTION NAME : operator<<
26 ** FUNCTION TYPE : std::ostream &
27 */
28 std::ostream & operator<<( std::ostream & str, const PoolQueryResult & obj )
29 {
30 return dumpRange( str, obj.begin(), obj.end() );
31 }
32
34} // namespace zypp
PoolQueryResult.h
zypp::PoolQueryResult::end
const_iterator end() const
Definition PoolQueryResult.h:120
zypp::PoolQueryResult::PoolQueryResult
PoolQueryResult()
Default ctor (empty result)
Definition PoolQueryResult.h:84
zypp::PoolQueryResult::begin
const_iterator begin() const
Definition PoolQueryResult.h:117
str
String related utilities and Regular expression matching.
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
zypp::dumpRange
std::ostream & 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).
Definition LogTools.h:120
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Definition SerialNumber.cc:52
LogTools.h