Searched refs:WeightClassImpl (Results 1 – 1 of 1) sorted by relevance
43 struct WeightClassImpl : public WeightImplBase { struct46 explicit WeightClassImpl(const W& weight) : weight(weight) { } in WeightClassImpl() argument48 virtual WeightClassImpl<W> *Copy() const { in Copy() argument49 return new WeightClassImpl<W>(weight); in Copy()68 const WeightClassImpl<W> *typed_other = argument69 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()