#include <persistent_parameter_generator.h>
template<typename T>
class illumina::interop::unittest::argument_iterator< T >
Iterator over persistent vector of arguments
- Note
- This code may only work with gtest 1.7.0
Constructor
- Parameters
-
base | generator base |
it | iterator to std::vector |
Advances iterator to point to the next element provided by the generator. The caller is responsible for not calling Advance() on an iterator equal to BaseGenerator()->End().
virtual const ::testing::internal::ParamGeneratorInterface<T>* BaseGenerator |
( |
| ) |
const |
|
inlinevirtual |
A pointer to the base generator instance. Used only for the purposes of iterator comparison to make sure that two iterators belong to the same generator.
- Returns
- base generator
virtual ::testing::internal::ParamIteratorInterface<T>* Clone |
( |
| ) |
const |
|
inline |
Clones the iterator object. Used for implementing copy semantics of ParamIterator<T>.
- Returns
- new instance to object
virtual const T* Current |
( |
| ) |
const |
|
inlinevirtual |
Dereferences the current iterator and provides (read-only) access to the pointed value. It is the caller's responsibility not to call Current() on an iterator equal to BaseGenerator()->End(). Used for implementing ParamGenerator<T>::operator*().
- Returns
- pointer to current value
virtual bool Equals |
( |
const ::testing::internal::ParamIteratorInterface< T > & |
other | ) |
const |
|
inlinevirtual |
Determines whether the given iterator and other point to the same element in the sequence generated by the generator. Used for implementing ParamGenerator<T>::operator==().
- Parameters
-
- Returns
- true if the base and iterator match
The documentation for this class was generated from the following file: