Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

moot::TokenReaderNative Class Reference

Class for native "cooked" text-format token input.

#include <mootTokenIO.h>

Inheritance diagram for moot::TokenReaderNative:

Inheritance graph
[legend]
Collaboration diagram for moot::TokenReaderNative:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Constructors etc.
Input Selection
Overrides
Diagnostics
New Methods

Public Attributes


Constructor & Destructor Documentation

moot::TokenReaderNative::TokenReaderNative int  fmt = tiofWellDone,
const std::string &  name = "TokenReaderNative"
[inline]
 

Default constructor : bitmask of TokenIOFormat flags. : name of input source, for diagnostics.

virtual moot::TokenReaderNative::~TokenReaderNative void   )  [inline, virtual]
 

Default destructor


Member Function Documentation

virtual size_t moot::TokenReaderNative::column_number size_t  n  )  [inline, virtual]
 

Set current column number.

Reimplemented from moot::TokenReader.

virtual size_t moot::TokenReaderNative::column_number void   )  [inline, virtual]
 

Get current column number.

Reimplemented from moot::TokenReader.

virtual void moot::TokenReaderNative::from_mstream mootio::mistream mis  )  [virtual]
 

Select input from a mootio::mstream object.

Reimplemented from moot::TokenReader.

virtual mootTokenType moot::TokenReaderNative::get_sentence void   )  [virtual]
 

Read in next sentence. On completion, current sentence (if any) is in *tr_sentence. Descendants may override this method for sentence-wise input.

Reimplemented from moot::TokenReader.

virtual mootTokenType moot::TokenReaderNative::get_token void   )  [virtual]
 

Get the next token from the buffer. On completion, current token (if any) is in *tr_token. Descendants must override this method.

Reimplemented from moot::TokenReader.

bool moot::TokenReaderNative::input_is_tagged bool  is_tagged  )  [inline]
 

Set value of the 'tagged' flag: whether we think the input has been tagged with initial best-tags.

bool moot::TokenReaderNative::input_is_tagged void   )  [inline]
 

Get value of the 'tagged' flag : whether we think the input has been tagged with initial best-tags.

virtual size_t moot::TokenReaderNative::line_number size_t  n  )  [inline, virtual]
 

Set current line number.

Reimplemented from moot::TokenReader.

virtual size_t moot::TokenReaderNative::line_number void   )  [inline, virtual]
 

Get current line number.

Reimplemented from moot::TokenReader.


Member Data Documentation

mootTokenLexer moot::TokenReaderNative::lexer
 

The underlying lexer (does the dirty work).

mootSentence moot::TokenReaderNative::trn_sentence
 

Default construction buffer for get_sentence()


The documentation for this class was generated from the following file:
Generated on Mon Jun 27 13:05:29 2005 for libmoot by  doxygen 1.3.8-20040913