FST  openfst-1.7.3
OpenFst Library
Public Member Functions | List of all members
fst::script::WeightClassImpl< W > Class Template Reference

#include <weight-class.h>

Inheritance diagram for fst::script::WeightClassImpl< W >:
Inheritance graph
[legend]
Collaboration diagram for fst::script::WeightClassImpl< W >:
Collaboration graph
[legend]

Public Member Functions

 WeightClassImpl (const W &weight)
 
WeightClassImpl< W > * Copy () const final
 
const std::string & Type () const final
 
void Print (std::ostream *ostrm) const final
 
std::string ToString () const final
 
bool Member () const final
 
bool operator== (const WeightImplBase &other) const final
 
bool operator!= (const WeightImplBase &other) const final
 
WeightClassImpl< W > & PlusEq (const WeightImplBase &other) final
 
WeightClassImpl< W > & TimesEq (const WeightImplBase &other) final
 
WeightClassImpl< W > & DivideEq (const WeightImplBase &other) final
 
WeightClassImpl< W > & PowerEq (size_t n) final
 
W * GetImpl ()
 
- Public Member Functions inherited from fst::script::WeightImplBase
virtual ~WeightImplBase ()
 

Detailed Description

template<class W>
class fst::script::WeightClassImpl< W >

Definition at line 39 of file weight-class.h.

Constructor & Destructor Documentation

template<class W>
fst::script::WeightClassImpl< W >::WeightClassImpl ( const W &  weight)
inlineexplicit

Definition at line 41 of file weight-class.h.

Member Function Documentation

template<class W>
WeightClassImpl<W>* fst::script::WeightClassImpl< W >::Copy ( ) const
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 43 of file weight-class.h.

template<class W>
WeightClassImpl<W>& fst::script::WeightClassImpl< W >::DivideEq ( const WeightImplBase other)
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 80 of file weight-class.h.

template<class W>
W* fst::script::WeightClassImpl< W >::GetImpl ( )
inline

Definition at line 91 of file weight-class.h.

template<class W>
bool fst::script::WeightClassImpl< W >::Member ( ) const
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 57 of file weight-class.h.

template<class W>
bool fst::script::WeightClassImpl< W >::operator!= ( const WeightImplBase other) const
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 64 of file weight-class.h.

template<class W>
bool fst::script::WeightClassImpl< W >::operator== ( const WeightImplBase other) const
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 59 of file weight-class.h.

template<class W>
WeightClassImpl<W>& fst::script::WeightClassImpl< W >::PlusEq ( const WeightImplBase other)
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 68 of file weight-class.h.

template<class W>
WeightClassImpl<W>& fst::script::WeightClassImpl< W >::PowerEq ( size_t  n)
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 86 of file weight-class.h.

template<class W>
void fst::script::WeightClassImpl< W >::Print ( std::ostream *  ostrm) const
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 49 of file weight-class.h.

template<class W>
WeightClassImpl<W>& fst::script::WeightClassImpl< W >::TimesEq ( const WeightImplBase other)
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 74 of file weight-class.h.

template<class W>
std::string fst::script::WeightClassImpl< W >::ToString ( ) const
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 51 of file weight-class.h.

template<class W>
const std::string& fst::script::WeightClassImpl< W >::Type ( ) const
inlinefinalvirtual

Implements fst::script::WeightImplBase.

Definition at line 47 of file weight-class.h.


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