Home | History | Annotate | Download | only in lib

Lines Matching defs:Arc

18 // and mutable arc iterator interface.
35 typedef A Arc;
46 virtual void AddArc(StateId, const A &arc) = 0; // Add an arc to state
90 << "\" (arc type = \"" << A::Type()
108 // For generic mutuble arc iterator construction; not normally called
114 // Mutable arc iterator interface, templated on the Arc definition.
118 typedef A Arc;
119 virtual void SetValue(const A &arc) = 0; // Set current arc's contents
127 // Generic mutable arc iterator, templated on the FST definition
133 // StdArc arc = aiter.Value();
134 // arc.ilabel = 7;
135 // aiter.SetValue(arc);
140 class MutableArcIterator : public MutableArcIteratorBase<typename F::Arc> {
142 typedef typename F::Arc Arc;
143 typedef typename Arc::StateId StateId;
151 const Arc& Value() const { return data_.base->Value(); }
155 void SetValue(const Arc &a) { data_.base->SetValue(a); }
158 MutableArcIteratorData<Arc> data_;