3 #ifndef INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_
4 #define INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_
18 buffer_size(buffer_size_) {}
26 m_IsInternalBuffer(false) {}
30 return this->Init(settings);
39 virtual size_t FillBuffer_(
void* p,
size_t nBytes) NLIB_NOEXCEPT
NLIB_OVERRIDE;
40 virtual bool Close_() NLIB_NOEXCEPT NLIB_OVERRIDE;
41 virtual
void* GetWorkBuffer_(
size_t* nBytes) NLIB_NOEXCEPT NLIB_OVERRIDE;
47 bool m_IsInternalBuffer;
53 #endif // INCLUDE_NN_NLIB_FILEINPUTSTREAM_H_
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
#define NLIB_FINAL
Defines final 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_OVERRIDE
Defines override if it is available for use. If not, holds an empty string.
#define NLIB_CEXPR
Defines constexpr if it is available for use. If not, holds an empty string.