Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include
In directory sc8-pr-cvs1:/tmp/cvs-serv4058/libs/libsxmlstream/include
Modified Files:
sxmlstream.hxx
Log Message:
A bit updated libsxmlstream (still broken)
Index: sxmlstream.hxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include/sxmlstream.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sxmlstream.hxx 25 Jan 2003 21:51:28 -0000 1.2
+++ sxmlstream.hxx 27 Jan 2003 06:07:41 -0000 1.3
@@ -21,19 +21,23 @@
#ifndef _LIBSXMLSTREAM_SXMLSTREAM_HXX_
#define _LIBSXMLSTREAM_SXMLSTREAM_HXX_
-#include <stack>
+#include <queue>
#include <sxml.hxx>
using namespace std;
class SXmlStream
{
- queue<SXml,deque<SXml> > * m_queue;
+ queue<SXml> * m_queue;
public:
SXmlStream();
~SXmlStream();
+ bool queueIsEmpty();
+ SXml pop();
+ void push(SXml e);
+
};
class SXmlBinaryStream: public SXmlStream
@@ -56,7 +60,7 @@
~SXmlTextStream();
friend ostream& operator<<(ostream&,
- const SXmlTextStream&);
+ SXmlTextStream&);
};
|