OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
TerminalStream.h
Go to the documentation of this file.
1 //
2 // Class TerminalStream
3 // A stream of input tokens.
4 // The source of tokens is the terminal.
5 //
6 // Copyright (c) 2012-2019, Paul Scherrer Institut, Villigen PSI, Switzerland
7 // All rights reserved
8 //
9 // This file is part of OPAL.
10 //
11 // OPAL is free software: you can redistribute it and/or modify
12 // it under the terms of the GNU General Public License as published by
13 // the Free Software Foundation, either version 3 of the License, or
14 // (at your option) any later version.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with OPAL. If not, see <https://www.gnu.org/licenses/>.
18 //
19 #ifndef CLASSIC_TerminalStream_HH
20 #define CLASSIC_TerminalStream_HH
21 
22 #include "Parser/AbsFileStream.h"
23 
25 
26 public:
27 
29  TerminalStream(const char program[]);
30 
31  virtual ~TerminalStream();
32 
34  virtual bool fillLine();
35 
36 private:
37 
38  // Not implemented.
40  void operator=(const TerminalStream &);
41 };
42 
43 #endif // CLASSIC_TerminalStream_HH
A stream of input tokens.
Definition: AbsFileStream.h:31
virtual ~TerminalStream()
TerminalStream(const char program[])
Constructor.
void operator=(const TerminalStream &)
virtual bool fillLine()
Read next input line.
TerminalStream(const TerminalStream &)