Lines Matching refs:ComposeFst
681 class ComposeFst : public Fst<A> {
683 friend class ArcIterator< ComposeFst<A> >;
684 friend class CacheStateIterator< ComposeFst<A> >;
685 friend class CacheArcIterator< ComposeFst<A> >;
692 ComposeFst(const Fst<A> &fst1, const Fst<A> &fst2) in ComposeFst() function
696 ComposeFst(const Fst<A> &fst1, in ComposeFst() function
701 ComposeFst(const ComposeFst<A> &fst) : Fst<A>(fst), impl_(fst.impl_) { in ComposeFst() function
705 virtual ~ComposeFst() { if (!impl_->DecrRefCount()) delete impl_; } in ~ComposeFst()
733 virtual ComposeFst<A> *Copy() const { in Copy()
734 return new ComposeFst<A>(*this); in Copy()
821 void operator=(const ComposeFst<A> &fst); // disallow
827 class StateIterator< ComposeFst<A> >
828 : public CacheStateIterator< ComposeFst<A> > {
830 explicit StateIterator(const ComposeFst<A> &fst) in StateIterator()
831 : CacheStateIterator< ComposeFst<A> >(fst) {} in StateIterator()
837 class ArcIterator< ComposeFst<A> >
838 : public CacheArcIterator< ComposeFst<A> > {
842 ArcIterator(const ComposeFst<A> &fst, StateId s) in ArcIterator()
843 : CacheArcIterator< ComposeFst<A> >(fst, s) { in ArcIterator()
853 void ComposeFst<A>::InitStateIterator(StateIteratorData<A> *data) const { in InitStateIterator()
854 data->base = new StateIterator< ComposeFst<A> >(*this); in InitStateIterator()
858 typedef ComposeFst<StdArc> StdComposeFst;
903 *ofst = ComposeFst<Arc>(ifst1, ifst2, nopts);