FOSSredder 0.5.0
Loading...
Searching...
No Matches
WorkspaceStateStore Class Reference

Loads and saves the aggregate application state through SQLite repositories. More...

#include <WorkspaceStateStore.h>

Public Member Functions

 WorkspaceStateStore (std::shared_ptr< SqliteDb > db)
 Creates a state store over an existing SQLite database connection wrapper.
core::application::workspace::WorkspaceSessionState load ()
 Loads the complete persisted application state from the database.
core::domain::DeletionImpact save (const core::application::workspace::WorkspaceSessionState &document)
 Saves the complete application state and reports deletion impact details.

Detailed Description

Loads and saves the aggregate application state through SQLite repositories.

Definition at line 20 of file WorkspaceStateStore.h.

Constructor & Destructor Documentation

◆ WorkspaceStateStore()

WorkspaceStateStore::WorkspaceStateStore ( std::shared_ptr< SqliteDb > db)
explicit

Creates a state store over an existing SQLite database connection wrapper.

Definition at line 299 of file WorkspaceStateStore.cpp.

Member Function Documentation

◆ load()

Loads the complete persisted application state from the database.

Definition at line 307 of file WorkspaceStateStore.cpp.

Here is the call graph for this function:

◆ save()

Saves the complete application state and reports deletion impact details.

Definition at line 313 of file WorkspaceStateStore.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: