Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
reranker::StreamInitializer Class Referenceabstract

An interface that allows for a primitive, Factory-constructible object or vector thereof to be initialized based on the next token or tokens from a token stream. More...

#include <stream-init.H>

Inheritance diagram for reranker::StreamInitializer:
reranker::Initializer< T > reranker::Initializer< bool > reranker::Initializer< double > reranker::Initializer< int > reranker::Initializer< string > reranker::Initializer< vector< T > >

Public Member Functions

 StreamInitializer ()
 
virtual ~StreamInitializer ()
 
virtual void Init (StreamTokenizer &st, Environment *env=NULL)=0
 

Detailed Description

An interface that allows for a primitive, Factory-constructible object or vector thereof to be initialized based on the next token or tokens from a token stream.

The data member may be an int, a double, a string or a shared_ptr to another Factory-constructible type.

Definition at line 67 of file stream-init.H.

Constructor & Destructor Documentation

reranker::StreamInitializer::StreamInitializer ( )
inline

Definition at line 69 of file stream-init.H.

virtual reranker::StreamInitializer::~StreamInitializer ( )
inlinevirtual

Definition at line 70 of file stream-init.H.

Member Function Documentation

virtual void reranker::StreamInitializer::Init ( StreamTokenizer st,
Environment env = NULL 
)
pure virtual

The documentation for this class was generated from the following file: