#include <YUMOtherParser.h>
Inheritance diagram for YUM::YUMOtherParser:

Public Member Functions | |
| YUMOtherParser (std::istream &is, const std::string &baseUrl) | |
| YUMOtherParser () | |
| YUMOtherParser (YUMOtherDataPtr &entry) | |
| virtual | ~YUMOtherParser () |
Private Member Functions | |
| virtual bool | isInterested (const xmlNodePtr nodePtr) |
| virtual YUMOtherDataPtr | process (const xmlTextReaderPtr reader) |
Private Attributes | |
| LibXMLHelper | _helper |
for (YUMOtherParser iter(anIstream, baseUrl), iter != YUMOtherParser.end(), // or: iter() != 0, or ! iter.atEnd() ++iter) { doSomething(*iter) }
The iterator owns the pointer (i.e., caller must not delete it) until the next ++ operator is called. At this time, it will be destroyed (and a new ENTRYTYPE is created.)
If the input is fundamentally flawed so that it makes no sense to continue parsing, XMLNodeIterator will log it and consider the input as finished. You can query the exit status with errorStatus().
|
||||||||||||
|
Constructor.
|
|
|
|
|
|
|
|
|
Destructor. |
|
|
decides if the parser is interested in the node (and subtree) of an element.
Implements XMLNodeIterator< YUMOtherDataPtr >. |
|
|
creates a new object from the xml subtree
Implements XMLNodeIterator< YUMOtherDataPtr >. |
|
|
converts the xml stuff to c++ stuff and filters the right namespaces |
1.4.4