|
| std::string | syten::cacheFilename (std::string const &f) |
| | Given a string f, return the temporary cache filename, i.e. syten::cacheDir + "/" + f More...
|
| |
| template<typename T > |
| std::string | syten::cacheFilename (T const &t, Index const l, std::string const &add="") |
| | Returns an unique identifier for files. More...
|
| |
| void | syten::initCache (std::string const &c) |
| | Set the cache directory syten::cacheDir for temporary objects. More...
|
| |
| template<typename T > |
| std::string | syten::save (T &t) |
| | Save an object into a temporary file. More...
|
| |
| template<typename T > |
| void | syten::save (T &t, std::string const &where) |
| | Save an object into a file. More...
|
| |
| template<typename T > |
| int | syten::serialise_configuration (T &ar, std::string const &file) |
| | Writes and reads configuration data from files, ensuring compatibility between the read file and the reading binary. More...
|
| |
|
| void | syten::clearCache (std::string const &f) |
| | If non-empty, delete the corresponding file. More...
|
| |
| template<typename Type > |
| void | syten::load_archive (boost::archive::binary_iarchive &ar, Type &r, std::string const &file) |
| | Loads from the archive ar into the object r. More...
|
| |
| template<typename Type > |
| void | syten::loadCacheRef (std::string const &file, Type &r) |
| | Loads from a cache file file into an object r without discarding non-overwritten properties of r. More...
|
| |
| template<typename Type > |
| void | syten::loadCheckpointRef (std::string const &file, Type &r) |
| | Load file into reference and deletes file on disk. More...
|
| |
| template<typename Type > |
| Type | syten::loadFile (std::string file, bool const fromCache, bool const clearAfter) |
| | Returns an object of type Type loaded from file. More...
|
| |
| template<typename Type > |
| void | syten::loadFile (std::string file, bool const fromCache, bool const clearAfter, Type &r) |
| | Loads an object of type Type from file into r. More...
|
| |
| template<typename Type > |
| void | syten::loadInputRef (std::string const &file, Type &r) |
| | Loads from an input file file into an object r without deleting the input file or discarding non-overwritten properties of r. More...
|
| |
Saving, loading, caching and uncaching of objects using the boost libraries.