TheChess
Public Types | Public Member Functions

thechess::model::User Class Reference

Collaboration diagram for thechess::model::User:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Rights { admin = 5, moderator = 2, regular_user = 0 }

Public Member Functions

 User (bool)
template<class Action >
void persist (Action &a)
void set_password (const std::string &password)
bool test_password (const std::string &password) const
const Wt::WString & username () const
void set_username (Wt::WString username)
Rights rights () const
void set_rights (Rights rights)
void login ()
void logout ()
bool online () const
const Td & online_time () const
dbo::Query< GamePtr > games () const
bool can_set_classification (UserPtr user) const
void set_classification (UserPtr user, Classification classification)
Classification classification () const
Wt::WString classification_str () const
bool can_confirm_classification (UserPtr user) const
void confirm_classification (UserPtr user)
bool classification_confirmed () const
UserPtr classification_confirmer () const
const EloPlayergames_stat () const
EloPlayergames_stat ()

The documentation for this class was generated from the following files:
 All Classes Functions Enumerations Enumerator