Tanl Linguistic Pipeline

Parser::ParserPipe Struct Reference

A pipe that parses sentences from a stream. More...

#include <Parser.h>

Inheritance diagram for Parser::ParserPipe:
Tanl::Enumerator< Sentence * > Tanl::Disposable Tanl::Disposable

List of all members.

Public Member Functions

 ParserPipe (Parser &parser, Enumerator< std::vector< Token * > * > &tve)
bool MoveNext ()
 Advances to the next element of the collection.
SentenceCurrent ()
void Dispose ()
 This is to be called by SWIG when releasing the object.

Detailed Description

A pipe that parses sentences from a stream.


Member Function Documentation

Sentence * Parser::ParserPipe::Current (  )  [virtual]
void Parser::ParserPipe::Dispose (  )  [virtual]

This is to be called by SWIG when releasing the object.

Release the parser object and then call destructor.

Reimplemented from Tanl::Disposable.

bool Parser::ParserPipe::MoveNext (  )  [virtual]

Advances to the next element of the collection.

Returns:
true if there is another item available.

Implements Tanl::Enumerator< Sentence * >.

References Tanl::Enumerator< T >::MoveNext().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.