A direct mode cache manifest.
More...
#include <direct_mode_manifest.hpp>
|
|
std::string | m_hash |
| |
|
std::map< std::string, std::string > | m_files_width_hashes |
| |
|
bool | m_valid = false |
| |
A direct mode cache manifest.
◆ direct_mode_manifest_t()
| bcache::direct_mode_manifest_t::direct_mode_manifest_t |
( |
const std::string & |
hash, |
|
|
const std::map< std::string, std::string > & |
files_with_hashes |
|
) |
| |
Construct a valid manifest.
- Parameters
-
| hash | The preprocessor mode cache entry hash. |
| files_with_hashes | Paths to implicit input files (key) and their hashes (value). |
◆ deserialize()
Deserialize a manifest.
- Parameters
-
- Returns
- the deserialized manifest.
◆ files_width_hashes()
| const std::map<std::string, std::string>& bcache::direct_mode_manifest_t::files_width_hashes |
( |
| ) |
const |
|
inline |
- Returns
- a mapping from file paths to their hashes.
◆ hash()
| const std::string& bcache::direct_mode_manifest_t::hash |
( |
| ) |
const |
|
inline |
- Returns
- the preprocessor mode cache entry hash.
◆ operator bool()
| bcache::direct_mode_manifest_t::operator bool |
( |
| ) |
const |
|
inline |
- Returns
- true if this object represents a valid manifest. E.g. for a cache miss, the return value is false.
◆ serialize()
| std::string bcache::direct_mode_manifest_t::serialize |
( |
| ) |
const |
Serialize a manifest.
- Returns
- a serialized data as a string object.
The documentation for this class was generated from the following files: