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::CandidateSetProtoWriter Class Reference

A class to construct a CandidateSetMessage from a CandidateSet instance. More...

#include <candidate-set-proto-writer.H>

Public Member Functions

 CandidateSetProtoWriter ()
 Constructs a new instance that can serialize CandidateSet instances to CandidateSetMessage protocol buffer messages. More...
 
virtual ~CandidateSetProtoWriter ()
 Destroys this writer. More...
 
void Write (const CandidateSet &set, CandidateSetMessage *candidate_set_message) const
 Serializes a CandidateSet instance to a CandidateSetMessage. More...
 

Detailed Description

A class to construct a CandidateSetMessage from a CandidateSet instance.

Definition at line 62 of file candidate-set-proto-writer.H.

Constructor & Destructor Documentation

reranker::CandidateSetProtoWriter::CandidateSetProtoWriter ( )
inline

Constructs a new instance that can serialize CandidateSet instances to CandidateSetMessage protocol buffer messages.

Definition at line 66 of file candidate-set-proto-writer.H.

virtual reranker::CandidateSetProtoWriter::~CandidateSetProtoWriter ( )
inlinevirtual

Destroys this writer.

Definition at line 68 of file candidate-set-proto-writer.H.

Member Function Documentation

void reranker::CandidateSetProtoWriter::Write ( const CandidateSet set,
CandidateSetMessage *  candidate_set_message 
) const

Serializes a CandidateSet instance to a CandidateSetMessage.

Parameters
setthe CandidateSet to be serialized to the specified CandidateSetMessage
candidate_set_messagethe CandidateSetMessage to be filled in by this method with the serialized version of the specified CandidateSet

Definition at line 42 of file candidate-set-proto-writer.C.


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