![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
On-disk layout stored at the start of the backing file. More...
Public Attributes | |
| uint64_t | magic |
| File-type identifier. | |
| uint16_t | version |
| Format version (currently 1). | |
| uint16_t | elem_size |
| sizeof(T) at write time | |
| uint32_t | _reserved |
| Padding to 16-byte boundary, must be 0. | |
| unsigned long | nb_elements |
| Number of elements currently stored. | |
| unsigned long | capacity |
| Maximum elements before the next grow. | |
| T | d [] |
| Flexible array of elements. | |
On-disk layout stored at the start of the backing file.
d is a flexible array member holding the actual elements.
Definition at line 43 of file MMappedVector.h.
| uint32_t MMappedVector< T >::data_t::_reserved |
Padding to 16-byte boundary, must be 0.
Definition at line 47 of file MMappedVector.h.
| unsigned long MMappedVector< T >::data_t::capacity |
Maximum elements before the next grow.
Definition at line 49 of file MMappedVector.h.
| T MMappedVector< T >::data_t::d[] |
Flexible array of elements.
Definition at line 50 of file MMappedVector.h.
| uint16_t MMappedVector< T >::data_t::elem_size |
sizeof(T) at write time
Definition at line 46 of file MMappedVector.h.
| uint64_t MMappedVector< T >::data_t::magic |
File-type identifier.
Definition at line 44 of file MMappedVector.h.
| unsigned long MMappedVector< T >::data_t::nb_elements |
Number of elements currently stored.
Definition at line 48 of file MMappedVector.h.
| uint16_t MMappedVector< T >::data_t::version |
Format version (currently 1).
Definition at line 45 of file MMappedVector.h.