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

#include <fst-decl.h>

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

Public Types

using FromArc = A
 
using ToArc = A
 
using Impl = internal::ArcMapFstImpl< A, A, ProjectMapper< A >>
 
- Public Types inherited from fst::ArcMapFst< A, A, ProjectMapper< A > >
using Arc = A
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Store = DefaultCacheStore< A >
 
using State = typename Store::State
 
using Impl = internal::ArcMapFstImpl< A, A, ProjectMapper< A > >
 
- Public Types inherited from fst::ImplToFst< Impl, FST >
using Arc = typename Impl::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 ProjectFst (const Fst< A > &fst, ProjectType project_type)
 
 ProjectFst (const ProjectFst &fst, bool safe=false)
 
ProjectFstCopy (bool safe=false) const override
 
- Public Member Functions inherited from fst::ArcMapFst< A, A, ProjectMapper< A > >
 ArcMapFst (const Fst< A > &fst, const ProjectMapper< A > &mapper=ProjectMapper< A >(), const ArcMapFstOptions &opts=ArcMapFstOptions())
 
 ArcMapFst (const Fst< A > &fst, ProjectMapper< A > *mapper, const ArcMapFstOptions &opts=ArcMapFstOptions())
 
 ArcMapFst (const ArcMapFst &fst, bool safe=false)
 
ArcMapFstCopy (bool safe=false) const override
 
void InitStateIterator (StateIteratorData< A > *data) const override
 
void InitArcIterator (StateId s, ArcIteratorData< A > *data) const override
 
- Public Member Functions inherited from fst::ImplToFst< Impl, FST >
StateId Start () const override
 
Weight Final (StateId s) const override
 
size_t NumArcs (StateId s) const override
 
size_t NumInputEpsilons (StateId s) const override
 
size_t NumOutputEpsilons (StateId s) const override
 
uint64_t Properties (uint64_t mask, bool test) const override
 
const std::string & Type () const override
 
const SymbolTableInputSymbols () const override
 
const SymbolTableOutputSymbols () const override
 

Additional Inherited Members

- Protected Member Functions inherited from fst::ImplToFst< Impl, FST >
 ImplToFst (std::shared_ptr< Impl > impl)
 
 ImplToFst (const ImplToFst &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst &fst)
 
 ImplToFst (ImplToFst &&fst) noexcept
 
ImplToFstoperator= (const ImplToFst &fst)
 
ImplToFstoperator= (ImplToFst &&fst) noexcept
 
const Impl * GetImpl () const
 
Impl * GetMutableImpl () const
 
std::shared_ptr< Impl > GetSharedImpl () const
 
bool Unique () const
 
void SetImpl (std::shared_ptr< Impl > impl)
 

Detailed Description

template<class A>
class fst::ProjectFst< A >

Definition at line 153 of file fst-decl.h.

Member Typedef Documentation

template<class A>
using fst::ProjectFst< A >::FromArc = A

Definition at line 130 of file project.h.

template<class A>
using fst::ProjectFst< A >::Impl = internal::ArcMapFstImpl<A, A, ProjectMapper<A>>

Definition at line 133 of file project.h.

template<class A>
using fst::ProjectFst< A >::ToArc = A

Definition at line 131 of file project.h.

Constructor & Destructor Documentation

template<class A>
fst::ProjectFst< A >::ProjectFst ( const Fst< A > &  fst,
ProjectType  project_type 
)
inline

Definition at line 135 of file project.h.

template<class A>
fst::ProjectFst< A >::ProjectFst ( const ProjectFst< A > &  fst,
bool  safe = false 
)
inline

Definition at line 146 of file project.h.

Member Function Documentation

template<class A>
ProjectFst* fst::ProjectFst< A >::Copy ( bool  safe = false) const
inlineoverride

Definition at line 150 of file project.h.


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