Tanl Linguistic Pipeline

Parser::ParserSentPipe Struct Reference

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

#include <Parser.h>

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

List of all members.

Public Member Functions

 ParserSentPipe (Parser &parser, Enumerator< Sentence * > &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 of sentences.


Member Function Documentation

Sentence * Parser::ParserSentPipe::Current (  )  [virtual]
Returns:
the current element.

Implements Tanl::Enumerator< Sentence * >.

References Tanl::Enumerator< T >::Current(), and Parser::Parser::parse().

void Parser::ParserSentPipe::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::ParserSentPipe::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.