Tanl Linguistic Pipeline

Tanl::SentenceQueueReader Class Reference
[Dependency Parser]

Reads sentences from a queue in memory. More...

#include <SentenceReader.h>

Inheritance diagram for Tanl::SentenceQueueReader:
Tanl::Enumerator< Sentence * > Tanl::Disposable Tanl::Disposable

List of all members.

Public Member Functions

 SentenceQueueReader (std::deque< Sentence * > &vs)
bool MoveNext ()
 Advances to the next element of the collection.
SentenceCurrent ()
void reset ()

Detailed Description

Reads sentences from a queue in memory.


Member Function Documentation

Sentence* Tanl::SentenceQueueReader::Current (  )  [inline, virtual]
Returns:
the current element.

Implements Tanl::Enumerator< Sentence * >.

bool Tanl::SentenceQueueReader::MoveNext (  )  [inline, virtual]

Advances to the next element of the collection.

Returns:
true if there is another item available.

Implements Tanl::Enumerator< Sentence * >.


The documentation for this class was generated from the following file:
 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.