reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
207 class RangeGenerator : public ParamGeneratorInterface<T> { 209 RangeGenerator(T begin, T end, IncrementT step) 209 RangeGenerator(T begin, T end, IncrementT step) 214 virtual ParamIteratorInterface<T>* Begin() const { 217 virtual ParamIteratorInterface<T>* End() const { 222 class Iterator : public ParamIteratorInterface<T> { 224 Iterator(const ParamGeneratorInterface<T>* base, T value, int index, 224 Iterator(const ParamGeneratorInterface<T>* base, T value, int index, 229 virtual const ParamGeneratorInterface<T>* BaseGenerator() const { 236 virtual ParamIteratorInterface<T>* Clone() const { 239 virtual const T* Current() const { return &value_; } 240 virtual bool Equals(const ParamIteratorInterface<T>& other) const { 253 : ParamIteratorInterface<T>(), 260 const ParamGeneratorInterface<T>* const base_; 261 T value_; 266 static int CalculateEndIndex(const T& begin, 267 const T& end, 270 for (T i = begin; i < end; i = static_cast<T>(i + step)) 278 const T begin_; 279 const T end_;