libmoost
|
#include <map_store.hpp>
Public Member Functions | |
scoped_block (map_store< Key, HashFcn > &map_store_, const Key &key) | |
scoped_block (map_store< Key, HashFcn > &map_store_, const Key &key, size_t block_size) | |
~scoped_block () | |
void | free () |
std::fstream & | operator* () |
std::fstream * | operator-> () |
size_t | index () |
size_t | block_size () |
operator bool () const | |
bool | operator! () const |
Private Attributes | |
map_store< Key, HashFcn > & | m_map_store |
const Key | m_key |
boost::scoped_ptr < variable_store::scoped_block > | m_pscoped_block |
bool | m_free |
scoped_block secures a block from the map_store, and exposes functionality of its predecessors
Definition at line 115 of file map_store.hpp.
moost::io::map_store< Key, HashFcn >::scoped_block::scoped_block | ( | map_store< Key, HashFcn > & | map_store_, |
const Key & | key | ||
) | [inline] |
moost::io::map_store< Key, HashFcn >::scoped_block::scoped_block | ( | map_store< Key, HashFcn > & | map_store_, |
const Key & | key, | ||
size_t | block_size | ||
) | [inline] |
moost::io::map_store< Key, HashFcn >::scoped_block::~scoped_block | ( | ) | [inline] |
Definition at line 140 of file map_store.hpp.
size_t moost::io::map_store< Key, HashFcn >::scoped_block::block_size | ( | ) | [inline] |
Definition at line 153 of file map_store.hpp.
void moost::io::map_store< Key, HashFcn >::scoped_block::free | ( | ) | [inline] |
size_t moost::io::map_store< Key, HashFcn >::scoped_block::index | ( | ) | [inline] |
moost::io::map_store< Key, HashFcn >::scoped_block::operator bool | ( | ) | const [inline] |
Definition at line 154 of file map_store.hpp.
bool moost::io::map_store< Key, HashFcn >::scoped_block::operator! | ( | ) | const [inline] |
Definition at line 155 of file map_store.hpp.
std::fstream& moost::io::map_store< Key, HashFcn >::scoped_block::operator* | ( | ) | [inline] |
Definition at line 150 of file map_store.hpp.
std::fstream* moost::io::map_store< Key, HashFcn >::scoped_block::operator-> | ( | ) | [inline] |
Definition at line 151 of file map_store.hpp.
bool moost::io::map_store< Key, HashFcn >::scoped_block::m_free [private] |
Definition at line 121 of file map_store.hpp.
const Key moost::io::map_store< Key, HashFcn >::scoped_block::m_key [private] |
Definition at line 119 of file map_store.hpp.
map_store<Key, HashFcn>& moost::io::map_store< Key, HashFcn >::scoped_block::m_map_store [private] |
Definition at line 118 of file map_store.hpp.
boost::scoped_ptr< variable_store::scoped_block > moost::io::map_store< Key, HashFcn >::scoped_block::m_pscoped_block [private] |
Definition at line 120 of file map_store.hpp.