ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
OldMMapVec Class Reference
Collaboration diagram for OldMMapVec:

Public Member Functions

void open (const std::string &path, size_t elem_size)
 ~OldMMapVec ()
unsigned long size () const
const void * at (unsigned long k) const

Private Attributes

void * base_ = nullptr
size_t sz_ = 0
const OldVecHdrhdr_ = nullptr
const uint8_t * elems_ = nullptr
size_t esz_ = 0

Detailed Description

Definition at line 131 of file provsql_migrate_mmap.cpp.

Constructor & Destructor Documentation

◆ ~OldMMapVec()

OldMMapVec::~OldMMapVec ( )
inline

Definition at line 151 of file provsql_migrate_mmap.cpp.

Member Function Documentation

◆ at()

const void * OldMMapVec::at ( unsigned long k) const
inline

Definition at line 153 of file provsql_migrate_mmap.cpp.

Here is the caller graph for this function:

◆ open()

void OldMMapVec::open ( const std::string & path,
size_t elem_size )
inline

Definition at line 138 of file provsql_migrate_mmap.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

unsigned long OldMMapVec::size ( ) const
inline

Definition at line 152 of file provsql_migrate_mmap.cpp.

Member Data Documentation

◆ base_

void* OldMMapVec::base_ = nullptr
private

Definition at line 132 of file provsql_migrate_mmap.cpp.

◆ elems_

const uint8_t* OldMMapVec::elems_ = nullptr
private

Definition at line 135 of file provsql_migrate_mmap.cpp.

◆ esz_

size_t OldMMapVec::esz_ = 0
private

Definition at line 136 of file provsql_migrate_mmap.cpp.

◆ hdr_

const OldVecHdr* OldMMapVec::hdr_ = nullptr
private

Definition at line 134 of file provsql_migrate_mmap.cpp.

◆ sz_

size_t OldMMapVec::sz_ = 0
private

Definition at line 133 of file provsql_migrate_mmap.cpp.


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