FST  openfst-1.7.2
OpenFst Library
Public Member Functions | List of all members
fst::CompositeWeightWriter Class Reference

#include <weight.h>

Inheritance diagram for fst::CompositeWeightWriter:
Inheritance graph
[legend]
Collaboration diagram for fst::CompositeWeightWriter:
Collaboration graph
[legend]

Public Member Functions

 CompositeWeightWriter (std::ostream &ostrm)
 
 CompositeWeightWriter (std::ostream &ostrm, char separator, std::pair< char, char > parentheses)
 
 CompositeWeightWriter (const CompositeWeightWriter &)=delete
 
CompositeWeightWriteroperator= (const CompositeWeightWriter &)=delete
 
void WriteBegin ()
 
template<class T >
void WriteElement (const T &comp)
 
void WriteEnd ()
 
- Public Member Functions inherited from fst::internal::CompositeWeightIO
 CompositeWeightIO ()
 
 CompositeWeightIO (char separator, std::pair< char, char > parentheses)
 
std::pair< char, char > parentheses () const
 
char separator () const
 
bool error () const
 

Additional Inherited Members

- Protected Attributes inherited from fst::internal::CompositeWeightIO
const char separator_
 
const char open_paren_
 
const char close_paren_
 

Detailed Description

Definition at line 280 of file weight.h.

Constructor & Destructor Documentation

fst::CompositeWeightWriter::CompositeWeightWriter ( std::ostream &  ostrm)
explicit

Definition at line 56 of file weight.cc.

fst::CompositeWeightWriter::CompositeWeightWriter ( std::ostream &  ostrm,
char  separator,
std::pair< char, char >  parentheses 
)

Definition at line 61 of file weight.cc.

fst::CompositeWeightWriter::CompositeWeightWriter ( const CompositeWeightWriter )
delete

Member Function Documentation

CompositeWeightWriter& fst::CompositeWeightWriter::operator= ( const CompositeWeightWriter )
delete
void fst::CompositeWeightWriter::WriteBegin ( )

Definition at line 68 of file weight.cc.

template<class T >
void fst::CompositeWeightWriter::WriteElement ( const T &  comp)
inline

Definition at line 299 of file weight.h.

void fst::CompositeWeightWriter::WriteEnd ( )

Definition at line 74 of file weight.cc.


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