libzypp  11.13.5
IOStream.cc File Reference
#include <iostream>
#include <boost/mpl/assert.hpp>
#include <boost/mpl/int.hpp>
#include "zypp/base/IOStream.h"
#include "zypp/base/String.h"
Include dependency graph for IOStream.cc:

Go to the source code of this file.

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
namespace  zypp::iostr
 Iostream related utilities.

Functions

std::string zypp::iostr::getline (std::istream &str)
 Read one line from stream.
int zypp::iostr::forEachLine (std::istream &str_r, function< bool(int, std::string)> consume_r)
 Simple lineparser: Call functor consume_r for each line.
 zypp::iostr::BOOST_MPL_ASSERT_RELATION (int(PF_LTRIM),==, int(str::L_TRIM))
 zypp::iostr::BOOST_MPL_ASSERT_RELATION (int(PF_RTRIM),==, int(str::R_TRIM))
int zypp::iostr::simpleParseFile (std::istream &str_r, ParseFlags flags_r, function< bool(int, std::string)> consume_r)
 Simple lineparser optionally trimming and skipping comments.

Detailed Description

Definition in file IOStream.cc.