ANTLR Support Libraries 2.7.1+
antlr
CharBuffer.hpp
Go to the documentation of this file.
1
#ifndef INC_CharBuffer_hpp__
2
#define INC_CharBuffer_hpp__
3
4
/* ANTLR Translator Generator
5
* Project led by Terence Parr at http://www.jGuru.com
6
* Software rights: http://www.antlr.org/license.html
7
*
8
* $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/CharBuffer.hpp#2 $
9
*/
10
11
#include <
antlr/config.hpp
>
12
13
#include <istream>
14
15
#include <
antlr/InputBuffer.hpp
>
16
17
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
18
namespace
antlr
{
19
#endif
20
35
class
ANTLR_API
CharBuffer
:
public
InputBuffer
{
36
public
:
38
CharBuffer
(
ANTLR_USE_NAMESPACE
(std)istream& input );
40
int
getChar();
41
42
protected
:
43
// character source
44
ANTLR_USE_NAMESPACE
(std)istream&
input
;
45
46
private
:
47
// NOTE: Unimplemented
48
CharBuffer
(
const
CharBuffer
& other);
49
CharBuffer
& operator=(
const
CharBuffer
& other);
50
};
51
52
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
53
}
54
#endif
55
56
#endif //INC_CharBuffer_hpp__
config.hpp
CharBuffer::input
std ::istream & input
Definition:
CharBuffer.hpp:44
CharBuffer
Definition:
CharBuffer.hpp:35
InputBuffer.hpp
InputBuffer
Definition:
InputBuffer.hpp:31
ANTLR_API
#define ANTLR_API
Definition:
config.hpp:22
antlr
Definition:
ANTLRException.hpp:15
ANTLR_USE_NAMESPACE
#define ANTLR_USE_NAMESPACE(_x_)
Definition:
config.hpp:18
Generated by
1.8.17