16 #ifndef INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_ 17 #define INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_ 31 buffer_size(buffer_size_) {}
39 is_internal_buf_(false) {}
43 return this->Init(settings);
52 virtual size_t FillBuffer_(
void* p,
size_t nbytes) NLIB_NOEXCEPT
NLIB_OVERRIDE;
54 virtual void* GetWorkBuffer_(
size_t* nbytes) NLIB_NOEXCEPT
NLIB_OVERRIDE;
60 bool is_internal_buf_;
66 #endif // INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_ #define NLIB_OVERRIDE
Defines override if it is available for use. If not, holds an empty string.
#define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
#define NLIB_CEXPR
Defines constexpr if it is available for use. If not, holds an empty string.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.