Home
last modified time | relevance | path

Searched refs:WeightClassImpl (Results 1 – 1 of 1) sorted by relevance

/external/openfst/src/include/fst/script/
Dweight-class.h43 struct WeightClassImpl : public WeightImplBase { struct
46 explicit WeightClassImpl(const W& weight) : weight(weight) { } in WeightClassImpl() argument
48 virtual WeightClassImpl<W> *Copy() const { in Copy() argument
49 return new WeightClassImpl<W>(weight); in Copy()
68 const WeightClassImpl<W> *typed_other = argument
69 static_cast<const WeightClassImpl<W> *>(&other);
83 : element_type_(OTHER), impl_(new WeightClassImpl<W>(weight)) { } in WeightClass()
166 WeightClassImpl<W> *typed_impl = in GetWeight()
167 static_cast<WeightClassImpl<W> *>(impl_); in GetWeight()
184 return new WeightClassImpl<W>(StrToWeight<W>(str, src, nline)); in StrToWeightImplBase()