#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 57 of file postgresql_database.h.
database_interface::PostgresqlDatabaseConfig::PostgresqlDatabaseConfig | ( | ) | [inline] |
Definition at line 67 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getDBname | ( | ) | const [inline] |
Definition at line 73 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getHost | ( | ) | const [inline] |
Definition at line 71 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getPassword | ( | ) | const [inline] |
Definition at line 69 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getPort | ( | ) | const [inline] |
Definition at line 72 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::getUser | ( | ) | const [inline] |
Definition at line 70 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.
Definition at line 81 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::dbname_ [private] |
Definition at line 64 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::host_ [private] |
Definition at line 62 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::password_ [private] |
Definition at line 60 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::port_ [private] |
Definition at line 63 of file postgresql_database.h.
std::string database_interface::PostgresqlDatabaseConfig::user_ [private] |
Definition at line 61 of file postgresql_database.h.