FST  openfst-1.8.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 ()=default
 

Detailed Description

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

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

Constructor & Destructor Documentation

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

Definition at line 57 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 59 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 94 of file weight-class.h.

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

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

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

Implements fst::script::WeightImplBase.

Definition at line 71 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 78 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 73 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 82 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 100 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 65 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 88 of file weight-class.h.

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

Implements fst::script::WeightImplBase.

Definition at line 67 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 63 of file weight-class.h.


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