FST
openfst-1.8.3
OpenFst Library
|
#include <fst.h>
Public Types | |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
FstImpl ()=default | |
FstImpl (const FstImpl< Arc > &impl) | |
FstImpl (FstImpl< Arc > &&impl) noexcept | |
virtual | ~FstImpl ()=default |
FstImpl & | operator= (const FstImpl &impl) |
FstImpl & | operator= (FstImpl &&impl) noexcept |
const std::string & | Type () const |
void | SetType (std::string_view type) |
virtual uint64_t | Properties () const |
virtual uint64_t | Properties (uint64_t mask) const |
void | SetProperties (uint64_t props) |
void | SetProperties (uint64_t props, uint64_t mask) |
void | SetProperties (uint64_t props, uint64_t mask) const |
void | UpdateProperties (uint64_t props, uint64_t mask) |
const SymbolTable * | InputSymbols () const |
const SymbolTable * | OutputSymbols () const |
SymbolTable * | InputSymbols () |
SymbolTable * | OutputSymbols () |
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, std::string_view type, uint64_t properties, FstHeader *hdr) |
static bool | UpdateFstHeader (const Fst< Arc > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr, size_t header_offset) |
Protected Attributes | |
std::atomic< uint64_t > | properties_ = 0 |
using fst::internal::FstImpl< Arc >::StateId = typename Arc::StateId |
using fst::internal::FstImpl< Arc >::Weight = typename Arc::Weight |
|
default |
|
inline |
|
inlinedefaultnoexcept |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
|
inlinedefaultnoexcept |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in fst::internal::DeterminizeFstImpl< Arc, G, CommonDivisor, Filter, StateTable >, fst::internal::ReplaceFstImpl< Arc, StateTable, CacheStore >, fst::internal::DeterminizeFsaImpl< Arc, CommonDivisor, Filter, StateTable >, fst::internal::RandGenFstImpl< FromArc, ToArc, Sampler >, fst::internal::RmEpsilonFstImpl< Arc >, fst::internal::ArcMapFstImpl< A, B, C >, fst::internal::FactorWeightFstImpl< Arc, FactorIterator >, fst::internal::RelabelFstImpl< Arc >, fst::internal::StateMapFstImpl< A, B, C >, fst::internal::ComposeFstImpl< CacheStore, Filter, StateTable >, fst::internal::SynchronizeFstImpl< Arc >, fst::internal::RationalFstImpl< A >, and fst::internal::ComplementFstImpl< A >.
|
inlinevirtual |
Reimplemented in fst::internal::DeterminizeFstImpl< Arc, G, CommonDivisor, Filter, StateTable >, fst::internal::ReplaceFstImpl< Arc, StateTable, CacheStore >, fst::internal::DeterminizeFsaImpl< Arc, CommonDivisor, Filter, StateTable >, fst::internal::RandGenFstImpl< FromArc, ToArc, Sampler >, fst::internal::RmEpsilonFstImpl< Arc >, fst::internal::ArcMapFstImpl< A, B, C >, fst::internal::FactorWeightFstImpl< Arc, FactorIterator >, fst::internal::RelabelFstImpl< Arc >, fst::internal::StateMapFstImpl< A, B, C >, fst::internal::ComposeFstImpl< CacheStore, Filter, StateTable >, fst::internal::SynchronizeFstImpl< Arc >, fst::internal::RationalFstImpl< A >, and fst::internal::ComplementFstImpl< A >.
bool fst::internal::FstImpl< Arc >::ReadHeader | ( | std::istream & | strm, |
const FstReadOptions & | opts, | ||
int | min_version, | ||
FstHeader * | hdr | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
mutableprotected |