#include <postgresql_database.h>
Public Member Functions | |
std::string | getDBname () const |
std::string | getHost () const |
std::string | getPassword () const |
std::string | getPort () const |
std::string | getUser () const |
PostgresqlDatabaseConfig () | |
Private Attributes | |
std::string | dbname_ |
std::string | host_ |
std::string | password_ |
std::string | port_ |
std::string | user_ |
Friends | |
void | operator>> (const YAML::Node &node, PostgresqlDatabaseConfig &options) |
Loads YAML doc into configuration params. Throws YAML::ParserException if keys missing. |
Definition at line 64 of file postgresql_database.h.
Definition at line 74 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getDBname | ( | ) | const [inline] |
Definition at line 80 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getHost | ( | ) | const [inline] |
Definition at line 78 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getPassword | ( | ) | const [inline] |
Definition at line 76 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getPort | ( | ) | const [inline] |
Definition at line 79 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getUser | ( | ) | const [inline] |
Definition at line 77 of file postgresql_database.h.
void operator>> | ( | const YAML::Node & | node, |
PostgresqlDatabaseConfig & | options | ||
) | [friend] |
Loads YAML doc into configuration params. Throws YAML::ParserException if keys missing.
std::string database_interface::PostgresqlDatabaseConfig::dbname_ [private] |
Definition at line 71 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::host_ [private] |
Definition at line 69 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::password_ [private] |
Definition at line 67 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::port_ [private] |
Definition at line 70 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::user_ [private] |
Definition at line 68 of file postgresql_database.h.