FST  openfst-1.7.5
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
fst::internal::FstImpl< Arc > Class Template Reference

#include <fst.h>

Public Types

using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 FstImpl ()
 
 FstImpl (const FstImpl< Arc > &impl)
 
 FstImpl (FstImpl< Arc > &&impl) noexcept
 
virtual ~FstImpl ()
 
FstImploperator= (const FstImpl &impl)
 
FstImploperator= (FstImpl &&impl) noexcept
 
const std::string & Type () const
 
void SetType (const std::string &type)
 
virtual uint64 Properties () const
 
virtual uint64 Properties (uint64 mask) const
 
void SetProperties (uint64 props)
 
void SetProperties (uint64 props, uint64 mask)
 
void SetProperties (uint64 props, uint64 mask) const
 
const SymbolTableInputSymbols () const
 
const SymbolTableOutputSymbols () const
 
SymbolTableInputSymbols ()
 
SymbolTableOutputSymbols ()
 
void SetInputSymbols (const SymbolTable *isyms)
 
void SetOutputSymbols (const SymbolTable *osyms)
 
bool ReadHeader (std::istream &strm, const FstReadOptions &opts, int min_version, FstHeader *hdr)
 
void WriteHeader (std::ostream &strm, const FstWriteOptions &opts, int version, FstHeader *hdr) const
 

Static Public Member Functions

static void WriteFstHeader (const Fst< Arc > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, const std::string &type, uint64 properties, FstHeader *hdr)
 
static bool UpdateFstHeader (const Fst< Arc > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, const std::string &type, uint64 properties, FstHeader *hdr, size_t header_offset)
 

Protected Attributes

uint64 properties_
 

Detailed Description

template<class Arc>
class fst::internal::FstImpl< Arc >

Definition at line 640 of file fst.h.

Member Typedef Documentation

template<class Arc>
using fst::internal::FstImpl< Arc >::StateId = typename Arc::StateId

Definition at line 642 of file fst.h.

template<class Arc>
using fst::internal::FstImpl< Arc >::Weight = typename Arc::Weight

Definition at line 643 of file fst.h.

Constructor & Destructor Documentation

template<class Arc>
fst::internal::FstImpl< Arc >::FstImpl ( )
inline

Definition at line 645 of file fst.h.

template<class Arc>
fst::internal::FstImpl< Arc >::FstImpl ( const FstImpl< Arc > &  impl)
inline

Definition at line 647 of file fst.h.

template<class Arc>
fst::internal::FstImpl< Arc >::FstImpl ( FstImpl< Arc > &&  impl)
inlinedefaultnoexcept
template<class Arc>
virtual fst::internal::FstImpl< Arc >::~FstImpl ( )
inlinevirtual

Definition at line 655 of file fst.h.

Member Function Documentation

template<class Arc>
const SymbolTable* fst::internal::FstImpl< Arc >::InputSymbols ( ) const
inline

Definition at line 693 of file fst.h.

template<class Arc>
SymbolTable* fst::internal::FstImpl< Arc >::InputSymbols ( )
inline

Definition at line 697 of file fst.h.

template<class Arc>
FstImpl& fst::internal::FstImpl< Arc >::operator= ( const FstImpl< Arc > &  impl)
inline

Definition at line 657 of file fst.h.

template<class Arc >
FstImpl< Arc > & fst::internal::FstImpl< Arc >::operator= ( FstImpl< Arc > &&  impl)
inlinedefaultnoexcept
template<class Arc>
const SymbolTable* fst::internal::FstImpl< Arc >::OutputSymbols ( ) const
inline

Definition at line 695 of file fst.h.

template<class Arc>
SymbolTable* fst::internal::FstImpl< Arc >::OutputSymbols ( )
inline

Definition at line 699 of file fst.h.

template<class Arc>
virtual uint64 fst::internal::FstImpl< Arc >::Properties ( ) const
inlinevirtual
template<class Arc>
virtual uint64 fst::internal::FstImpl< Arc >::Properties ( uint64  mask) const
inlinevirtual
template<class Arc >
bool fst::internal::FstImpl< Arc >::ReadHeader ( std::istream &  strm,
const FstReadOptions opts,
int  min_version,
FstHeader hdr 
)

Definition at line 817 of file fst.h.

template<class Arc>
void fst::internal::FstImpl< Arc >::SetInputSymbols ( const SymbolTable isyms)
inline

Definition at line 701 of file fst.h.

template<class Arc>
void fst::internal::FstImpl< Arc >::SetOutputSymbols ( const SymbolTable osyms)
inline

Definition at line 705 of file fst.h.

template<class Arc>
void fst::internal::FstImpl< Arc >::SetProperties ( uint64  props)
inline

Definition at line 675 of file fst.h.

template<class Arc>
void fst::internal::FstImpl< Arc >::SetProperties ( uint64  props,
uint64  mask 
)
inline

Definition at line 680 of file fst.h.

template<class Arc>
void fst::internal::FstImpl< Arc >::SetProperties ( uint64  props,
uint64  mask 
) const
inline

Definition at line 686 of file fst.h.

template<class Arc>
void fst::internal::FstImpl< Arc >::SetType ( const std::string &  type)
inline

Definition at line 669 of file fst.h.

template<class Arc>
const std::string& fst::internal::FstImpl< Arc >::Type ( ) const
inline

Definition at line 667 of file fst.h.

template<class Arc>
static bool fst::internal::FstImpl< Arc >::UpdateFstHeader ( const Fst< Arc > &  fst,
std::ostream &  strm,
const FstWriteOptions opts,
int  version,
const std::string &  type,
uint64  properties,
FstHeader hdr,
size_t  header_offset 
)
inlinestatic

Definition at line 778 of file fst.h.

template<class Arc>
static void fst::internal::FstImpl< Arc >::WriteFstHeader ( const Fst< Arc > &  fst,
std::ostream &  strm,
const FstWriteOptions opts,
int  version,
const std::string &  type,
uint64  properties,
FstHeader hdr 
)
inlinestatic

Definition at line 745 of file fst.h.

template<class Arc>
void fst::internal::FstImpl< Arc >::WriteHeader ( std::ostream &  strm,
const FstWriteOptions opts,
int  version,
FstHeader hdr 
) const
inline

Definition at line 719 of file fst.h.

Member Data Documentation

template<class Arc>
uint64 fst::internal::FstImpl< Arc >::properties_
mutableprotected

Definition at line 801 of file fst.h.


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