zypp::source::susetags::PackagesParser Struct Reference

Inheritance diagram for zypp::source::susetags::PackagesParser:

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

Public Member Functions

 PackagesParser (parser::ParserProgress::Ptr progress, Source_Ref source, SuseTagsImpl::Ptr sourceimpl)
PkgContent result () const
void collectPkg ()
void collectDeps (const std::list< std::string > &depstr_r, CapSet &capset)
virtual void consume (const SingleTag &stag_r)
virtual void consume (const MultiTag &mtag_r)
virtual void endParse ()

Public Attributes

PkgContent _result
Source_Ref _source
SuseTagsImpl::Ptr _sourceImpl
bool _isPendingPkg
PkgImplPtr _pkgImpl
SrcPkgImplPtr _srcPkgImpl
NVRAD _nvrad
bool _isShared
Arch _system_arch

Detailed Description

Definition at line 119 of file PackagesParser.cc.


Constructor & Destructor Documentation

zypp::source::susetags::PackagesParser::PackagesParser ( parser::ParserProgress::Ptr  progress,
Source_Ref  source,
SuseTagsImpl::Ptr  sourceimpl 
) [inline]

Definition at line 134 of file PackagesParser.cc.

References _system_arch.


Member Function Documentation

PkgContent zypp::source::susetags::PackagesParser::result (  )  const [inline]

Definition at line 146 of file PackagesParser.cc.

References _result.

Referenced by zypp::source::susetags::parsePackages().

void zypp::source::susetags::PackagesParser::collectPkg (  )  [inline]

Definition at line 151 of file PackagesParser.cc.

References _isPendingPkg, _isShared, _nvrad, _pkgImpl, _result, _sourceImpl, _srcPkgImpl, _system_arch, zypp::NVRA::arch, and zypp::Arch::compatibleWith().

Referenced by consume(), and endParse().

void zypp::source::susetags::PackagesParser::collectDeps ( const std::list< std::string > &  depstr_r,
CapSet capset 
) [inline]

Definition at line 177 of file PackagesParser.cc.

References zypp::parser::tagfile::TagFileParser::_file_r, zypp::parser::tagfile::TagFileParser::_line_number, _source, zypp::Source_Ref::alias(), zypp::Url::asString(), zypp::parser::tagfile::TagFileParser::parse(), zypp::Source_Ref::url(), WAR, and ZYPP_THROW.

Referenced by consume().

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

Definition at line 202 of file PackagesParser.cc.

References _isPendingPkg, _isShared, _nvrad, _pkgImpl, _source, _sourceImpl, _srcPkgImpl, zypp::Source_Ref::alias(), zypp::NVRA::arch, zypp::Arch::asString(), zypp::Url::asString(), collectPkg(), zypp::str::split(), zypp::url::split(), zypp::Source_Ref::url(), XXX, and ZYPP_THROW.

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

Definition at line 310 of file PackagesParser.cc.

References _isPendingPkg, _nvrad, _pkgImpl, collectDeps(), zypp::Dep::CONFLICTS, zypp::Dep::ENHANCES, zypp::Dep::FRESHENS, zypp::Dep::OBSOLETES, zypp::Dep::PREREQUIRES, zypp::Dep::PROVIDES, zypp::Dep::RECOMMENDS, zypp::Dep::REQUIRES, zypp::Dep::SUGGESTS, and zypp::Dep::SUPPLEMENTS.

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

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

Definition at line 366 of file PackagesParser.cc.

References collectPkg().


Member Data Documentation

PkgContent zypp::source::susetags::PackagesParser::_result

Definition at line 121 of file PackagesParser.cc.

Referenced by collectPkg(), and result().

Source_Ref zypp::source::susetags::PackagesParser::_source

Definition at line 123 of file PackagesParser.cc.

Referenced by collectDeps(), and consume().

SuseTagsImpl::Ptr zypp::source::susetags::PackagesParser::_sourceImpl

Definition at line 124 of file PackagesParser.cc.

Referenced by collectPkg(), and consume().

bool zypp::source::susetags::PackagesParser::_isPendingPkg

Definition at line 126 of file PackagesParser.cc.

Referenced by collectPkg(), and consume().

PkgImplPtr zypp::source::susetags::PackagesParser::_pkgImpl

Definition at line 127 of file PackagesParser.cc.

Referenced by collectPkg(), and consume().

SrcPkgImplPtr zypp::source::susetags::PackagesParser::_srcPkgImpl

Definition at line 128 of file PackagesParser.cc.

Referenced by collectPkg(), and consume().

NVRAD zypp::source::susetags::PackagesParser::_nvrad

Definition at line 129 of file PackagesParser.cc.

Referenced by collectPkg(), and consume().

bool zypp::source::susetags::PackagesParser::_isShared

Definition at line 130 of file PackagesParser.cc.

Referenced by collectPkg(), and consume().

Arch zypp::source::susetags::PackagesParser::_system_arch

Definition at line 132 of file PackagesParser.cc.

Referenced by collectPkg(), and PackagesParser().


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