Download NHK English news podcast automatically. XML Parser "spxml" is used. This application requires mpod mother board. See also http://mbed.org/users/geodenx/notebook/mpod/
Dependencies: BlinkLed HTTPClient EthernetInterface FatFileSystemCpp MSCFileSystem spxml mbed-rtos mbed
Fork of mpod_nhk_english by
Download NHK English news podcast automatically.
XML Parser "spxml" is used.
This application requires mpod mother board.
See also http://mbed.org/users/geodenx/notebook/mpod/
Diff: spxml/spdomiterator.hpp
- Revision:
- 8:a9541e8897f5
- Parent:
- 7:ad9fcf0e1bc5
--- a/spxml/spdomiterator.hpp Sat Sep 01 04:09:48 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -/* - * Copyright 2007 Stephen Liu - * For license terms, see the file COPYING along with this library. - */ - -#ifndef __spdomiterator_hpp__ -#define __spdomiterator_hpp__ - -class SP_XmlNode; - -/// DFS iterator -- Depth First Search -class SP_DomIterator { -public: - /// node as tree node, iterator this tree by DFS - SP_DomIterator( const SP_XmlNode * node ); - ~SP_DomIterator(); - - /// @return NULL : reach the end - const SP_XmlNode * getNext(); - -private: - - SP_DomIterator( SP_DomIterator & ); - SP_DomIterator & operator=( SP_DomIterator & ); - - const SP_XmlNode * mRoot; - const SP_XmlNode * mCurrent; -}; - -#endif