Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

grammarbase.h

Go to the documentation of this file.
00001 /***************************************************************************
00002     grammarbase.h  -  Definition of GrammarBase class.
00003                              -------------------
00004     begin                : June 21 2002
00005     copyright            : (C) 2003 by Vojtìch Toman
00006     email                : vtoman@lit.cz
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00025 #ifndef GRAMMARBASE_H
00026 #define GRAMMARBASE_H
00027 
00028 
00029 #include "defs.h"
00030 #include "options.h"
00031 #include "grammardefs.h"
00032 #include "contextbase.h"
00033 #include "iodevice.h"
00034 #include "textcodec.h"
00035 
00041 class GrammarBase : public UserOfTextCodec
00042 {
00043 public:
00045   GrammarBase(void) : UserOfTextCodec() {}
00046 
00047 
00053   virtual ~GrammarBase(void) {}
00054 
00055 
00062   virtual void setAlphabetBaseSize(size_t size) = 0;
00069   virtual void append(TerminalValue value) = 0;
00070 
00071 
00078   virtual void flush(void) = 0;
00079 
00080 
00086   virtual void print(void) = 0;
00087 
00088 
00094   virtual void reconstructInput(void) = 0;
00095 
00096 
00097 };
00098 
00099 
00100 #endif //GRAMMARBASE_H
00101 
00102 
00103 

Generated on Wed Feb 5 10:43:01 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002