Lines Matching refs:impl_
79 WeightClass() : element_type_(ZERO), impl_(0) { } in WeightClass()
83 : element_type_(OTHER), impl_(new WeightClassImpl<W>(weight)) { } in WeightClass()
89 impl_(other.impl_ ? other.impl_->Copy() : 0) { } in WeightClass()
92 if (impl_) delete impl_; variable
93 impl_ = other.impl_ ? other.impl_->Copy() : 0;
109 return impl_->to_string(); in to_string()
115 ((impl_ && other.impl_ && (*impl_ == *other.impl_)) ||
116 (impl_ == 0 && other.impl_ == 0));
131 ~WeightClass() { if (impl_) delete impl_; } in ~WeightClass() local
136 WeightImplBase *impl_; variable
138 explicit WeightClass(ElementType et) : element_type_(et), impl_(0) { } in WeightClass()
156 if (W::Type() != impl_->Type()) { in GetWeight()
160 static_cast<WeightClassImpl<W> *>(impl_); in GetWeight()