ServerParams Class Reference

#include <ServerParams.h>

Inheritance diagram for ServerParams:

OptionsParameters

List of all members.

Public Member Functions

const char * getServerFile ()
bool getHideWindow ()
bool getServerCustom ()
void setServerFile (const std::string &file)

Static Public Member Functions

static ServerParamsinstance ()

Protected Attributes

OptionEntryString server_
OptionEntryBool hideWindow_
OptionEntryBool startCustom_

Static Protected Attributes

static ServerParamsinstance_ = 0

Private Member Functions

 ServerParams ()
virtual ~ServerParams ()


Detailed Description

Definition at line 26 of file ServerParams.h.


Constructor & Destructor Documentation

ServerParams::ServerParams (  )  [private]

Definition at line 35 of file ServerParams.cpp.

ServerParams::~ServerParams (  )  [private, virtual]

Definition at line 46 of file ServerParams.cpp.


Member Function Documentation

ServerParams * ServerParams::instance (  )  [static]

Definition at line 25 of file ServerParams.cpp.

References instance_.

Referenced by main(), ServerWebSettingsHandler::SettingsModHandler::processRequest(), ServerWebSettingsHandler::SettingsMainHandler::processRequest(), ServerWebSettingsHandler::SettingsAllHandler::processRequest(), ServerWebSettingsHandler::SettingsLandscapeHandler::processRequest(), and ServerWebSettingsHandler::SettingsPlayersHandler::processRequest().

const char* ServerParams::getServerFile (  )  [inline]

Definition at line 31 of file ServerParams.h.

References OptionEntryString::getValue(), and server_.

bool ServerParams::getHideWindow (  )  [inline]

Definition at line 32 of file ServerParams.h.

References OptionEntryBool::getValue(), and hideWindow_.

bool ServerParams::getServerCustom (  )  [inline]

Definition at line 33 of file ServerParams.h.

References OptionEntryBool::getValue(), and startCustom_.

void ServerParams::setServerFile ( const std::string file  )  [inline]

Definition at line 35 of file ServerParams.h.

References server_, and OptionEntryString::setValue().

Referenced by main().


Member Data Documentation

ServerParams * ServerParams::instance_ = 0 [static, protected]

Definition at line 38 of file ServerParams.h.

Referenced by instance().

OptionEntryString ServerParams::server_ [protected]

Definition at line 40 of file ServerParams.h.

Referenced by getServerFile(), and setServerFile().

OptionEntryBool ServerParams::hideWindow_ [protected]

Definition at line 41 of file ServerParams.h.

Referenced by getHideWindow().

OptionEntryBool ServerParams::startCustom_ [protected]

Definition at line 42 of file ServerParams.h.

Referenced by getServerCustom().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:06 2009 for Scorched3D by  doxygen 1.5.3