#include <vxml.h>
Inheritance diagram for PVXMLCache:
Public Member Functions | |
PVXMLCache (const PDirectory &directory) | |
PFilePath | CreateFilename (const PString &prefix, const PString &key, const PString &fileType) |
void | Put (const PString &prefix, const PString &key, const PString &fileType, const PString &contentType, const PFilePath &fn, PFilePath &dataFn) |
PBoolean | Get (const PString &prefix, const PString &key, const PString &fileType, PString &contentType, PFilePath &fn) |
PFilePath | GetCacheDir () const |
PFilePath | GetRandomFilename (const PString &prefix, const PString &fileType) |
Static Public Member Functions | |
static PVXMLCache & | GetResourceCache () |
Protected Attributes | |
PDirectory | directory |
PVXMLCache::PVXMLCache | ( | const PDirectory & | directory | ) |
PFilePath PVXMLCache::CreateFilename | ( | const PString & | prefix, | |
const PString & | key, | |||
const PString & | fileType | |||
) |
PBoolean PVXMLCache::Get | ( | const PString & | prefix, | |
const PString & | key, | |||
const PString & | fileType, | |||
PString & | contentType, | |||
PFilePath & | fn | |||
) |
PFilePath PVXMLCache::GetCacheDir | ( | ) | const [inline] |
static PVXMLCache& PVXMLCache::GetResourceCache | ( | ) | [static] |
void PVXMLCache::Put | ( | const PString & | prefix, | |
const PString & | key, | |||
const PString & | fileType, | |||
const PString & | contentType, | |||
const PFilePath & | fn, | |||
PFilePath & | dataFn | |||
) |
PDirectory PVXMLCache::directory [protected] |