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 51 of file bstream_iterator.h.

Constructor & Destructor Documentation

◆ bostream_iterator()

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

Definition at line 53 of file bstream_iterator.h.

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

Member Function Documentation

◆ operator*()

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

Definition at line 60 of file bstream_iterator.h.

60 { return *this; }

◆ operator++() [1/2]

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

Definition at line 61 of file bstream_iterator.h.

61 { return *this; }

◆ operator++() [2/2]

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

Definition at line 62 of file bstream_iterator.h.

62 { return *this; }

◆ operator=()

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

Definition at line 55 of file bstream_iterator.h.

References submitPVValidationJobs::t.

55  {
56  *stream_ << t;
57  return *this;
58  }
binary_ofstream * stream_

Member Data Documentation

◆ stream_

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

Definition at line 65 of file bstream_iterator.h.