Public Member Functions | Public Attributes | List of all members
gb_cache Struct Reference

#include <gb_main.h>

Inheritance diagram for gb_cache:
Inheritance graph
Collaboration diagram for gb_cache:
Collaboration graph

Public Member Functions

 gb_cache ()
 ~gb_cache ()
- Public Member Functions inherited from Noncopyable
 Noncopyable ()

Public Attributes

gb_cache_idx firstfree_entry
gb_cache_idx newest_entry
gb_cache_idx oldest_entry
size_t sum_data_size
size_t max_data_size
size_t big_data_min_size

Detailed Description

Definition at line 60 of file gb_main.h.

Constructor & Destructor Documentation

gb_cache::gb_cache ( )
gb_cache::~gb_cache ( )

Member Data Documentation

gb_cache_entry* gb_cache::entries
gb_cache_idx gb_cache::firstfree_entry

Definition at line 63 of file gb_main.h.

Referenced by cache_free_some_memory(), flush_cache_entry(), and gb_alloc_cache_index().

gb_cache_idx gb_cache::newest_entry

Definition at line 64 of file gb_main.h.

Referenced by entry_is_linked(), link_cache_entry_to_top(), unlink_cache_entry(), and ~gb_cache().

gb_cache_idx gb_cache::oldest_entry
size_t gb_cache::sum_data_size
size_t gb_cache::max_data_size

Definition at line 68 of file gb_main.h.

Referenced by cache_free_some_memory(), and GB_set_cache_size().

size_t gb_cache::big_data_min_size

Definition at line 69 of file gb_main.h.

Referenced by GB_set_cache_size(), and link_cache_entry_to_top().

The documentation for this struct was generated from the following files: