Wt examples  3.2.1
Public Member Functions | Public Attributes
User Class Reference

#include <User.h>

Inheritance diagram for User:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 User ()
template<class Action >
void persist (Action &a)
- Public Member Functions inherited from Wt::Dbo::Dbo< User >
 Dbo ()
dbo_traits< User >::IdType id () const
Sessionsession () const
void setDirty ()
ptr< Userself () const

Public Attributes

std::string name
int gamesPlayed
long long score
Wt::WDateTime lastGame
Wt::Dbo::collection
< Wt::Dbo::ptr< AuthInfo > > 
authInfos

Detailed Description

Definition at line 22 of file User.h.


Constructor & Destructor Documentation

User::User ( )

Definition at line 17 of file User.C.

score(0)
{ }

Member Function Documentation

template<class Action >
void User::persist ( Action &  a)
inline

Definition at line 34 of file User.h.

{
Wt::Dbo::field(a, gamesPlayed, "gamesPlayed");
Wt::Dbo::field(a, score, "score");
Wt::Dbo::field(a, lastGame, "lastGame");
}

Member Data Documentation

Definition at line 31 of file User.h.

int User::gamesPlayed

Definition at line 28 of file User.h.

Wt::WDateTime User::lastGame

Definition at line 30 of file User.h.

std::string User::name

Definition at line 27 of file User.h.

long long User::score

Definition at line 29 of file User.h.


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

Generated on Thu Jun 14 2012 for the C++ Web Toolkit (Wt) by doxygen 1.8.1