#include <bsltf_testvaluesarray.h>
List of all members.
Detailed Description
template<class VALUE>
class bsltf::TestValuesArrayIterator< VALUE >
This class provide a STL-conforming input iterator over values used for testing (see section [24.2.3 input.iterators] of the C++11 standard. A TestValuesArrayIterator
provide access to elements of parameterized type VALUE
. An iterator is considered dereferenceable all of the following are satisfied:
-
The iterator refers to a valid element (not
end
).
-
The iterator has not been dereferenced.
-
The iterator is not a copy of another iterator of which
operator++
have been invoked.
An iterator is comparable if the iterator is not a copy of another iterator of which operator++
have been invoked.
This class is not thread-safe: different iterator objects manipulate shared state without synchronization. This is rarely a concern for the test scenarios supported by this component.
See Component bsltf_testvaluesarray
Member Typedef Documentation
Constructor & Destructor Documentation
Create an iterator referring to the specified object
for a container with the specified end
, with two arrays of boolean referred to by the specified dereferenceable
and isValid
to indicate whether this iterator and its subsequent values until end
is allowed to be dereferenced and is not yet invalidated respectively.
Create an iterator having the same value as the specified original
object. The behavior is undefined unless original
is valid.
Member Function Documentation
Assign to this object the value of the specified other
object. The behavior is undefined unless other
is valid.
Move this iterator to the next element in the container. Any copies of this iterator are no longer dereferenceable or comparable. The behavior is undefined unless this iterator refers to a valid value in the container.
Move this iterator to the next element in the container, and return an object that can be dereferenced to refer to the same object that this iterator initially points to. Any copies of this iterator are no longer dereferenceable or comparable. The behavior is undefined unless this iterator refers to a valid value in the container.
Return the value referred to by this object. This object is no longer dereferenceable after a call to this function. The behavior is undefined unless this iterator is dereferenceable.
Return the address of the element (of the template parameter VALUE
) at which this iterator is positioned. The behavior is undefined unless this iterator dereferenceable.
Friends And Related Function Documentation
template<class VALUE>
template<class OTHER_VALUE >
template<class VALUE>
template<class OTHER_VALUE >
The documentation for this class was generated from the following file: