FST  openfst-1.7.5
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 Properties () const override
 
uint64 Properties (uint64 mask) const override
 
- Public Member Functions inherited from fst::internal::FstImpl< A >
 FstImpl ()
 
 FstImpl (const FstImpl< A > &impl)
 
 FstImpl (FstImpl< A > &&impl) noexcept
 
virtual ~FstImpl ()
 
FstImploperator= (const FstImpl &impl)
 
FstImploperator= (FstImpl &&impl) noexcept
 
const std::string & Type () const
 
void SetType (const std::string &type)
 
void SetProperties (uint64 props)
 
void SetProperties (uint64 props, uint64 mask)
 
void SetProperties (uint64 props, uint64 mask) const
 
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, const std::string &type, uint64 properties, FstHeader *hdr)
 
static bool UpdateFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, const std::string &type, uint64 properties, FstHeader *hdr, size_t header_offset)
 
- Protected Attributes inherited from fst::internal::FstImpl< A >
uint64 properties_
 

Detailed Description

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

Definition at line 37 of file complement.h.

Member Typedef Documentation

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

Definition at line 39 of file complement.h.

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

Definition at line 40 of file complement.h.

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

Definition at line 41 of file complement.h.

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

Definition at line 42 of file complement.h.

Constructor & Destructor Documentation

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

Definition at line 52 of file complement.h.

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

Definition at line 60 of file complement.h.

Member Function Documentation

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

Definition at line 75 of file complement.h.

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

Definition at line 83 of file complement.h.

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

Definition at line 87 of file complement.h.

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

Definition at line 91 of file complement.h.

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

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

Definition at line 95 of file complement.h.

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

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

Definition at line 98 of file complement.h.

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

Definition at line 68 of file complement.h.

Friends And Related Function Documentation

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

Definition at line 50 of file complement.h.

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

Definition at line 49 of file complement.h.


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