Classes
fileManager.h File Reference

Defines a simple file manager. More...

#include "util.h"
#include <set>
#include <map>

Go to the source code of this file.

Classes

class  ibis::fileManager
 This fileManager is intended to allow different objects to share the same open file. More...
class  ibis::fileManager::buffer< T >
 A buffer is intended to be a temporary workspace in memory. More...
class  ibis::fileManager::cleaner
 A function object to be used to register external cleaners. More...
class  ibis::fileManager::readLock
 A read lock on the file manager. More...
class  ibis::fileManager::roFile
 This class manages content of a whole (read-only) file. More...
class  ibis::fileManager::softWriteLock
 A soft write lock for controlling access to the two internal lists. More...
class  ibis::fileManager::storage
 The storage class treats all memory as char*. More...
class  ibis::fileManager::writeLock
 A write lock for controlling access to the two internal lists. More...

Detailed Description

Defines a simple file manager.

Note:
Use malloc and realloc to manage memory when the file content is actually in memory. The main reason for doing so is to malloc for resizing. This may potentially cause problems with memory allocation through the new operator provided by C++ compiler.

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive