Tanl Linguistic Pipeline

Tanl::SST::SSTPipe Struct Reference

Pipe connected to a sentence enumerator. More...

#include <SST.h>

Inheritance diagram for Tanl::SST::SSTPipe:
Tanl::Enumerator< std::vector< Token * > * > Tanl::Disposable Tanl::Disposable

List of all members.

Public Member Functions

 SSTPipe (SST &sst, Enumerator< std::vector< Token * > * > &se)
 Create a pipe pulling from a string Enumerator se.
bool MoveNext ()
 Advances to the next sentence.
std::vector< Token * > * Current ()

Detailed Description

Pipe connected to a sentence enumerator.


Constructor & Destructor Documentation

Tanl::SST::SSTPipe::SSTPipe ( SST sst,
Enumerator< std::vector< Token * > * > &  se 
)

Create a pipe pulling from a string Enumerator se.


Member Function Documentation

std::vector< Token * > * Tanl::SST::SSTPipe::Current (  )  [virtual]
bool Tanl::SST::SSTPipe::MoveNext (  )  [virtual]

Advances to the next sentence.

Returns:
true if there is another item available.

Implements Tanl::Enumerator< std::vector< Token * > * >.

References Tanl::Enumerator< T >::Current(), Tanl::Enumerator< T >::MoveNext(), and Tanl::SST::SstEventStream::reset().


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.