template <typename T>
class ParamIteratorInterface
Defined at line 100 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h
Interface for iterating over elements provided by an implementation
of ParamGeneratorInterface
<T
>.
Public Methods
const ParamGeneratorInterface<T> * BaseGenerator ()
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.
void Advance ()
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().
ParamIteratorInterface<T> * Clone ()
Clones the iterator object. Used for implementing copy semantics
of ParamIterator
<T
>.
const T * Current ()
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*().
bool Equals (const ParamIteratorInterface<T> & other)
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==().
void ~ParamIteratorInterface<T> ()
Defined at line 102 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h