libzypp
10.5.0
|
#include <iosfwd>
#include <boost/io/ios_state.hpp>
#include "zypp/base/PtrTypes.h"
#include <zypp/base/SafeBool.h>
#include <zypp/base/NonCopyable.h>
Go to the source code of this file.
Classes | |
class | zypp::iostr::EachLine |
Simple lineparser: Traverse each line in a file. More... | |
Namespaces | |
namespace | zypp |
Easy-to use interface to the ZYPP dependency resolver. | |
namespace | zypp::iostr |
Iostream related utilities. | |
Typedefs | |
typedef boost::io::ios_base_all_saver | zypp::iostr::IosFmtFlagsSaver |
Save and restore streams width , precision and fmtflags . | |
Functions | |
std::string | zypp::iostr::getline (std::istream &str) |
Read one line from stream. | |
std::ostream & | zypp::iostr::copy (std::istream &from_r, std::ostream &to_r) |
Copy istream to ostream. | |
std::ostream & | zypp::iostr::copyIndent (std::istream &from_r, std::ostream &to_r, const std::string &indent_r="> ") |
Copy istream to ostream, prefixing each line with indent_r (default "> " ). | |
void | zypp::iostr::tee (std::istream &from_r, std::ostream &to1_r, std::ostream &to2_r) |
Copy istream to ostream, prefixing each line with indent_r (default "> " ). | |
template<class _Function > | |
_Function & | zypp::iostr::forEachLine (std::istream &str_r, _Function &consume_r) |
Simple lineparser: Call functor consume_r for each line. |
Definition in file IOStream.h.