MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
mostly_harmless::data Namespace Reference

Contains classes and functions related to data management. More...

Classes

class  DatabasePropertyWatcher
 A convenience class for responding to changes in a databaseState, potentially fired from other processes. Watches a given property's field corresponding to type T for changes, and fires a callback on change. Note that callback will run on a background timer thread, so if you need thread safety, be sure to utilise ISharedState::callOnMessageThread from your callback lambda. More...
 
class  DatabaseState
 Represents a connection to a sqlite database. More...
 

Typedefs

using DatabaseValueVariant = std::variant<std::string, bool, int, float, double>
 A std::variant containing all types satisfying the DatabaseStorageType concept.
 

Detailed Description

Contains classes and functions related to data management.

Typedef Documentation

◆ DatabaseValueVariant

using mostly_harmless::data::DatabaseValueVariant = std::variant<std::string, bool, int, float, double>

A std::variant containing all types satisfying the DatabaseStorageType concept.