Class GuiState
#include <GuiState.h >
Table for tracking various UI state variables, per user.
DbRecNum id |
constructors
const GuiState& p |
Determine if this is valid data or not
basic GET functions
DbRecNum PC_id |
DbRecNum User_id |
string Tag |
string Value |
save if changed
bool forDB |
Default value: false |
convert structure data to HashArray
convert to XML
DbRecNum PC_id |
|
DbRecNum User_id |
user state for a PC
DbRecNum id |
load a record
DbRecNum id |
Table record number/id |
DbRecNum PC_id |
PC id for PC-specific state |
DbRecNum User_id |
User id for User-specific state |
string Tag |
UI tag/keyword of state variable |
string Value |
Value of state variable |
static Datastore db |
make sure we're connected to our table
const HashArray& data |
string fieldName |
|
string value |
save a db field value
string fieldName |
|
int value |