18 : _user (iDBParams._user), _passwd (iDBParams._passwd),
19 _host (iDBParams._host), _port (iDBParams._port),
20 _dbname (iDBParams._dbname) {
25 const std::string& iDBPasswd,
26 const std::string& iDBHost,
27 const std::string& iDBPort,
28 const std::string& iDBName)
29 : _user (iDBUser), _passwd (iDBPasswd), _host (iDBHost), _port (iDBPort),
44 std::ostringstream oStr;
45 oStr << _dbname <<
"." << _user <<
"@" << _host <<
":" << _port;
51 std::ostringstream oStr;
52 oStr << _dbname <<
"." << _user <<
"@" << _host <<
":" << _port;
58 if (_user.empty() ==
true || _passwd.empty() ==
true
59 || _host.empty() ==
true || _port.empty()
60 || _dbname.empty() ==
true) {
std::string toString() const
Structure holding the parameters for connection to a database.
Handle on the StdAir library context.
std::string toShortString() const
const std::string describe() const