FST  openfst-1.8.3
OpenFst Library
Public Member Functions | Static Public Member Functions | List of all members
fst::AddOnPair< A1, A2 > Class Template Reference

#include <add-on.h>

Public Member Functions

 AddOnPair (std::shared_ptr< A1 > a1, std::shared_ptr< A2 > a2)
 
const A1 * First () const
 
const A2 * Second () const
 
std::shared_ptr< A1 > SharedFirst () const
 
std::shared_ptr< A2 > SharedSecond () const
 
bool Write (std::ostream &ostrm, const FstWriteOptions &opts) const
 

Static Public Member Functions

static AddOnPairRead (std::istream &istrm, const FstReadOptions &opts)
 

Detailed Description

template<class A1, class A2>
class fst::AddOnPair< A1, A2 >

Definition at line 60 of file add-on.h.

Constructor & Destructor Documentation

template<class A1 , class A2 >
fst::AddOnPair< A1, A2 >::AddOnPair ( std::shared_ptr< A1 >  a1,
std::shared_ptr< A2 >  a2 
)
inline

Definition at line 63 of file add-on.h.

Member Function Documentation

template<class A1 , class A2 >
const A1* fst::AddOnPair< A1, A2 >::First ( ) const
inline

Definition at line 66 of file add-on.h.

template<class A1 , class A2 >
static AddOnPair* fst::AddOnPair< A1, A2 >::Read ( std::istream &  istrm,
const FstReadOptions opts 
)
inlinestatic

Definition at line 74 of file add-on.h.

template<class A1 , class A2 >
const A2* fst::AddOnPair< A1, A2 >::Second ( ) const
inline

Definition at line 68 of file add-on.h.

template<class A1 , class A2 >
std::shared_ptr<A1> fst::AddOnPair< A1, A2 >::SharedFirst ( ) const
inline

Definition at line 70 of file add-on.h.

template<class A1 , class A2 >
std::shared_ptr<A2> fst::AddOnPair< A1, A2 >::SharedSecond ( ) const
inline

Definition at line 72 of file add-on.h.

template<class A1 , class A2 >
bool fst::AddOnPair< A1, A2 >::Write ( std::ostream &  ostrm,
const FstWriteOptions opts 
) const
inline

Definition at line 88 of file add-on.h.


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