3 #ifndef INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_ 4 #define INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_ 18 buffer_size(buffer_size_) {}
26 is_internal_buf_(false) {}
30 return this->Init(settings);
39 virtual size_t FillBuffer_(
void* p,
size_t nbytes) NLIB_NOEXCEPT
NLIB_OVERRIDE;
41 virtual void* GetWorkBuffer_(
size_t* nbytes) NLIB_NOEXCEPT
NLIB_OVERRIDE;
47 bool is_internal_buf_;
53 #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.