libzypp  13.10.6
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"

Go to the source code of this file.

Namespaces

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

Functions

std::string zypp::iostr::getline (std::istream &str)
 Read one line from stream. More...
 
int zypp::iostr::forEachLine (std::istream &str_r, function< bool(int, std::string)> consume_r)
 Simple lineparser: Call functor consume_r for each line. More...
 
 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. More...