SyTen
persistent.cpp File Reference

Implementation for inc/util/persistent.h. More...

+ Include dependency graph for persistent.cpp:

Namespaces

namespace  syten
 Syten namespace.
 

Functions

std::string syten::cacheFilename (std::string const &f)
 Given a string f, return the temporary cache filename, i.e. syten::cacheDir + "/" + f More...
 
void syten::initCache (std::string const &c)
 Set the cache directory syten::cacheDir for temporary objects. More...
 
loading facilities
void syten::clearCache (std::string const &f)
 If non-empty, delete the corresponding file. More...
 

Variables

static std::string syten::cacheDir = "./"
 Cache directory to use for temporary objects, set via initCache(), used by cacheFilename() More...
 

Detailed Description

Implementation for inc/util/persistent.h.