CMS 3D CMS Logo

bostream_iterator< T > Class Template Reference

#include <MagneticField/Interpolation/src/bstream_iterator.h>

List of all members.

Public Member Functions

 bostream_iterator (binary_ofstream &s)
bostream_iteratoroperator * ()
bostream_iteratoroperator++ (int)
bostream_iteratoroperator++ ()
bostream_iteratoroperator= (const T &t)

Private Attributes

binary_ofstreamstream_


Detailed Description

template<typename T>
class bostream_iterator< T >

Definition at line 58 of file bstream_iterator.h.


Constructor & Destructor Documentation

template<typename T>
bostream_iterator< T >::bostream_iterator ( binary_ofstream s  )  [inline]

Definition at line 62 of file bstream_iterator.h.

00062 : stream_(&s) {}


Member Function Documentation

template<typename T>
bostream_iterator& bostream_iterator< T >::operator * ( void   )  [inline]

Definition at line 69 of file bstream_iterator.h.

00069 {return *this;}

template<typename T>
bostream_iterator& bostream_iterator< T >::operator++ ( int   )  [inline]

Definition at line 71 of file bstream_iterator.h.

00071 {return *this;}

template<typename T>
bostream_iterator& bostream_iterator< T >::operator++ ( void   )  [inline]

Definition at line 70 of file bstream_iterator.h.

00070 {return *this;}

template<typename T>
bostream_iterator& bostream_iterator< T >::operator= ( const T &  t  )  [inline]

Definition at line 64 of file bstream_iterator.h.

References bostream_iterator< T >::stream_.

00064                                               {
00065         *stream_ << t;
00066         return *this;
00067     }


Member Data Documentation

template<typename T>
binary_ofstream* bostream_iterator< T >::stream_ [private]

Definition at line 75 of file bstream_iterator.h.

Referenced by bostream_iterator< T >::operator=().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:15:02 2009 for CMSSW by  doxygen 1.5.4