zypp::source::susetags Namespace Reference


Classes

struct  MediaMetadataParser
 Tagfile parser. More...
struct  MediaPatchesMetadataParser
 Tagfile parser. More...
struct  PackagesLangParser
class  PackageDiskUsageParser
struct  PackagesParser
struct  PatternTagFileParser
 Tagfile parser. More...
struct  ProductMetadataParser
 Tagfile parser. More...
struct  SelectionTagFileParser
 Tagfile parser. More...
struct  NullParseProgress
struct  SourceEventHandler
class  SuseTagsProber
 Functor to probe. More...
struct  SuseTagsPackageImplData
class  SuseTagsImpl
struct  SuseTagsPackageImpl
struct  SuseTagsPatternImpl
struct  SuseTagsProductImpl
struct  SuseTagsSelectionImpl
struct  SuseTagsSrcPackageImpl

Typedefs

typedef detail::ResImplTraits<
SuseTagsPackageImpl >::Ptr 
PkgImplPtr
typedef detail::ResImplTraits<
SuseTagsSrcPackageImpl
>::Ptr 
SrcPkgImplPtr
typedef std::map< NVRAD, PkgImplPtrPkgContent
typedef std::map< NVRAD, DiskUsagePkgDiskUsage

Functions

static void dumpRegexpResults (const boost::smatch &what)
void parsePackagesLang (parser::ParserProgress::Ptr progress, SuseTagsImpl::Ptr sourceimpl, const Pathname &file_r, const Locale &lang_r, const PkgContent &content_r)
PkgContent parsePackages (parser::ParserProgress::Ptr progress, Source_Ref source_r, SuseTagsImpl::Ptr, const Pathname &file_r)
PkgDiskUsage parsePackagesDiskUsage (parser::ParserProgress::Ptr progress, const Pathname &file_r)
Pattern::Ptr parsePattern (parser::ParserProgress::Ptr progress, Source_Ref source_r, const Pathname &file_r)
 returns null if parse fails
static void replace_variables (std::string &text)
Selection::Ptr parseSelection (parser::ParserProgress::Ptr progress, Source_Ref source_r, const Pathname &file_r)
 IMPL_PTR_TYPE (SuseTagsImpl)
 DEFINE_PTR_TYPE (SuseTagsImpl)


Typedef Documentation

typedef detail::ResImplTraits<SuseTagsPackageImpl>::Ptr zypp::source::susetags::PkgImplPtr

Definition at line 38 of file PackagesParser.h.

typedef detail::ResImplTraits<SuseTagsSrcPackageImpl>::Ptr zypp::source::susetags::SrcPkgImplPtr

Definition at line 39 of file PackagesParser.h.

typedef std::map<NVRAD, PkgImplPtr> zypp::source::susetags::PkgContent

Definition at line 40 of file PackagesParser.h.

typedef std::map<NVRAD, DiskUsage> zypp::source::susetags::PkgDiskUsage

Definition at line 41 of file PackagesParser.h.


Function Documentation

static void zypp::source::susetags::dumpRegexpResults ( const boost::smatch &  what  )  [static]

Definition at line 41 of file MediaMetadataParser.cc.

References DBG.

Referenced by zypp::source::susetags::MediaMetadataParser::parse().

void zypp::source::susetags::parsePackagesLang ( parser::ParserProgress::Ptr  progress,
SuseTagsImpl::Ptr  sourceimpl,
const Pathname file_r,
const Locale &  lang_r,
const PkgContent &  content_r 
)

Deprecated:
Just temporary.
Exceptions:
ParseException and others.

Definition at line 118 of file PackagesLangParser.cc.

References ERR, MIL, zypp::parser::tagfile::TagFileParser::parse(), and ZYPP_CAUGHT.

Referenced by zypp::source::susetags::SuseTagsImpl::providePackages().

PkgContent zypp::source::susetags::parsePackages ( parser::ParserProgress::Ptr  progress,
Source_Ref  source_r,
SuseTagsImpl::Ptr  ,
const Pathname file_r 
)

Deprecated:
Just temporary.
Exceptions:
ParseException and others.

Definition at line 375 of file PackagesParser.cc.

References zypp::Source_Ref::alias(), zypp::Url::asString(), ERR, MIL, zypp::parser::tagfile::TagFileParser::parse(), zypp::source::susetags::PackagesParser::result(), zypp::Source_Ref::url(), ZYPP_CAUGHT, and ZYPP_RETHROW.

Referenced by zypp::source::susetags::SuseTagsImpl::providePackages().

PkgDiskUsage zypp::source::susetags::parsePackagesDiskUsage ( parser::ParserProgress::Ptr  progress,
const Pathname file_r 
)

Definition at line 392 of file PackagesParser.cc.

References ERR, MIL, zypp::parser::tagfile::TagFileParser::parse(), zypp::source::susetags::PackageDiskUsageParser::result, ZYPP_CAUGHT, and ZYPP_RETHROW.

Referenced by zypp::source::susetags::SuseTagsImpl::providePackages().

Pattern::Ptr zypp::source::susetags::parsePattern ( parser::ParserProgress::Ptr  progress,
Source_Ref  source_r,
const Pathname &  file_r 
)

returns null if parse fails

Definition at line 67 of file PatternTagFileParser.cc.

References ERR, MIL, zypp::parser::tagfile::TagFileParser::parse(), zypp::source::susetags::PatternTagFileParser::patImpl, zypp::source::susetags::PatternTagFileParser::result, and ZYPP_CAUGHT.

Referenced by zypp::source::susetags::SuseTagsImpl::providePatterns().

static void zypp::source::susetags::replace_variables ( std::string &  text  )  [static]

Definition at line 49 of file ProductMetadataParser.cc.

Referenced by zypp::source::susetags::ProductMetadataParser::parse().

Selection::Ptr zypp::source::susetags::parseSelection ( parser::ParserProgress::Ptr  progress,
Source_Ref  source_r,
const Pathname &  file_r 
)

Definition at line 45 of file SelectionTagFileParser.cc.

References zypp::Source_Ref::alias(), zypp::Url::asString(), ERR, MIL, zypp::Source_Ref::url(), and ZYPP_CAUGHT.

Referenced by zypp::source::susetags::SuseTagsImpl::provideSelections().

zypp::source::susetags::IMPL_PTR_TYPE ( SuseTagsImpl   ) 

zypp::source::susetags::DEFINE_PTR_TYPE ( SuseTagsImpl   ) 


Generated on Tue Nov 28 16:49:40 2006 for zypp by  doxygen 1.5.0