8#ifndef STORM_PARSER_MAPPEDFILE_H_
9#define STORM_PARSER_MAPPEDFILE_H_
19#if !defined LINUX && !defined MACOSX && !defined WINDOWS
20#error Platform not supported
76#if defined LINUX || defined MACOSX
Opens a file and maps it to memory providing a char* containing the file content.
char const * getData() const
Returns a pointer to the beginning of the mapped file data.
~MappedFile()
Destructs a MappedFile.
char const * getDataEnd() const
Returns a pointer to the end of the mapped file data.
std::size_t getDataSize() const
Returns the size of the mapped file data.