Itoyori  v0.0.1
ityr::common::virtual_mem Class Reference

#include <virtual_mem.hpp>

Public Member Functions

 virtual_mem ()
 
 virtual_mem (std::size_t size, std::size_t alignment=alignof(max_align_t))
 
 virtual_mem (void *addr, std::size_t size, std::size_t alignment=alignof(max_align_t))
 
 ~virtual_mem ()
 
 virtual_mem (const virtual_mem &)=delete
 
virtual_memoperator= (const virtual_mem &)=delete
 
 virtual_mem (virtual_mem &&vm)
 
virtual_memoperator= (virtual_mem &&vm)
 
void * addr () const
 
std::size_t size () const
 
void shrink (std::size_t to_size)
 

Constructor & Destructor Documentation

◆ virtual_mem() [1/5]

ityr::common::virtual_mem::virtual_mem ( )
inline

◆ virtual_mem() [2/5]

ityr::common::virtual_mem::virtual_mem ( std::size_t  size,
std::size_t  alignment = alignof(max_align_t) 
)
inline

◆ virtual_mem() [3/5]

ityr::common::virtual_mem::virtual_mem ( void *  addr,
std::size_t  size,
std::size_t  alignment = alignof(max_align_t) 
)
inline

◆ ~virtual_mem()

ityr::common::virtual_mem::~virtual_mem ( )
inline

◆ virtual_mem() [4/5]

ityr::common::virtual_mem::virtual_mem ( const virtual_mem )
delete

◆ virtual_mem() [5/5]

ityr::common::virtual_mem::virtual_mem ( virtual_mem &&  vm)
inline

Member Function Documentation

◆ addr()

void* ityr::common::virtual_mem::addr ( ) const
inline

◆ operator=() [1/2]

virtual_mem& ityr::common::virtual_mem::operator= ( const virtual_mem )
delete

◆ operator=() [2/2]

virtual_mem& ityr::common::virtual_mem::operator= ( virtual_mem &&  vm)
inline

◆ shrink()

void ityr::common::virtual_mem::shrink ( std::size_t  to_size)
inline

◆ size()

std::size_t ityr::common::virtual_mem::size ( ) const
inline

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