Typedefs | |
typedef boost::io::ios_base_all_saver | IosFmtFlagsSaver |
Save and restore streams width , precision and fmtflags . | |
Functions | |
std::string | getline (std::istream &str) |
Read one line from stream. | |
template<class _Function> | |
_Function & | forEachLine (std::istream &str_r, _Function &consume_r) |
Simple lineparser: Call functor consume_r for each line. |
|
Save and restore streams
Definition at line 32 of file IOStream.h. |
|
Read one line from stream. Reads everything up to the next newline or EOF. newline is read but not returned.
Definition at line 31 of file IOStream.cc. Referenced by zypp::DiskUsageCounter::detectMountPoints(), zypp::storage::XMLFilesBackend::flagsFromFile(), forEachLine(), zypp::source::SourceImpl::Verifier::isDesiredMedia(), zypp::source::susetags::ProductMetadataParser::parse(), zypp::source::susetags::MediaPatchesMetadataParser::parse(), zypp::source::susetags::MediaMetadataParser::parse(), zypp::parser::tagfile::TagFileParser::parse(), zypp::source::susetags::SuseTagsImpl::providePatterns(), zypp::source::susetags::SuseTagsImpl::provideSelections(), zypp::externalprogram::ExternalDataSource::receiveLine(), zypp::SourceCache::removeSource(), and zypp::SourceCache::restoreSources(). |
|
Simple lineparser: Call functor consume_r for each line.
Definition at line 67 of file IOStream.h. References getline(). Referenced by zypp::dumpFile(). |