Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions

bdlb::NullOutputIterator< TYPE > Class Template Reference

#include <bdlb_nulloutputiterator.h>

List of all members.

Public Types

typedef
NullOutputIteratorAssignmentProxy
< TYPE > 
AssignmentProxy
typedef bsl::output_iterator_tag iterator_category
typedef TYPE value_type
typedef void difference_type
typedef void pointer
typedef void reference

Public Member Functions

 NullOutputIterator ()
 NullOutputIterator (const NullOutputIterator &original)
 ~NullOutputIterator ()
NullOutputIteratoroperator= (const NullOutputIterator &rhs)
AssignmentProxy operator* ()
NullOutputIteratoroperator++ ()
NullOutputIteratoroperator++ (int)

Detailed Description

template<class TYPE>
class bdlb::NullOutputIterator< TYPE >

Provide an output iterator that ignores the output that is provided. De-referencing an iterator and assigning to the returned value has no effect.

See Component bdlb_nulloutputiterator


Member Typedef Documentation

template<class TYPE>
typedef NullOutputIteratorAssignmentProxy<TYPE> bdlb::NullOutputIterator< TYPE >::AssignmentProxy
template<class TYPE>
typedef bsl::output_iterator_tag bdlb::NullOutputIterator< TYPE >::iterator_category
template<class TYPE>
typedef TYPE bdlb::NullOutputIterator< TYPE >::value_type
template<class TYPE>
typedef void bdlb::NullOutputIterator< TYPE >::difference_type
template<class TYPE>
typedef void bdlb::NullOutputIterator< TYPE >::pointer
template<class TYPE>
typedef void bdlb::NullOutputIterator< TYPE >::reference

Constructor & Destructor Documentation

template<class TYPE>
bdlb::NullOutputIterator< TYPE >::NullOutputIterator (  ) 

Create a NullOutputIterator object.

template<class TYPE>
bdlb::NullOutputIterator< TYPE >::NullOutputIterator ( const NullOutputIterator< TYPE > &  original  ) 

Create a NullOutputIterator object having the value of the specified original.

template<class TYPE>
bdlb::NullOutputIterator< TYPE >::~NullOutputIterator (  ) 

Destroy this object.


Member Function Documentation

template<class TYPE>
NullOutputIterator& bdlb::NullOutputIterator< TYPE >::operator= ( const NullOutputIterator< TYPE > &  rhs  ) 

Assign to this object the value of the specified rhs iterator, and return a reference providing modifiable access to this object.

template<class TYPE>
AssignmentProxy bdlb::NullOutputIterator< TYPE >::operator* (  ) 

Return an object that can appear on the left-hand side of an assignment from TYPE. The assignment to the returned object has no effect.

template<class TYPE>
NullOutputIterator& bdlb::NullOutputIterator< TYPE >::operator++ (  ) 

Set this object to point to the next writable element, and return a reference providing modifiable access to this object. This operation has no effect.

template<class TYPE>
NullOutputIterator& bdlb::NullOutputIterator< TYPE >::operator++ ( int   ) 

Set this object to point to the next writable element, and return a reference providing modifiable access to this object. This operation has no effect.


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