FST
openfst-1.8.3
OpenFst Library
|
#include <const-fst.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Types inherited from fst::internal::FstImpl< A > | |
using | StateId = typename A::StateId |
using | Weight = typename A::Weight |
Public Member Functions | |
ConstFstImpl () | |
ConstFstImpl (const Fst< Arc > &fst) | |
StateId | Start () const |
Weight | Final (StateId s) const |
StateId | NumStates () const |
size_t | NumArcs (StateId s) const |
size_t | NumInputEpsilons (StateId s) const |
size_t | NumOutputEpsilons (StateId s) const |
const Arc * | Arcs (StateId s) const |
void | InitStateIterator (StateIteratorData< Arc > *data) const |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const |
Public Member Functions inherited from fst::internal::FstImpl< A > | |
FstImpl ()=default | |
FstImpl (const FstImpl< A > &impl) | |
FstImpl (FstImpl< A > &&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 |
SymbolTable * | InputSymbols () |
const SymbolTable * | OutputSymbols () const |
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 ConstFstImpl * | Read (std::istream &strm, const FstReadOptions &opts) |
Static Public Member Functions inherited from fst::internal::FstImpl< A > | |
static void | WriteFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr) |
static bool | UpdateFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr, size_t header_offset) |
Friends | |
class | ConstFst< Arc, Unsigned > |
Additional Inherited Members | |
Protected Attributes inherited from fst::internal::FstImpl< A > | |
std::atomic< uint64_t > | properties_ |
Definition at line 60 of file const-fst.h.
using fst::internal::ConstFstImpl< A, Unsigned >::Arc = A |
Definition at line 62 of file const-fst.h.
using fst::internal::ConstFstImpl< A, Unsigned >::StateId = typename Arc::StateId |
Definition at line 63 of file const-fst.h.
using fst::internal::ConstFstImpl< A, Unsigned >::Weight = typename Arc::Weight |
Definition at line 64 of file const-fst.h.
|
inline |
Definition at line 72 of file const-fst.h.
|
explicit |
Definition at line 151 of file const-fst.h.
|
inline |
Definition at line 97 of file const-fst.h.
|
inline |
Definition at line 85 of file const-fst.h.
|
inline |
Definition at line 106 of file const-fst.h.
|
inline |
Definition at line 100 of file const-fst.h.
|
inline |
Definition at line 89 of file const-fst.h.
|
inline |
Definition at line 91 of file const-fst.h.
|
inline |
Definition at line 93 of file const-fst.h.
|
inline |
Definition at line 87 of file const-fst.h.
|
static |
Definition at line 195 of file const-fst.h.
|
inline |
Definition at line 83 of file const-fst.h.
Definition at line 115 of file const-fst.h.