Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

lib.res.file
Class ExtantBufMgr

   in file_cache.cpp

class ExtantBufMgr


Inner Classes, Typedefs, and Enums
struct ExtantBufMgr::ExtantBuf
          
 
Field Summary
private uint epoch
          
private std::vector< ExtantBufMgr::ExtantBuf > extant_bufs
          
 
Constructor Summary
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 )
          
 

Field Detail

epoch

private uint epoch;

extant_bufs

private std::vector< ExtantBufMgr::ExtantBuf > extant_bufs;


Constructor Detail

ExtantBufMgr

public ExtantBufMgr();


Method Detail

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 );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD