65class LASS_DLL BinaryIMemoryMap:
public BinaryIStream
70 BinaryIMemoryMap(
const char* filename);
71 BinaryIMemoryMap(
const std::string& filename);
72#if LASS_HAVE_WCHAR_SUPPORT
73 BinaryIMemoryMap(
const wchar_t* filename);
74 BinaryIMemoryMap(
const std::wstring& filename);
76#if LASS_HAVE_STD_FILESYSTEM
77 BinaryIMemoryMap(
const std::filesystem::path& filename);
82 void open(
const char* filename);
83 void open(
const std::string& filename);
84#if LASS_HAVE_WCHAR_SUPPORT
85 void open(
const wchar_t* filename);
86 void open(
const std::wstring& filename);
88#if LASS_HAVE_STD_FILESYSTEM
89 void open(
const std::filesystem::path& filename);
96 pos_type doTellg()
const override;
97 void doSeekg(pos_type position)
override;
98 void doSeekg(off_type offset, std::ios_base::seekdir direction)
override;
99 size_t doRead(
void* output,
size_t numberOfBytes)
override;
101 std::unique_ptr<impl::BinaryIMemoryMapImpl> pimpl_;
102 size_t position_ { 0 };