![]() |
Bitcoin ABC 0.32.4
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 (std::FILE *file) | |
| ~AutoFile () | |
| AutoFile (const AutoFile &)=delete | |
| AutoFile & | operator= (const AutoFile &)=delete |
| bool | feof () const |
| int | fclose () |
| std::FILE * | release () |
| Get wrapped FILE* with transfer of ownership. More... | |
| std::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... | |
| std::size_t | detail_fread (Span< std::byte > dst) |
| Implementation detail, only used internally. More... | |
| void | read (Span< std::byte > dst) |
| void | ignore (size_t nSize) |
| void | write (Span< const std::byte > src) |
| 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 | |
| std::FILE * | m_file |
|
inline |
|
inline |
|
inline |
|
inline |