Lines Matching refs:impl_
104 // ParamIterator assumes ownership of the impl_ pointer.
105 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {}
108 impl_.reset(other.impl_->Clone());
112 const T& operator*() const { return *impl_->Current(); }
113 const T* operator->() const { return impl_->Current(); }
116 impl_->Advance();
121 ParamIteratorInterface<T>* clone = impl_->Clone();
122 impl_->Advance();
126 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
134 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {}
135 scoped_ptr<ParamIteratorInterface<T> > impl_;
162 explicit ParamGenerator(ParamGeneratorInterface<T>* impl) : impl_(impl) {}
163 ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {}
166 impl_ = other.impl_;
170 iterator begin() const { return iterator(impl_->Begin()); }
171 iterator end() const { return iterator(impl_->End()); }
174 ::testing::internal::linked_ptr<const ParamGeneratorInterface<T> > impl_;