DaZeus  2.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
dazeus::ConfigReader Class Reference

#include <config.h>

Classes

struct  exception
 

Public Member Functions

 ConfigReader (std::string file)
 
 ConfigReader (ConfigReader const &)
 
ConfigReaderoperator= (ConfigReader const &)
 
 ~ConfigReader ()
 
bool isRead ()
 
void read ()
 
std::string error ()
 
ConfigReaderState_state ()
 
const std::vector
< NetworkConfig * > & 
getNetworks ()
 
const std::vector
< PluginConfig * > & 
getPlugins ()
 
const std::vector
< SocketConfig * > & 
getSockets ()
 
SocketConfiggetPluginSocket ()
 
GlobalConfiggetGlobalConfig ()
 
DatabaseConfiggetDatabaseConfig ()
 
std::string & getFile ()
 

Detailed Description

Definition at line 65 of file config.h.

Constructor & Destructor Documentation

dazeus::ConfigReader::ConfigReader ( std::string  file)

Definition at line 45 of file config.cpp.

dazeus::ConfigReader::ConfigReader ( ConfigReader const &  )
dazeus::ConfigReader::~ConfigReader ( )

Definition at line 53 of file config.cpp.

Member Function Documentation

ConfigReaderState* dazeus::ConfigReader::_state ( )
inline

Definition at line 88 of file config.h.

std::string dazeus::ConfigReader::error ( )
DatabaseConfig* dazeus::ConfigReader::getDatabaseConfig ( )
inline

Definition at line 100 of file config.h.

std::string& dazeus::ConfigReader::getFile ( )
inline

Definition at line 101 of file config.h.

GlobalConfig* dazeus::ConfigReader::getGlobalConfig ( )
inline

Definition at line 99 of file config.h.

const std::vector<NetworkConfig*>& dazeus::ConfigReader::getNetworks ( )
inline

Definition at line 90 of file config.h.

const std::vector<PluginConfig*>& dazeus::ConfigReader::getPlugins ( )
inline

Definition at line 91 of file config.h.

SocketConfig* dazeus::ConfigReader::getPluginSocket ( )
inline

Definition at line 93 of file config.h.

const std::vector<SocketConfig*>& dazeus::ConfigReader::getSockets ( )
inline

Definition at line 92 of file config.h.

bool dazeus::ConfigReader::isRead ( )
inline

Definition at line 85 of file config.h.

ConfigReader& dazeus::ConfigReader::operator= ( ConfigReader const &  )
void dazeus::ConfigReader::read ( )

Definition at line 124 of file config.cpp.


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