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

#include <weight.h>

Inheritance diagram for fst::CompositeWeightReader:
Inheritance graph
Collaboration diagram for fst::CompositeWeightReader:
Collaboration graph

Public Member Functions

 CompositeWeightReader (std::istream &istrm)
 CompositeWeightReader (std::istream &istrm, char separator, std::pair< char, char > parentheses)
 CompositeWeightReader (const CompositeWeightReader &)=delete
CompositeWeightReaderoperator= (const CompositeWeightReader &)=delete
void ReadBegin ()
template<class T >
bool ReadElement (T *comp, bool last=false)
void ReadEnd ()
- 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 334 of file weight.h.

Constructor & Destructor Documentation

fst::CompositeWeightReader::CompositeWeightReader ( std::istream &  istrm)

Definition at line 107 of file weight.cc.

fst::CompositeWeightReader::CompositeWeightReader ( std::istream &  istrm,
char  separator,
std::pair< char, char >  parentheses 

Definition at line 112 of file weight.cc.

fst::CompositeWeightReader::CompositeWeightReader ( const CompositeWeightReader )

Member Function Documentation

CompositeWeightReader& fst::CompositeWeightReader::operator= ( const CompositeWeightReader )
void fst::CompositeWeightReader::ReadBegin ( )

Definition at line 119 of file weight.cc.

template<class T >
bool fst::CompositeWeightReader::ReadElement ( T *  comp,
bool  last = false 

Definition at line 367 of file weight.h.

void fst::CompositeWeightReader::ReadEnd ( )

Definition at line 135 of file weight.cc.

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