You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SqlConfiguration.cpp 777B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // Created by robin on 8/8/15.
  3. //
  4. #include "SqlConfiguration.h"
  5. SqlConfiguration::SqlConfiguration()
  6. {
  7. }
  8. const std::string &SqlConfiguration::getHost() const
  9. {
  10. return _host;
  11. }
  12. void SqlConfiguration::setHost(const std::string &host)
  13. {
  14. _host = host;
  15. }
  16. const std::string &SqlConfiguration::getUser() const
  17. {
  18. return _user;
  19. }
  20. void SqlConfiguration::setUser(const std::string &user)
  21. {
  22. _user = user;
  23. }
  24. const std::string &SqlConfiguration::getPassword() const
  25. {
  26. return _password;
  27. }
  28. void SqlConfiguration::setPassword(const std::string &password)
  29. {
  30. _password = password;
  31. }
  32. const std::string &SqlConfiguration::getDatabase() const
  33. {
  34. return _database;
  35. }
  36. void SqlConfiguration::setDatabase(const std::string &database)
  37. {
  38. _database = database;
  39. }