|
Jpp - the software that should make you happy
|
Auxiliary class for connection to data base. More...
#include <JDB.hh>
Static Public Member Functions | |
| static const Server & | getServer () |
| Get server. More... | |
| static void | setServer (const Server &server) |
| Set server. More... | |
| static JDB & | get () |
| Get connection to database. More... | |
| static void | reset () |
| Reset connection to database. More... | |
| static void | reset (const std::string &usr, const std::string &pwd) |
| Reset connection to database. More... | |
| static void | reset (const std::string &cookie) |
| Reset connection to database. More... | |
| static void | reset (const std::string &usr, const std::string &pwd, const std::string &cookie) |
| Reset connection to database. More... | |
Private Member Functions | |
| JDB () | |
| Default constructor. More... | |
| JDB (const JDB &) | |
| JDB & | operator= (const JDB &) |
Static Private Member Functions | |
| static Server & | get_server () |
| Get server. More... | |
|
inlineprivate |
|
private |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Reset connection to database.
| cookie | persistent cookie |
Definition at line 265 of file JDB.hh.
|
inlinestatic |
Reset connection to database.
An attempt to make a connection to the database is made in the following order, using:
| usr | user name |
| pwd | password |
| cookie | persistent cookie |
Definition at line 305 of file JDB.hh.
1.8.5