libzypp  13.10.6
zypp::parser::ProductNode Struct Reference
Inheritance diagram for zypp::parser::ProductNode:
zypp::xml::ParseDef

Public Member Functions

 ProductNode (ProductFileData::Impl &pdata_r)
 
void doneUpgrade (const xml::Node &_node)
 collect _upgrade More...
 
void doneLocalizedDefault (const xml::Node &_node, std::string &store_r)
 collect localized data More...
 
void done (const xml::Node &_node)
 finaly More...
 
- Public Member Functions inherited from zypp::xml::ParseDef
 ParseDef (const std::string &name_r, Mode mode_r)
 
 ParseDef (const std::string &name_r, Mode mode_r, const shared_ptr< ParseDefConsume > &target_r)
 
virtual ~ParseDef ()
 
const std::string & name () const
 
Mode mode () const
 
bool isOptional () const
 
bool isMandatory () const
 
bool singleDef () const
 
bool multiDef () const
 
unsigned visited () const
 
ParseDefaddNode (ParseDef &subnode_r)
 Add subnode definition. More...
 
ParseDefaddNode (const std::string &name_r, Mode mode_r)
 
ParseDefaddNode (const std::string &name_r, Mode mode_r, const shared_ptr< ParseDefConsume > &target_r)
 
ParseDefoperator() (ParseDef &subnode_r)
 Add subnode definition. More...
 
ParseDefoperator() (const std::string &name_r, Mode mode_r)
 
ParseDefoperator() (const std::string &name_r, Mode mode_r, const shared_ptr< ParseDefConsume > &target_r)
 
ParseDef operator[] (const std::string &name_r)
 Get subnode by name. More...
 
void setConsumer (const shared_ptr< ParseDefConsume > &target_r)
 Set data consumer. More...
 
void setConsumer (ParseDefConsume *allocatedTarget_r)
 Set data consumer. More...
 
void setConsumer (ParseDefConsume &target_r)
 Set data consumer. More...
 
void cancelConsumer ()
 Unset data consumer. More...
 
shared_ptr< ParseDefConsumegetConsumer () const
 Get data consumer. More...
 
void take (Reader &reader_r)
 Parse the node. More...
 

Private Attributes

ProductFileData::Impl_pdata
 
std::string _version
 
std::string _release
 
std::string _ttext
 
std::string _tlocale
 
ProductFileData::Upgrade::Impl _upgrade
 

Additional Inherited Members

- Public Types inherited from zypp::xml::ParseDef
enum  Mode { OPTIONAL = Traits::BIT_OPTIONAL | Traits::BIT_ONCE, MANDTAORY = Traits::BIT_MANDTAORY | Traits::BIT_ONCE, MULTIPLE_OPTIONAL = Traits::BIT_OPTIONAL | Traits::BIT_MULTIPLE, MULTIPLE_MANDTAORY = Traits::BIT_MANDTAORY | Traits::BIT_MULTIPLE }
 
- Static Public Attributes inherited from zypp::xml::ParseDef
static bool _debug = false
 

Detailed Description

Definition at line 136 of file ProductFileReader.cc.

Constructor & Destructor Documentation

zypp::parser::ProductNode::ProductNode ( ProductFileData::Impl pdata_r)
inline

Definition at line 138 of file ProductFileReader.cc.

Member Function Documentation

void zypp::parser::ProductNode::doneUpgrade ( const xml::Node _node)
inline

collect _upgrade

Definition at line 182 of file ProductFileReader.cc.

void zypp::parser::ProductNode::doneLocalizedDefault ( const xml::Node _node,
std::string &  store_r 
)
inline

collect localized data

Definition at line 189 of file ProductFileReader.cc.

void zypp::parser::ProductNode::done ( const xml::Node _node)
inline

finaly

Definition at line 197 of file ProductFileReader.cc.

Member Data Documentation

ProductFileData::Impl& zypp::parser::ProductNode::_pdata
private

Definition at line 203 of file ProductFileReader.cc.

std::string zypp::parser::ProductNode::_version
private

Definition at line 205 of file ProductFileReader.cc.

std::string zypp::parser::ProductNode::_release
private

Definition at line 206 of file ProductFileReader.cc.

std::string zypp::parser::ProductNode::_ttext
private

Definition at line 208 of file ProductFileReader.cc.

std::string zypp::parser::ProductNode::_tlocale
private

Definition at line 209 of file ProductFileReader.cc.

ProductFileData::Upgrade::Impl zypp::parser::ProductNode::_upgrade
private

Definition at line 211 of file ProductFileReader.cc.


The documentation for this struct was generated from the following file: