#include <proxy_parameter_generator.h>
|
| proxy_argument_iterator (T &obj, const proxy_argument_generator< T, Proxy > &base, const_iterator it, const_iterator it_end) |
|
virtual | ~proxy_argument_iterator () |
|
virtual const ::testing::internal::ParamGeneratorInterface< typename T::parent_type > * | BaseGenerator () const |
|
virtual void | Advance () |
|
virtual ::testing::internal::ParamIteratorInterface< typename T::parent_type > * | Clone () const |
|
virtual const T::parent_type * | Current () const |
|
virtual bool | Equals (const ::testing::internal::ParamIteratorInterface< typename T::parent_type > &other) const |
|
template<typename T, typename Proxy>
class illumina::interop::unittest::proxy_argument_iterator< T, Proxy >
Iterator over persistent vector of arguments
- Note
- This code may only work with gtest 1.7.0
Constructor
- Parameters
-
obj | object-like functor |
base | generator base |
it | iterator to std::vector |
it_end | iterator to end of 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< typename T::parent_type >* 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< typename T::parent_type >* Clone |
( |
| ) |
const |
|
inline |
Clones the iterator object. Used for implementing copy semantics of ParamIterator<T>.
- Returns
- new instance to object
virtual const T::parent_type* 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< typename T::parent_type > & |
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: