FST  openfst-1.6.1
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)
 
virtual ~FstImpl ()
 
const string & Type () const
 
void SetType (const 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 string &type, uint64 properties, FstHeader *hdr)
 
static bool UpdateFstHeader (const Fst< Arc > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, const 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 634 of file fst.h.

Member Typedef Documentation

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

Definition at line 636 of file fst.h.

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

Definition at line 637 of file fst.h.

Constructor & Destructor Documentation

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

Definition at line 639 of file fst.h.

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

Definition at line 641 of file fst.h.

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

Definition at line 647 of file fst.h.

Member Function Documentation

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

Definition at line 675 of file fst.h.

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

Definition at line 679 of file fst.h.

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

Definition at line 677 of file fst.h.

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

Definition at line 681 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 792 of file fst.h.

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

Definition at line 683 of file fst.h.

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

Definition at line 687 of file fst.h.

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

Definition at line 657 of file fst.h.

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

Definition at line 662 of file fst.h.

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

Definition at line 668 of file fst.h.

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

Definition at line 651 of file fst.h.

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

Definition at line 649 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 string &  type,
uint64  properties,
FstHeader hdr,
size_t  header_offset 
)
inlinestatic

Definition at line 760 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 string &  type,
uint64  properties,
FstHeader hdr 
)
inlinestatic

Definition at line 727 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 701 of file fst.h.

Member Data Documentation

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

Definition at line 783 of file fst.h.


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