DaZeus  2.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
dazeus::DatabaseConfig Struct Reference

#include <database.h>

Public Member Functions

 DatabaseConfig (std::string t=std::string(), std::string h=std::string("127.0.0.1"), uint16_t p=27017, std::string user=std::string(), std::string pass=std::string(), std::string db=std::string("dazeus"), std::string opt=std::string())
 
 DatabaseConfig (const DatabaseConfig &s)
 
const DatabaseConfigoperator= (const DatabaseConfig &s)
 

Public Attributes

std::string type
 
std::string hostname
 
uint16_t port
 
std::string username
 
std::string password
 
std::string database
 
std::string options
 

Detailed Description

Definition at line 15 of file database.h.

Constructor & Destructor Documentation

dazeus::DatabaseConfig::DatabaseConfig ( std::string  t = std::string(),
std::string  h = std::string("127.0.0.1"),
uint16_t  p = 27017,
std::string  user = std::string(),
std::string  pass = std::string(),
std::string  db = std::string("dazeus"),
std::string  opt = std::string() 
)
inline

Definition at line 16 of file database.h.

dazeus::DatabaseConfig::DatabaseConfig ( const DatabaseConfig s)
inline

Definition at line 21 of file database.h.

Member Function Documentation

const DatabaseConfig& dazeus::DatabaseConfig::operator= ( const DatabaseConfig s)
inline

Definition at line 24 of file database.h.

Member Data Documentation

std::string dazeus::DatabaseConfig::database

Definition at line 33 of file database.h.

std::string dazeus::DatabaseConfig::hostname

Definition at line 29 of file database.h.

std::string dazeus::DatabaseConfig::options

Definition at line 34 of file database.h.

std::string dazeus::DatabaseConfig::password

Definition at line 32 of file database.h.

uint16_t dazeus::DatabaseConfig::port

Definition at line 30 of file database.h.

std::string dazeus::DatabaseConfig::type

Definition at line 28 of file database.h.

std::string dazeus::DatabaseConfig::username

Definition at line 31 of file database.h.


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