zypp::source::susetags::ProductMetadataParser Struct Reference

Tagfile parser. More...

#include <ProductMetadataParser.h>

List of all members.

Public Member Functions

 ProductMetadataParser ()
virtual ~ProductMetadataParser ()
void parse (const Pathname &file_r, Source_Ref source_r)
void parseLine (const std::string &key, const std::string &modif, const std::string &value, std::map< std::string, std::list< std::string > > &container)
void parseLine (const std::string &key, const std::string &lang, const std::string &value, TranslatedText &container)
void parseLine (const std::string &key, const std::string &modif, const std::string &value, std::map< std::string, std::string > &container)
void parseLine (const std::string &key, const std::string &value, std::list< std::string > &container)
void parseDependencies (const std::string &key, const std::string &value, zypp::Dependencies &deps, zypp::Dep deptag)
void parseFileCheckSum (const std::string &key, const std::string &value, std::map< std::string, CheckSum > &container)

Public Attributes

Product::Ptr result
detail::ResImplTraits< SuseTagsProductImpl
>::Ptr 
prodImpl
bool volatile_content


Detailed Description

Tagfile parser.

Definition at line 41 of file ProductMetadataParser.h.


Constructor & Destructor Documentation

zypp::source::susetags::ProductMetadataParser::ProductMetadataParser (  ) 

Definition at line 59 of file ProductMetadataParser.cc.

References prodImpl.

virtual zypp::source::susetags::ProductMetadataParser::~ProductMetadataParser (  )  [inline, virtual]

Definition at line 46 of file ProductMetadataParser.h.


Member Function Documentation

void zypp::source::susetags::ProductMetadataParser::parse ( const Pathname &  file_r,
Source_Ref  source_r 
)

Definition at line 69 of file ProductMetadataParser.cc.

References zypp::Source_Ref::alias(), zypp::Arch_noarch, zypp::Arch::asString(), zypp::Url::asString(), zypp::Source_Ref::baseSource(), zypp::Dep::CONFLICTS, zypp::Dep::ENHANCES, zypp::Rel::EQ, ERR, zypp::str::getline(), INT, zypp::detail::makeResolvableFromImpl(), MIL, zypp::Exception::msg(), zypp::Dep::OBSOLETES, zypp::CapFactory::parse(), parseDependencies(), parseFileCheckSum(), parseLine(), zypp::Dep::PREREQUIRES, prodImpl, zypp::Dep::PROVIDES, zypp::Dep::RECOMMENDS, zypp::source::susetags::replace_variables(), zypp::Dep::REQUIRES, result, zypp::url::split(), zypp::Dep::SUGGESTS, zypp::Dep::SUPPLEMENTS, url, zypp::Source_Ref::url(), volatile_content, WAR, and ZYPP_THROW.

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

void zypp::source::susetags::ProductMetadataParser::parseLine ( const std::string &  key,
const std::string &  modif,
const std::string &  value,
std::map< std::string, std::list< std::string > > &  container 
)

Referenced by parse().

void zypp::source::susetags::ProductMetadataParser::parseLine ( const std::string &  key,
const std::string &  lang,
const std::string &  value,
TranslatedText container 
)

Definition at line 333 of file ProductMetadataParser.cc.

References zypp::TranslatedText::setText().

void zypp::source::susetags::ProductMetadataParser::parseLine ( const std::string &  key,
const std::string &  modif,
const std::string &  value,
std::map< std::string, std::string > &  container 
)

void zypp::source::susetags::ProductMetadataParser::parseLine ( const std::string &  key,
const std::string &  value,
std::list< std::string > &  container 
)

void zypp::source::susetags::ProductMetadataParser::parseDependencies ( const std::string &  key,
const std::string &  value,
zypp::Dependencies deps,
zypp::Dep  deptag 
)

Referenced by parse().

void zypp::source::susetags::ProductMetadataParser::parseFileCheckSum ( const std::string &  key,
const std::string &  value,
std::map< std::string, CheckSum > &  container 
)

Definition at line 407 of file ProductMetadataParser.cc.

References MIL, zypp::url::split(), and ZYPP_THROW.

Referenced by parse().


Member Data Documentation

Product::Ptr zypp::source::susetags::ProductMetadataParser::result

Definition at line 43 of file ProductMetadataParser.h.

Referenced by parse(), and zypp::source::susetags::SuseTagsImpl::readContentFile().

detail::ResImplTraits<SuseTagsProductImpl>::Ptr zypp::source::susetags::ProductMetadataParser::prodImpl

Definition at line 44 of file ProductMetadataParser.h.

Referenced by parse(), ProductMetadataParser(), and zypp::source::susetags::SuseTagsImpl::readContentFile().

bool zypp::source::susetags::ProductMetadataParser::volatile_content

Definition at line 78 of file ProductMetadataParser.h.

Referenced by parse().


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