BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlb::NullOutputIterator< TYPE > Class Template Reference

#include <bdlb_nulloutputiterator.h>

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 ()
 Create a NullOutputIterator object.
 
 NullOutputIterator (const NullOutputIterator &original)
 
 ~NullOutputIterator ()
 Destroy this object.
 
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.

Member Typedef Documentation

◆ AssignmentProxy

template<class TYPE >
typedef NullOutputIteratorAssignmentProxy<TYPE> bdlb::NullOutputIterator< TYPE >::AssignmentProxy

AssignmentProxy is an alias for an object type returned by de-referencing operator.

◆ difference_type

template<class TYPE >
typedef void bdlb::NullOutputIterator< TYPE >::difference_type

◆ iterator_category

template<class TYPE >
typedef bsl::output_iterator_tag bdlb::NullOutputIterator< TYPE >::iterator_category

◆ pointer

template<class TYPE >
typedef void bdlb::NullOutputIterator< TYPE >::pointer

◆ reference

template<class TYPE >
typedef void bdlb::NullOutputIterator< TYPE >::reference

◆ value_type

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

Constructor & Destructor Documentation

◆ NullOutputIterator() [1/2]

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

◆ NullOutputIterator() [2/2]

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

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

◆ ~NullOutputIterator()

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

Member Function Documentation

◆ operator*()

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

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.

◆ operator++() [1/2]

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

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.

◆ operator++() [2/2]

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

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.

◆ operator=()

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

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


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