QApolloDbGui Class Reference

Inheritance diagram for QApolloDbGui:

QApolloDb List of all members.

Detailed Description

interface to cuore data base qdb. Used by Apollo GUI

Author:
sergio.didomizio@ge.infn.it


Public Member Functions

void ChangeDefaultSettingsBasket (unsigned short newDefault)
 Change Default settings_basket_id in settings_basket table.
bool ResetRun ()
 try to reset db status assuming that there is an active run
void InsertUserComments (const std::string &comment, bool start)
 insert user comments into the user_infos table


Member Function Documentation

bool QApolloDbGui::ResetRun (  ) 

try to reset db status assuming that there is an active run

Returns:
true on success, or false if there are no active runs in db

void QApolloDbGui::InsertUserComments ( const std::string &  comment,
bool  start 
)

insert user comments into the user_infos table

In case of start comments, this method can be used only when there is an active run. If it is used when there are no active runs, a QError is thrown.

Parameters:
comment user comment to be inserted into db
start allow to select between start and stop comments: true is for start comments, false for stop comments


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:42 2009 for CUORE Software by  doxygen 1.5.1