Home | History | Annotate | Download | only in fst

Lines Matching defs:Impl

70   typedef AddOnImpl<typename M::FST, D> Impl;
71 NullMatcherFstInit(Impl **) {}
92 typedef AddOnImpl<F, D> Impl;
94 MatcherFst() : ImplToExpandedFst<Impl>(new Impl(F(), N)) {}
97 : ImplToExpandedFst<Impl>(CreateImpl(fst, N)) {}
100 : ImplToExpandedFst<Impl>(CreateImpl(fst, N)) {}
104 : ImplToExpandedFst<Impl>(fst, safe) {}
114 Impl *impl = Impl::Read(strm, opts);
115 return impl ? new MatcherFst<F, M, N, I>(impl) : 0;
121 Impl *impl = ImplToExpandedFst<Impl>::Read(filename);
122 return impl ? new MatcherFst<F, M, N, I>(impl) : 0;
146 Impl *GetImpl() const {
147 return ImplToFst<Impl, ExpandedFst<Arc> >::GetImpl();
158 static Impl *CreateImpl(const F &fst, const string &name) {
162 Impl *impl = new Impl(fst, name);
163 impl->SetAddOn(data);
164 I init(&impl);
166 return impl;
169 static Impl *CreateImpl(const Fst<Arc> &fst, const string &name) {
174 explicit MatcherFst(Impl *impl) : ImplToExpandedFst<Impl>(impl) {}
177 void SetImpl(Impl *impl, bool own_impl = true) {
178 ImplToFst< Impl, ExpandedFst<Arc> >::SetImpl(impl, own_impl);