CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
basic_binistream< _Ch, _Tr > Class Template Reference

#include <binarystream.h>

+ Inheritance diagram for basic_binistream< _Ch, _Tr >:

Public Member Functions

 basic_binistream (const _Ch *ptr)
 
virtual ~basic_binistream ()
 

Detailed Description

template<class _Ch, class _Tr = std::char_traits<_Ch>>
class basic_binistream< _Ch, _Tr >

Definition at line 114 of file binarystream.h.

Constructor & Destructor Documentation

◆ basic_binistream()

template<class _Ch , class _Tr = std::char_traits<_Ch>>
basic_binistream< _Ch, _Tr >::basic_binistream ( const _Ch *  ptr)
inline

Definition at line 117 of file binarystream.h.

119 : std::basic_istream<_Ch,_Tr>(_buf = new basic_binstreambuf<_Ch,_Tr>(ptr)) {}
120#else
121 : basic_istream (_buf = new basic_binstreambuf<_Ch,_Tr>(ptr)) {}

◆ ~basic_binistream()

template<class _Ch , class _Tr = std::char_traits<_Ch>>
virtual basic_binistream< _Ch, _Tr >::~basic_binistream ( )
inlinevirtual

Definition at line 123 of file binarystream.h.

123{ delete _buf; }

The documentation for this class was generated from the following file: