pianod2
multisource multiuser scriptable networked music player
Classes | Namespaces | Functions
datastore.h File Reference

User data storage mechanism. More...

#include <config.h>
#include <ctime>
#include <string>
#include <stdexcept>
#include <unordered_map>
#include <functional>
#include <parsnip/parsnip.h>
#include "ratings.h"
Include dependency graph for datastore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UserData::DataStore
 Storage mechanism for user data. More...
 
class  UserData::JSONData
 Store key-value pairs of string keys & mixed types using Parsnip::Data. More...
 
class  UserData::Dictionary< TKey, TValue, TStorage >
 Store key-value pairs of arbitrary key and value types. More...
 
class  UserData::Ratings
 Container for user ratings values (playlists & songs). More...
 
class  UserData::OverplayedList
 Container for lists of user overplayed songs. More...
 

Namespaces

 UserData
 User data storage.
 
 UserData::Key
 

Functions

template<typename T >
UserData::type_convert (const T value, const T)
 
std::string UserData::type_convert (const Rating value, const std::string &)
 
Rating UserData::type_convert (const std::string &value, Rating)
 

Detailed Description

User data storage mechanism.