Libosmium  2.7.1
Fast and flexible C++ library for working with OpenStreetMap data
Public Member Functions | List of all members
osmium::util::AnonymousTypedMemoryMapping< T > Class Template Reference

#include <memory_mapping.hpp>

Inheritance diagram for osmium::util::AnonymousTypedMemoryMapping< T >:
Inheritance graph
[legend]
Collaboration diagram for osmium::util::AnonymousTypedMemoryMapping< T >:
Collaboration graph
[legend]

Public Member Functions

 AnonymousTypedMemoryMapping (size_t size)
 
- Public Member Functions inherited from osmium::util::TypedMemoryMapping< T >
 TypedMemoryMapping (size_t size)
 
 TypedMemoryMapping (size_t size, MemoryMapping::mapping_mode mode, int fd, off_t offset=0)
 
OSMIUM_DEPRECATED TypedMemoryMapping (size_t size, bool writable, int fd, off_t offset=0)
 
 TypedMemoryMapping (const TypedMemoryMapping &)=delete
 You can not copy construct a TypedMemoryMapping. More...
 
TypedMemoryMappingoperator= (const TypedMemoryMapping &)=delete
 You can not copy a MemoryMapping. More...
 
 TypedMemoryMapping (TypedMemoryMapping &&other)=default
 
TypedMemoryMappingoperator= (TypedMemoryMapping &&other)=default
 
 ~TypedMemoryMapping () noexcept=default
 
void unmap ()
 
void resize (size_t new_size)
 
 operator bool () const noexcept
 
size_t size () const noexcept
 
int fd () const noexcept
 
bool writable () const noexcept
 
T * begin ()
 
T * end ()
 
const T * cbegin () const
 
const T * cend () const
 
const T * begin () const
 
const T * end () const
 

Constructor & Destructor Documentation

template<typename T >
osmium::util::AnonymousTypedMemoryMapping< T >::AnonymousTypedMemoryMapping ( size_t  size)
inline

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