zypp::source::susetags::PackageDiskUsageParser Class Reference

Inheritance diagram for zypp::source::susetags::PackageDiskUsageParser:

zypp::parser::tagfile::TagFileParser List of all members.

Public Member Functions

 PackageDiskUsageParser (parser::ParserProgress::Ptr progress)
virtual void beginParse ()
virtual void consume (const SingleTag &stag_r)
virtual void consume (const MultiTag &mtag_r)
virtual void endParse ()

Public Attributes

PkgDiskUsage result
NVRAD _current_nvrad
bool _pkg_pending
boost::regex sizeEntryRX

Detailed Description

Definition at line 44 of file PackagesParser.cc.


Constructor & Destructor Documentation

zypp::source::susetags::PackageDiskUsageParser::PackageDiskUsageParser ( parser::ParserProgress::Ptr  progress  )  [inline]

Definition at line 52 of file PackagesParser.cc.


Member Function Documentation

virtual void zypp::source::susetags::PackageDiskUsageParser::beginParse (  )  [inline, virtual]

Reimplemented from zypp::parser::tagfile::TagFileParser.

Definition at line 55 of file PackagesParser.cc.

References _pkg_pending, and sizeEntryRX.

virtual void zypp::source::susetags::PackageDiskUsageParser::consume ( const SingleTag &  stag_r  )  [inline, virtual]

Definition at line 62 of file PackagesParser.cc.

References _current_nvrad, _pkg_pending, ERR, zypp::str::split(), WAR, and ZYPP_THROW.

virtual void zypp::source::susetags::PackageDiskUsageParser::consume ( const MultiTag &  mtag_r  )  [inline, virtual]

Definition at line 86 of file PackagesParser.cc.

References _current_nvrad, _pkg_pending, zypp::DiskUsage::add(), result, sizeEntryRX, and ZYPP_THROW.

virtual void zypp::source::susetags::PackageDiskUsageParser::endParse (  )  [inline, virtual]

Reimplemented from zypp::parser::tagfile::TagFileParser.

Definition at line 113 of file PackagesParser.cc.


Member Data Documentation

PkgDiskUsage zypp::source::susetags::PackageDiskUsageParser::result

Definition at line 47 of file PackagesParser.cc.

Referenced by consume(), and zypp::source::susetags::parsePackagesDiskUsage().

NVRAD zypp::source::susetags::PackageDiskUsageParser::_current_nvrad

Definition at line 48 of file PackagesParser.cc.

Referenced by consume().

bool zypp::source::susetags::PackageDiskUsageParser::_pkg_pending

Definition at line 49 of file PackagesParser.cc.

Referenced by beginParse(), and consume().

boost::regex zypp::source::susetags::PackageDiskUsageParser::sizeEntryRX

Definition at line 50 of file PackagesParser.cc.

Referenced by beginParse(), and consume().


The documentation for this class was generated from the following file:
Generated on Tue Nov 28 16:49:40 2006 for zypp by  doxygen 1.5.0