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

#include <weight.h>

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

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 316 of file weight.h.

Constructor & Destructor Documentation

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

Definition at line 80 of file weight.cc.

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

Definition at line 85 of file weight.cc.

fst::CompositeWeightReader::CompositeWeightReader ( const CompositeWeightReader )
delete

Member Function Documentation

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

Definition at line 92 of file weight.cc.

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

Definition at line 349 of file weight.h.

void fst::CompositeWeightReader::ReadEnd ( )

Definition at line 108 of file weight.cc.


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