All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FS_DiskCache::Key Class Reference

#include <FS_DiskCache.h>

Public Member Functions

 Key (const UT_StringRef &value=UT_StringRef(), const UT_StringRef &suffix=UT_StringRef())
const UT_StringHolderfilename () const

Detailed Description

The key is composed of two main parts: 1) The value is used to uniquely identify the data in the file. This value is hashed to compute the filename in the cache and can be arbitrarily long. 2) The suffix is a short identifier - The first 32 characters of this suffix are appended to the value hash to create the filename. The key will automatically add the current major.minor release of the software (but not the build).

Definition at line 37 of file FS_DiskCache.h.

Constructor & Destructor Documentation

FS_DiskCache::Key::Key ( const UT_StringRef value = UT_StringRef(),
const UT_StringRef suffix = UT_StringRef() 

Definition at line 40 of file FS_DiskCache.h.

Member Function Documentation

const UT_StringHolder& FS_DiskCache::Key::filename ( ) const

Definition at line 45 of file FS_DiskCache.h.

The documentation for this class was generated from the following file: