Volume Cartographer 2.27.0
Classes | Namespaces | Functions
MemMap.hpp File Reference
#include <cstdint>
#include "vc/core/filesystem.hpp"
Include dependency graph for MemMap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  volcart::mmap_info
 Memmap record. More...
 
struct  volcart::auto_mmap_info
 Memmap record which automatically unmaps the file on destruction. More...
 

Namespaces

namespace  volcart
 Volume Cartographer library
 

Functions

auto volcart::endian::little () -> bool
 
auto volcart::endian::big () -> bool
 
auto volcart::MemmapFile (const filesystem::path &path) -> mmap_info
 Memory map a file. More...
 
auto volcart::UnmapFile (mmap_info &mmap_info) -> int
 Unmap a memory mapped file. More...
 
auto volcart::memmap_supported () -> bool
 

Function Documentation

◆ big()

auto volcart::endian::big ( ) -> bool

Returns whether the system is big endian

◆ little()

auto volcart::endian::little ( ) -> bool

Returns whether the system is little endian