libMesh::null_output_iterator< T > Struct Template Reference

A do-nothing output iterator implementation. More...

#include <null_output_iterator.h>

Inheritance diagram for libMesh::null_output_iterator< T >:

Public Member Functions

template<typename T2 >
void operator= (const T2 &)
 
null_output_iteratoroperator++ ()
 
null_output_iterator operator++ (int)
 
null_output_iteratoroperator* ()
 

Detailed Description

template<typename T>
struct libMesh::null_output_iterator< T >

A do-nothing output iterator implementation.

A do-nothing class for templated methods that expect output iterator arguments.

Author
Roy Stogner
Date
2012

Definition at line 40 of file null_output_iterator.h.

Member Function Documentation

◆ operator*()

template<typename T >
null_output_iterator& libMesh::null_output_iterator< T >::operator* ( )
inline

Definition at line 56 of file null_output_iterator.h.

56 { return *this; }

◆ operator++() [1/2]

template<typename T >
null_output_iterator& libMesh::null_output_iterator< T >::operator++ ( )
inline

Definition at line 46 of file null_output_iterator.h.

46  {
47  return *this;
48  }

◆ operator++() [2/2]

template<typename T >
null_output_iterator libMesh::null_output_iterator< T >::operator++ ( int  )
inline

Definition at line 50 of file null_output_iterator.h.

50  {
51  return null_output_iterator(*this);
52  }

◆ operator=()

template<typename T >
template<typename T2 >
void libMesh::null_output_iterator< T >::operator= ( const T2 &  )
inline

Definition at line 44 of file null_output_iterator.h.

44 {}

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