Go to the documentation of this file.
12 #ifndef ZYPP_PARSER_XML_READER_H
13 #define ZYPP_PARSER_XML_READER_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 );
203 #endif // ZYPP_PARSER_XML_READER_H
xmlTextReader based interface to iterate xml streams.
ReadState readState() const
Gets the read state of the reader.
bool seekToNode(int depth_r, const std::string &name_r)
bool foreachNode(ProcessNode fnc_r)
bool foreachNodeOrAttribute(ProcessNode fnc_r)
const Node * operator->() const
bool seekToEndNode(int depth_r, const std::string &name_r)
bool isAttribute() const
Whether this is an Attribute node.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
function< bool(Reader &)> ProcessNode
bool foreachNodeAttribute(ProcessNode fnc_r)
Easy-to use interface to the ZYPP dependency resolver.
bool nextNodeOrAttribute()
XmlString nodeText()
If the current node is not empty, advances the reader to the next node, and returns the value.
xmlTextReader document validation.
xmlTextReader based interface to Reader's current node.
const Node & operator*() const
Reader(const InputStream &stream_r, const Validate &validate_r=Validate::none())
Ctor.