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)
static bool translation_needed (const Locale &trans)
static std::string read_line_from_file (const Pathname &file)
static void write_line_to_file (const Pathname &file, const std::string &line)
 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 zypp::filesystem::Pathname::asString(), ERR, MIL, zypp::parser::tagfile::TagFileParser::parse(), and ZYPP_CAUGHT.

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 379 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 396 of file PackagesParser.cc.

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

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().

static bool zypp::source::susetags::translation_needed const Locale &  trans  )  [static]
 

Definition at line 92 of file SuseTagsImpl.cc.

References DBG.

static std::string zypp::source::susetags::read_line_from_file const Pathname file  )  [static]
 

Definition at line 109 of file SuseTagsImpl.cc.

References zypp::filesystem::Pathname::asString(), and zypp::iostr::getline().

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

static void zypp::source::susetags::write_line_to_file const Pathname file,
const std::string &  line
[static]
 

Definition at line 126 of file SuseTagsImpl.cc.

References zypp::filesystem::Pathname::asString().

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

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

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


Generated on Thu Apr 24 02:25:14 2008 for zypp by  doxygen 1.4.6