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 | Protected Attributes | List of all members
reranker::TypedMemberInitializer< T > Class Template Reference

#include <factory.H>

Inheritance diagram for reranker::TypedMemberInitializer< T >:
reranker::MemberInitializer

Public Member Functions

 TypedMemberInitializer (const string &name, T *member, bool required=false)
 
virtual ~TypedMemberInitializer ()
 
virtual void Init (StreamTokenizer &st, Environment *env)
 
- Public Member Functions inherited from reranker::MemberInitializer
 MemberInitializer (const string &name, bool required)
 
virtual ~MemberInitializer ()
 
virtual string Name ()
 
virtual int Initialized () const
 Returns the number of times this member initializer’s Init method has been invoked. More...
 
virtual bool Required () const
 

Protected Attributes

T * member_
 
- Protected Attributes inherited from reranker::MemberInitializer
string name_
 The name of this member. More...
 
int initialized_
 The number of times this member initializer’s Init method has been invoked. More...
 
bool required_
 Whether this member is required to be initialized. More...
 

Detailed Description

template<typename T>
class reranker::TypedMemberInitializer< T >

Definition at line 177 of file factory.H.

Constructor & Destructor Documentation

template<typename T>
reranker::TypedMemberInitializer< T >::TypedMemberInitializer ( const string &  name,
T *  member,
bool  required = false 
)
inline

Definition at line 179 of file factory.H.

template<typename T>
virtual reranker::TypedMemberInitializer< T >::~TypedMemberInitializer ( )
inlinevirtual

Definition at line 181 of file factory.H.

Member Function Documentation

template<typename T>
virtual void reranker::TypedMemberInitializer< T >::Init ( StreamTokenizer st,
Environment env 
)
inlinevirtual

Implements reranker::MemberInitializer.

Definition at line 182 of file factory.H.

Member Data Documentation

template<typename T>
T* reranker::TypedMemberInitializer< T >::member_
protected

Definition at line 194 of file factory.H.


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