Public Member Functions | Private Attributes | Friends | List of all members
database_interface::PostgresqlDatabaseConfig Class Reference

#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. More...
 

Detailed Description

Definition at line 57 of file postgresql_database.h.

Constructor & Destructor Documentation

database_interface::PostgresqlDatabaseConfig::PostgresqlDatabaseConfig ( )
inline

Definition at line 67 of file postgresql_database.h.

Member Function Documentation

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.

Friends And Related Function Documentation

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.

Member Data Documentation

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.


The documentation for this class was generated from the following file:


database_interface
Author(s): Matei Ciocarlie and Lorenz Mosenlechner
autogenerated on Mon Mar 2 2015 01:31:34