Specific project cache.
More...
#include <structs.hpp>
Specific project cache.
- Note
- Part of the cache with information associated with a specific project
◆ SpecificProjectCache()
iv::cache::editor::SpecificProjectCache::SpecificProjectCache |
( |
| ) |
|
|
default |
◆ read()
void iv::cache::editor::SpecificProjectCache::read |
( |
const JSON & | cacheJSON | ) |
|
Read cache from JSON.
- Parameters
-
cacheJSON | JSON (already with the project name key) from which the project cache will be read |
- Note
- If the field is not present in the JSON, the value will not be changed
◆ write()
void iv::cache::editor::SpecificProjectCache::write |
( |
JSON & | cacheJSON | ) |
const |
Write cache to JSON.
- Parameters
-
cacheJSON | JSON (already with the project name key) where the project cache will be written |
◆ controlsEditor
ControlsEditor iv::cache::editor::SpecificProjectCache::controlsEditor |
◆ lastDirectoryExportedTo
std::optional<std::string> iv::cache::editor::SpecificProjectCache::lastDirectoryExportedTo |
◆ lastImportedFile
std::optional<std::string> iv::cache::editor::SpecificProjectCache::lastImportedFile |
◆ lastSelectedUnitId
std::optional<iv::types::unitId> iv::cache::editor::SpecificProjectCache::lastSelectedUnitId |
The documentation for this struct was generated from the following files: