CMS 3D CMS Logo

Public Member Functions | Private Attributes

bostream_iterator< T > Class Template Reference

#include <bstream_iterator.h>

List of all members.

Public Member Functions

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

Private Attributes

binary_ofstreamstream_

Detailed Description

template<typename T>
class bostream_iterator< T >

Definition at line 59 of file bstream_iterator.h.


Constructor & Destructor Documentation

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

Definition at line 63 of file bstream_iterator.h.

: stream_(&s) {}

Member Function Documentation

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

Definition at line 70 of file bstream_iterator.h.

{return *this;}
template<typename T >
bostream_iterator& bostream_iterator< T >::operator++ ( int  ) [inline]

Definition at line 72 of file bstream_iterator.h.

{return *this;}
template<typename T >
bostream_iterator& bostream_iterator< T >::operator++ ( void  ) [inline]

Definition at line 71 of file bstream_iterator.h.

{return *this;}
template<typename T >
bostream_iterator& bostream_iterator< T >::operator= ( const T t) [inline]

Definition at line 65 of file bstream_iterator.h.

References lumiQTWidget::t.

                                              {
        *stream_ << t;
        return *this;
    }

Member Data Documentation

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

Definition at line 76 of file bstream_iterator.h.