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 48 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 58 of file ProductMetadataParser.cc.

References zypp::Source_Ref::alias(), zypp::Url::asString(), zypp::filesystem::Pathname::asString(), zypp::iostr::getline(), prodImpl, zypp::str::split(), url, zypp::Source_Ref::url(), volatile_content, 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
 

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

Definition at line 258 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
 

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

Definition at line 323 of file ProductMetadataParser.cc.

References zypp::str::split(), and ZYPP_THROW.


Member Data Documentation

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

Definition at line 43 of file ProductMetadataParser.h.

Referenced by 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(), and zypp::source::susetags::SuseTagsImpl::readContentFile().


The documentation for this struct was generated from the following files:
Generated on Thu Jul 6 00:07:34 2006 for zypp by  doxygen 1.4.6