|
|
| DefinitionCache (Supla::Config *config) |
| |
|
bool | save (uint32_t definitionId, uint16_t definitionVersion, const char *json) |
| |
|
bool | load (uint32_t definitionId, uint16_t definitionVersion, char *json, size_t jsonSize, CachedDefinitionInfo *info=nullptr) const |
| |
|
bool | contains (uint32_t definitionId, uint16_t definitionVersion) const |
| |
|
bool | contentEquals (uint32_t definitionId, uint16_t definitionVersion, const uint8_t *data, size_t size) const |
| |
|
bool | erase (uint32_t definitionId, uint16_t definitionVersion) |
| |
|
bool | getInfo (uint8_t index, CachedDefinitionInfo *info) const |
| |
|
bool | getInfoAndRepair (uint8_t index, CachedDefinitionInfo *info) const |
| |
|
bool | beginStagedSave (uint32_t definitionId, uint16_t definitionVersion, uint16_t jsonSize, DefinitionCacheHandle *handle) |
| |
|
bool | writeStagedChunk (DefinitionCacheHandle handle, uint16_t chunkIndex, const uint8_t *data, uint16_t size) |
| |
|
bool | loadStaged (DefinitionCacheHandle handle, uint32_t definitionId, uint16_t definitionVersion, char *json, size_t jsonSize, CachedDefinitionInfo *info=nullptr) const |
| |
|
bool | commitStaged (DefinitionCacheHandle handle, uint32_t definitionId, uint16_t definitionVersion, uint16_t jsonSize) |
| |
|
bool | abortStaged (DefinitionCacheHandle handle) |
| |
The documentation for this class was generated from the following file: