Itoyori  v0.0.1
ityr::ori::file_mem Class Reference

#include <file_mem.hpp>

Public Member Functions

 file_mem ()
 
 file_mem (const std::string &fpath)
 
 ~file_mem ()
 
 file_mem (const file_mem &)=delete
 
file_memoperator= (const file_mem &)=delete
 
 file_mem (file_mem &&fm)
 
file_memoperator= (file_mem &&fm)
 
std::size_t size () const
 
void map_to_vm (void *addr, std::size_t size, std::size_t offset) const
 

Constructor & Destructor Documentation

◆ file_mem() [1/4]

ityr::ori::file_mem::file_mem ( )
inline

◆ file_mem() [2/4]

ityr::ori::file_mem::file_mem ( const std::string &  fpath)
inlineexplicit

◆ ~file_mem()

ityr::ori::file_mem::~file_mem ( )
inline

◆ file_mem() [3/4]

ityr::ori::file_mem::file_mem ( const file_mem )
delete

◆ file_mem() [4/4]

ityr::ori::file_mem::file_mem ( file_mem &&  fm)
inline

Member Function Documentation

◆ map_to_vm()

void ityr::ori::file_mem::map_to_vm ( void *  addr,
std::size_t  size,
std::size_t  offset 
) const
inline

◆ operator=() [1/2]

file_mem& ityr::ori::file_mem::operator= ( const file_mem )
delete

◆ operator=() [2/2]

file_mem& ityr::ori::file_mem::operator= ( file_mem &&  fm)
inline

◆ size()

std::size_t ityr::ori::file_mem::size ( ) const
inline

The documentation for this class was generated from the following file: