OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
TerminalStream.h
Go to the documentation of this file.
1 #ifndef CLASSIC_TerminalStream_HH
2 #define CLASSIC_TerminalStream_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: TerminalStream.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: TerminalStream
13 //
14 // ------------------------------------------------------------------------
15 // Class category: Parser
16 // ------------------------------------------------------------------------
17 //
18 // $Date: 2000/03/27 09:32:37 $
19 // $Author: fci $
20 //
21 // ------------------------------------------------------------------------
22 
23 #include "Parser/AbsFileStream.h"
24 
25 
26 // Class TerminalStream
27 // ------------------------------------------------------------------------
29 // The source of tokens is the terminal.
30 
32 
33 public:
34 
36  // The C-style string program name may be used in the readline package.
37  TerminalStream(const char program[]);
38 
39  virtual ~TerminalStream();
40 
42  virtual bool fillLine();
43 
44 private:
45 
46  // Not implemented.
48  void operator=(const TerminalStream &);
49 };
50 
51 #endif // CLASSIC_TerminalStream_HH
A stream of input tokens.
void operator=(const TerminalStream &)
virtual bool fillLine()
Read next input line.
A stream of input tokens.
Definition: AbsFileStream.h:31
virtual ~TerminalStream()
TerminalStream(const char program[])
Constructor.