lib.res.file
Class ExtantBufMgr
in file_cache.cpp
- class ExtantBufMgr
|
Method Summary |
void |
add( FileIOBuf buf, size_t size, const char* atom_fn, uint fb_flags )
|
void |
add_ref( FileIOBuf buf, size_t size, const char* atom_fn, bool long_lived )
|
void |
clear()
|
void |
display_all_remaining()
|
ssize_t |
find( FileIOBuf buf ) const
|
bool |
find_and_remove( FileIOBuf buf, size_t& size, const char*& atom_fn )
|
const char* |
get_owner_filename( FileIOBuf buf )
|
private bool |
matches( const ExtantBufMgr::ExtantBuf& eb, FileIOBuf buf ) const
|
void |
replace_owner( FileIOBuf buf, const char* atom_fn )
|
epoch
private uint epoch;
extant_bufs
private std::vector< ExtantBufMgr::ExtantBuf > extant_bufs;
ExtantBufMgr
public ExtantBufMgr();
add
public void add( FileIOBuf buf, size_t size, const char* atom_fn, uint fb_flags );
add_ref
public void add_ref( FileIOBuf buf, size_t size, const char* atom_fn, bool long_lived );
clear
public void clear();
display_all_remaining
public void display_all_remaining();
find
public ssize_t find( FileIOBuf buf ) const;
find_and_remove
public bool find_and_remove( FileIOBuf buf, size_t& size, const char*& atom_fn );
get_owner_filename
public const char* get_owner_filename( FileIOBuf buf );
matches
private bool matches( const ExtantBufMgr::ExtantBuf& eb, FileIOBuf buf ) const;
replace_owner
public void replace_owner( FileIOBuf buf, const char* atom_fn );