A simple container to hold the function pointer given by user for reading the serialized bitmaps. More...
#include <index.h>
Public Member Functions | |
| bitmapReader (void *ctx, FastBitReadBitmaps rd) | |
| Constructor. | |
| int | read (uint64_t b, uint64_t c, ibis::fileManager::buffer< uint32_t > &buf) |
| The main function to read the serialized bitmaps. More... | |
| int | read (uint64_t b, uint64_t c, ibis::array_t< uint32_t > &buf) |
| The main function to read the serialized bitmaps. More... | |
A simple container to hold the function pointer given by user for reading the serialized bitmaps.
|
inline |
The main function to read the serialized bitmaps.
It assumes the bitmaps have been serialized and packed into a 1-D array of type uint32_t. This function intends to read c elements start with b. It uses the buffer buf to hold the in-memory data so that the memory can be resized as needed and tracked by the file manager.
References ibis::fileManager::buffer< T >::address(), ibis::fileManager::buffer< T >::resize(), and ibis::fileManager::buffer< T >::size().
|
inline |
The main function to read the serialized bitmaps.
It assumes the bitmaps have been serialized and packed into a 1-D array of type uint32_t. This function intends to read c elements start with b. It uses the array buf to hold the in-memory data so that the memory can be resized as needed and tracked by the file manager.
References ibis::array_t< T >::resize(), and ibis::array_t< T >::size().
|
| |