]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/TCharStream.hh
Initial revision
[helm.git] / helm / DEVEL / mathml_editor / src / TCharStream.hh
diff --git a/helm/DEVEL/mathml_editor/src/TCharStream.hh b/helm/DEVEL/mathml_editor/src/TCharStream.hh
new file mode 100644 (file)
index 0000000..47b01ff
--- /dev/null
@@ -0,0 +1,20 @@
+
+#ifndef __TCharStream_hh__
+#define __TCharStream_hh__
+
+#include "dom.hh"
+
+class TCharStream
+{
+public:
+  TCharStream(void) { };
+  virtual ~TCharStream() { };
+
+  virtual bool  more(void) const = 0;
+  virtual TChar look(void) const = 0;
+  virtual TChar next(void) = 0;
+
+  class EmptyStream { };
+};
+
+#endif // __TCharStream_hh__