FST  openfst-1.7.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 AddOnPair< A1, A2 > * Read (std::istream &istrm, const FstReadOptions &opts)
 

Detailed Description

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

Definition at line 43 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 46 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 49 of file add-on.h.

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

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

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

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

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

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

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

Definition at line 55 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 73 of file add-on.h.


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