CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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.

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

Member Function Documentation

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

Definition at line 69 of file bstream_iterator.h.

69 {return *this;}
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++ ( int  )
inline

Definition at line 71 of file bstream_iterator.h.

71 {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_, and matplotRender::t.

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

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=().