include/basix/storage.hpp File Reference
#include <basix/exception.hpp>
#include <basix/string.hpp>
#include <basix/vector.hpp>
Go to the source code of this file.
Classes
Namespaces
Functions
- storage_rep * inside (const storage &x)
- template<> nat hard_hash (const storage &x)
- template<> bool hard_eq (const storage &x, const storage &y)
- template<> bool hard_neq (const storage &x, const storage &y)
- nat exact_hash (const storage &x)
- bool exact_eq (const storage &x, const storage &y)
- bool exact_neq (const storage &x, const storage &y)
- nat hash (const storage &x)
- bool operator== (const storage &x, const storage &y)
- bool operator!= (const storage &x, const storage &y)
- syntactic flatten (const storage &st)
- storage disk_storage ()
- storage disk_storage (const string &root)
- Create storage which will be stored on disk in ~/.mathemagix/cache.
- storage cached_storage (const storage &st)
- Create storage which will be stored on disk in the directory root.
- void write (const storage &st, const string &var, const string &val)
- Wrap storage st such that values will be read at most once from server.
- string read (const storage &st, const string &var)
- Set variable var to val on storage st.
- void lock (const storage &st, const string &var)
- Read variable var from storage st.
- void unlock (const storage &st, const string &var)
- Lock variable var on storage st.
- storage get_branch (const storage &st, const string &br)
- Unlock variable var on storage st.
- bool has_branch (const storage &st, const string &br)
- Get branch br from storage st and create one if the branch does not exist.
- string get_file (const storage &st, const string &orig)
- Check whether the storage st admits a branch br.
- bool has_file (const storage &st, const string &orig)
- Get a shadow name for a file orig on the storage, with the same extension.
- vector< string > retrieve_data (const storage &st)
- Check whether the storage admits a shadow for the file orig.
- vector< string > retrieve_branches (const storage &st)
- Retrieve all variables for storage st.
- vector< string > retrieve_files (const storage &st)
- Retrieve all branches for storage st.
- vector< generic > retrieve_data_bis (const storage &st)
- Retrieve all files for storage st.
- vector< generic > retrieve_branches_bis (const storage &st)
- Retrieve all variables for storage st.
- vector< generic > retrieve_files_bis (const storage &st)
- Retrieve all branches for storage st.
Detailed Description
Definition in file storage.hpp.