Home | History | Annotate | Download | only in lib

Lines Matching refs:impl_

466       : impl_(new MapFstImpl<A, B, C>(fst, mapper, opts)) {}
470 : impl_(new MapFstImpl<A, B, C>(fst, mapper, opts)) {}
473 : impl_(new MapFstImpl<A, B, C>(fst, mapper,
477 : impl_(new MapFstImpl<A, B, C>(fst, mapper,
480 MapFst(const MapFst<A, B, C> &fst) : Fst<B>(fst), impl_(fst.impl_) {
481 impl_->IncrRefCount();
484 virtual ~MapFst() { if (!impl_->DecrRefCount()) delete impl_; }
486 virtual StateId Start() const { return impl_->Start(); }
488 virtual Weight Final(StateId s) const { return impl_->Final(s); }
490 StateId NumStates() const { return impl_->NumStates(); }
492 size_t NumArcs(StateId s) const { return impl_->NumArcs(s); }
495 return impl_->NumInputEpsilons(s);
499 return impl_->NumOutputEpsilons(s);
505 impl_->SetProperties(test, known);
508 return impl_->Properties(mask);
512 virtual const string& Type() const { return impl_->Type(); }
519 return impl_->InputSymbols();
523 return impl_->OutputSymbols();
529 impl_->InitArcIterator(s, data);
533 MapFstImpl<A, B, C> *impl_;
546 : impl_(fst.impl_), siter_(*impl_->fst_), s_(0),
547 superfinal_(impl_->final_action_ == MAP_REQUIRE_SUPERFINAL)
567 superfinal_ = impl_->final_action_ == MAP_REQUIRE_SUPERFINAL;
573 if (impl_->final_action_ != MAP_ALLOW_SUPERFINAL || superfinal_)
576 B final_arc = (*impl_->mapper_)(A(0, 0, impl_->fst_->Final(s_),
583 const MapFstImpl<A, B, C> *impl_;
600 if (!fst.impl_->HasArcs(s))
601 fst.impl_->Expand(s);