linepars.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# linepars.h

    00001
    00002
    00003 /*
    00004 Program                 LINE_PARS.H
    00005 Purpose                 Reads lines
    00006 */
    00007
    00008 #ifndef Line_Parser_H
    00009 #define Line_Parser_H
    00010
    00011 #ifdef __GNUG__
    00012 #pragma interface
    00013 #endif
    00014
    00015 #include <ctype.h>
    00016 #include <fstream.h>
    00017 #include <iostream.h>
    00018 #include <stdio.h>
    00019 #include <stdlib.h>
    00020 #include "cparser.h"
    00021
    00023
    00027 class Line_Parser : public CommandParser , public ifstream
    00028 {
    00029         public:
    00031                 Line_Parser(AliasList* aliaslist,char* the_file);
    00033                 ~Line_Parser();
    00035                 bool     ReadItem(char* type);
    00037                 int              GetLineNumber(){return _linenumber;};
    00039                 const wxString* GetValue(int i);
    00040
    00042                 char*            GetFileName(){return _line_file;}
    00043
    00045                 void             Reset();
    00046
    00048                 bool     GetNextCommand();
    00049
    00050         protected:
    00052                 void IncC();
    00054                 char PeekNextC();
    00055
    00057       int           _linenumber;
    00059                 char*       _line_file;
    00061                 const wxString*  _keyword;
    00063                 bool     _back;
    00064 };
    00065 #endif
    00066

linepars.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page