CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
bostream_iterator< T > Class Template Reference

#include <bstream_iterator.h>

Inheritance diagram for bostream_iterator< T >:

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.

63 : stream_(&s) {}
binary_ofstream * stream_

Member Function Documentation

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

Definition at line 70 of file bstream_iterator.h.

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

Definition at line 71 of file bstream_iterator.h.

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

Definition at line 72 of file bstream_iterator.h.

72 {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 bistream_iterator< T >::stream_, and OrderedSet::t.

65  {
66  *stream_ << t;
67  return *this;
68  }
binary_ofstream * stream_

Member Data Documentation

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

Definition at line 76 of file bstream_iterator.h.