FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | Friends | List of all members
fst::internal::ComplementFstImpl< A > Class Template Reference

#include <complement.h>

Inheritance diagram for fst::internal::ComplementFstImpl< A >:
Inheritance graph
[legend]
Collaboration diagram for fst::internal::ComplementFstImpl< A >:
Collaboration graph
[legend]

Public Types

using Arc = A
 
using Label = typename Arc::Label
 
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

 ComplementFstImpl (const Fst< Arc > &fst)
 
 ComplementFstImpl (const ComplementFstImpl< Arc > &impl)
 
StateId Start () const
 
Weight Final (StateId s) const
 
size_t NumArcs (StateId s) const
 
size_t NumInputEpsilons (StateId s) const
 
size_t NumOutputEpsilons (StateId s) const
 
uint64_t Properties () const override
 
uint64_t Properties (uint64_t mask) const override
 
- Public Member Functions inherited from fst::internal::FstImpl< A >
 FstImpl ()=default
 
 FstImpl (const FstImpl< A > &impl)
 
 FstImpl (FstImpl< A > &&impl) noexcept
 
virtual ~FstImpl ()=default
 
FstImploperator= (const FstImpl &impl)
 
FstImploperator= (FstImpl &&impl) noexcept
 
const std::string & Type () const
 
void SetType (std::string_view type)
 
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 SymbolTableInputSymbols () const
 
SymbolTableInputSymbols ()
 
const SymbolTableOutputSymbols () const
 
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
 

Friends

class StateIterator< ComplementFst< Arc > >
 
class ArcIterator< ComplementFst< Arc > >
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from fst::internal::FstImpl< A >
std::atomic< uint64_t > properties_
 

Detailed Description

template<class A>
class fst::internal::ComplementFstImpl< A >

Definition at line 55 of file complement.h.

Member Typedef Documentation

template<class A>
using fst::internal::ComplementFstImpl< A >::Arc = A

Definition at line 57 of file complement.h.

template<class A>
using fst::internal::ComplementFstImpl< A >::Label = typename Arc::Label

Definition at line 58 of file complement.h.

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

Definition at line 59 of file complement.h.

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

Definition at line 60 of file complement.h.

Constructor & Destructor Documentation

template<class A>
fst::internal::ComplementFstImpl< A >::ComplementFstImpl ( const Fst< Arc > &  fst)
inlineexplicit

Definition at line 70 of file complement.h.

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

Definition at line 78 of file complement.h.

Member Function Documentation

template<class A>
Weight fst::internal::ComplementFstImpl< A >::Final ( StateId  s) const
inline

Definition at line 93 of file complement.h.

template<class A>
size_t fst::internal::ComplementFstImpl< A >::NumArcs ( StateId  s) const
inline

Definition at line 101 of file complement.h.

template<class A>
size_t fst::internal::ComplementFstImpl< A >::NumInputEpsilons ( StateId  s) const
inline

Definition at line 105 of file complement.h.

template<class A>
size_t fst::internal::ComplementFstImpl< A >::NumOutputEpsilons ( StateId  s) const
inline

Definition at line 109 of file complement.h.

template<class A>
uint64_t fst::internal::ComplementFstImpl< A >::Properties ( ) const
inlineoverridevirtual

Reimplemented from fst::internal::FstImpl< A >.

Definition at line 113 of file complement.h.

template<class A>
uint64_t fst::internal::ComplementFstImpl< A >::Properties ( uint64_t  mask) const
inlineoverridevirtual

Reimplemented from fst::internal::FstImpl< A >.

Definition at line 116 of file complement.h.

template<class A>
StateId fst::internal::ComplementFstImpl< A >::Start ( ) const
inline

Definition at line 86 of file complement.h.

Friends And Related Function Documentation

template<class A>
friend class ArcIterator< ComplementFst< Arc > >
friend

Definition at line 68 of file complement.h.

template<class A>
friend class StateIterator< ComplementFst< Arc > >
friend

Definition at line 67 of file complement.h.


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