/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Calibration/facilities/facilities-00-00-04/facilities/binarystream.h File Reference

#include "streamdef.h"

Go to the source code of this file.

Classes

class  basic_binstreambuf< _Ch, _Tr >
class  basic_binostream< _Ch, _Tr >
class  basic_binistream< _Ch, _Tr >

Typedefs

typedef basic_binostream<
char > 
binostream
typedef basic_binistream<
char > 
binistream
typedef basic_binstreambuf<
char > 
binstreambuf

Functions

template<class _Ty, class _Ch, class _Tr>
basic_binostream< _Ch, _Tr > & operator<< (basic_binostream< _Ch, _Tr > &o, const _Ty t)
template<class _Ty, class _Ch, class _Tr>
basic_binistream< _Ch, _Tr > & operator>> (basic_binistream< _Ch, _Tr > &i, _Ty &t)


Typedef Documentation

typedef basic_binistream<char> binistream

Definition at line 147 of file binarystream.h.

typedef basic_binostream<char> binostream

Definition at line 146 of file binarystream.h.

typedef basic_binstreambuf<char> binstreambuf

Definition at line 148 of file binarystream.h.


Function Documentation

template<class _Ty, class _Ch, class _Tr>
basic_binostream<_Ch, _Tr>& operator<< ( basic_binostream< _Ch, _Tr > &  o,
const _Ty  t 
) [inline]

Definition at line 130 of file binarystream.h.

References t().

00130                                                                                                {
00131     int     sz = sizeof(_Ty);
00132     o.write ((const _Ch*)(&t), sz);
00133     return o;
00134 }

template<class _Ty, class _Ch, class _Tr>
basic_binistream<_Ch,_Tr>& operator>> ( basic_binistream< _Ch, _Tr > &  i,
_Ty &  t 
) [inline]

Definition at line 137 of file binarystream.h.

References genRecEmupikp::i.

00137                                                                                         {
00138     int     sz = sizeof(_Ty);
00139     i.read ((_Ch*)(&t),sz);
00140     return i;
00141 }


Generated on Tue Nov 29 23:14:52 2016 for BOSS_7.0.2 by  doxygen 1.4.7