12#ifndef ZYPP_PARSER_XML_READER_H 
   13#define ZYPP_PARSER_XML_READER_H 
   18#include <zypp-core/base/InputStream> 
  100              const Validate & validate_r = Validate::none() );
 
  129      { 
return( 
_node.readState() == XML_TEXTREADER_MODE_CLOSED ); }
 
 
  146        if ( 
_node.isAttribute() )
 
  150            if ( ! fnc_r( *
this ) )
 
 
  159        if ( 
_node.isAttribute() && ! 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 );
 
 
XmlString nodeText()
If the current node is not empty, advances the reader to the next node, and returns the value.
Reader(const InputStream &stream_r, const Validate &validate_r=Validate::none())
Ctor.
xmlTextReader based interface to Reader's current node.
bool foreachNodeAttribute(const ProcessNode &fnc_r)
const Node * operator->() const
function< bool(Reader &)> ProcessNode
Reader(const InputStream &stream_r, const Validate &validate_r=Validate::none())
Ctor.
const Node & operator*() const
bool foreachNodeOrAttribute(const ProcessNode &fnc_r)
bool nextNodeOrAttribute()
bool foreachNode(const ProcessNode &fnc_r)
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Easy-to use interface to the ZYPP dependency resolver.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
xmlTextReader document validation.