#include <bsltf_testvaluesarray.h>
List of all members.
Detailed Description
template<class VALUE, class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
class bsltf::TestValuesArray< VALUE, ALLOCATOR, CONVERTER >
This class provides a container to store values of the (template parameter) type VALUE
, and also provides the iterators to access the values. The iterators are designed to conform to a standard input iterator, and report any misuse of the iterator.
See Component bsltf_testvaluesarray
Member Typedef Documentation
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Constructor & Destructor Documentation
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Create a TestValuesArray
object. Optionally, specify spec
to indicate the values this object should contain, where the values are created by invoking the bsltf::TemplateTestFacility::create
method on each character of spec
. If no spec
is supplied, the object will contain 52 distinct values of the (template parameter) type VALUE
. Optionally, specify basicAllocator
used to supply memory. If no allocator is supplied, a bslma::MallocFree
allocator is used to supply memory.
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Destroy this container and all contained elements.
Member Function Documentation
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Return an iterator providing non-modifiable access to the first VALUE
object in the sequence of VALUE
objects maintained by this container, or the end
iterator if this container is empty.
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Return an iterator providing access to the past-the-end position in the sequence of VALUE
objects maintained by this container.
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Return an iterator to the element at the specified position
. The behavior is undefined unless position <= size()
.
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Make all iterators dereferenceable and comparable again.
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Return the address of the non-modifiable first element in this container.
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Return a reference providing non-modifiable access to the element at the specified index
. The behavior is undefined unless 0 < size() && index < size()
.
template<class VALUE , class ALLOCATOR = bsl::allocator<VALUE>, class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>>
Return number of elements in this container.
The documentation for this class was generated from the following file: