Quick Links:

bal | bbl | bdl | bsl

Classes | Public Types | Public Member Functions

bdlat_ArrayIterators::BackInsertIterator< TYPE > Class Template Reference

#include <bdlat_arrayiterators.h>

List of all members.

Classes

struct  ValueSetter

Public Types

typedef bsl::output_iterator_tag iterator_category
typedef
bdlat_ArrayFunctions::ElementType
< TYPE >::Type 
value_type
typedef void difference_type
typedef void pointer
typedef void reference

Public Member Functions

 BackInsertIterator (TYPE *array)
BackInsertIteratoroperator= (const BackInsertIterator &rhs)
template<class ELEM_TYPE >
BackInsertIteratoroperator= (const ELEM_TYPE &obj)
BackInsertIteratoroperator* ()
BackInsertIteratoroperator++ ()
BackInsertIterator operator++ (int)

Detailed Description

template<class TYPE>
class bdlat_ArrayIterators::BackInsertIterator< TYPE >

TBD doc

See Component bdlat_arrayiterators


Member Typedef Documentation

template<class TYPE>
typedef bsl::output_iterator_tag bdlat_ArrayIterators::BackInsertIterator< TYPE >::iterator_category
template<class TYPE>
typedef bdlat_ArrayFunctions::ElementType<TYPE>::Type bdlat_ArrayIterators::BackInsertIterator< TYPE >::value_type
template<class TYPE>
typedef void bdlat_ArrayIterators::BackInsertIterator< TYPE >::difference_type
template<class TYPE>
typedef void bdlat_ArrayIterators::BackInsertIterator< TYPE >::pointer
template<class TYPE>
typedef void bdlat_ArrayIterators::BackInsertIterator< TYPE >::reference

Constructor & Destructor Documentation

template<class TYPE>
bdlat_ArrayIterators::BackInsertIterator< TYPE >::BackInsertIterator ( TYPE *  array  ) 

Construct a back-insertion iterator to manipulate the specified array.


Member Function Documentation

template<class TYPE>
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator= ( const BackInsertIterator< TYPE > &  rhs  ) 

Assign this iterator the value of the specified rhs.

template<class TYPE>
template<class ELEM_TYPE >
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator= ( const ELEM_TYPE &  obj  ) 

Append the specified obj to the end of the array manipulated by this iterator and return this iterator.

template<class TYPE>
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator* (  ) 

Do nothing and return a reference to this modifiable iterator. This function is used in generic algorithms that use the expression *i++ = v or *++i = v.

template<class TYPE>
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator++ (  ) 

Do nothing and return a reference to this modifiable iterator. This function is used in generic algorithms that use the expression *++i = v

template<class TYPE>
BackInsertIterator bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator++ ( int   ) 

Do nothing and return a copy of this iterator. This function is used in generic algorithms that use the expression *i++ = v


The documentation for this class was generated from the following file: