LibreOffice Module binaryurp (master) 1
|
#include <cache.hxx>
Classes | |
struct | CmpT |
Public Types | |
typedef sal_uInt16 | IdxType |
Public Member Functions | |
Cache (std::size_t size) | |
IdxType | add (const T &rContent, bool *pbFound) |
Private Types | |
typedef std::list< T > | LruList |
typedef LruList::iterator | LruListIt |
typedef std::map< LruListIt, IdxType, CmpT > | LruItMap |
Private Member Functions | |
Cache (const Cache &)=delete | |
Cache & | operator= (const Cache &)=delete |
Private Attributes | |
std::size_t | size_ |
LruItMap | map_ |
LruList | list_ |
typedef sal_uInt16 binaryurp::Cache< T >::IdxType |
|
private |
|
private |
|
private |
|
inlineexplicit |
Definition at line 43 of file cache.hxx.
References binaryurp::cache::ignore, and binaryurp::cache::size.
|
privatedelete |
|
inline |
Definition at line 49 of file cache.hxx.
References binaryurp::cache::ignore, inserted(), binaryurp::Cache< T >::list_, binaryurp::Cache< T >::map_, n, and binaryurp::Cache< T >::size_.
Referenced by binaryurp::Marshal::writeOid(), binaryurp::Marshal::writeTid(), and binaryurp::Marshal::writeType().
|
privatedelete |
|
private |
Definition at line 90 of file cache.hxx.
Referenced by binaryurp::Cache< T >::add().
|
private |
Definition at line 89 of file cache.hxx.
Referenced by binaryurp::Cache< T >::add().
|
private |
Definition at line 88 of file cache.hxx.
Referenced by binaryurp::Cache< T >::add().