Bitcoin ABC
0.28.12
P2P Digital Currency
|
#include <streams.h>
Public Member Functions | |
CAutoFile (FILE *filenew, int nTypeIn, int nVersionIn) | |
int | GetType () const |
int | GetVersion () const |
template<typename T > | |
CAutoFile & | operator<< (const T &obj) |
template<typename T > | |
CAutoFile & | operator>> (T &&obj) |
Public Member Functions inherited from AutoFile | |
AutoFile (FILE *filenew) | |
~AutoFile () | |
AutoFile (const AutoFile &)=delete | |
AutoFile & | operator= (const AutoFile &)=delete |
int | fclose () |
FILE * | release () |
Get wrapped FILE* with transfer of ownership. More... | |
FILE * | Get () const |
Get wrapped FILE* without transfer of ownership. More... | |
bool | IsNull () const |
Return true if the wrapped FILE* is nullptr, false otherwise. More... | |
void | read (char *pch, size_t nSize) |
void | ignore (size_t nSize) |
void | write (const char *pch, size_t nSize) |
template<typename T > | |
AutoFile & | operator<< (const T &obj) |
template<typename T > | |
AutoFile & | operator>> (T &&obj) |
Private Attributes | |
const int | nType |
const int | nVersion |
Additional Inherited Members | |
Protected Attributes inherited from AutoFile | |
FILE * | file |
|
inline |
|
inline |
|
inline |
|
inline |