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