12#ifndef ZYPP_PARSER_XML_READER_H
13#define ZYPP_PARSER_XML_READER_H
17#include <zypp/base/NonCopyable.h>
18#include <zypp-core/base/InputStream>
19#include <zypp/base/Function.h>
150 if ( ! fnc_r( *
this ) )
163 if ( ! fnc_r( *
this ) )
174 if ( ! fnc_r( *
this ) )
182 bool seekToNode(
int depth_r,
const std::string & name_r );
185 bool seekToEndNode(
int depth_r,
const std::string & name_r );
xmlTextReader based interface to Reader's current node.
bool isAttribute() const
Whether this is an Attribute node.
ReadState readState() const
Gets the read state of the reader.
xmlTextReader based interface to iterate xml streams.
bool foreachNodeAttribute(ProcessNode fnc_r)
bool seekToEndNode(int depth_r, const std::string &name_r)
XmlString nodeText()
If the current node is not empty, advances the reader to the next node, and returns the value.
const Node * operator->() const
bool foreachNodeOrAttribute(ProcessNode fnc_r)
bool seekToNode(int depth_r, const std::string &name_r)
function< bool(Reader &)> ProcessNode
const Node & operator*() const
bool foreachNode(ProcessNode fnc_r)
bool nextNodeOrAttribute()
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Easy-to use interface to the ZYPP dependency resolver.
xmlTextReader document validation.