Constants Class Reference

#include <constant.h>

Collaboration diagram for Constants:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static ConstantsGetInstance ()

Static Public Attributes

static const std::string VERSION = PACKAGE_VERSION
static const std::string ENV_DATADIR = "WORMUX_DATADIR"
static const std::string ENV_LOCALEDIR = "WORMUX_LOCALEDIR"
static const std::string ENV_FONT_PATH = "WORMUX_FONT_PATH"
static const uint NBR_BCL_MAX_EST_VIDE
static std::vector< std::string > AUTHORS
static const std::string WEB_SITE = "http://www.wormux.org"
static const std::string EMAIL = "wormux-dev .AT. gna .DOT. org"
static const Point2i MAP_MIN_SIZE = Point2i(100, 200)
static const int MAP_MAX_SIZE = 4000*4000
static const uint HAUT_MIN_TERRAIN_OUVERT

Private Member Functions

 Constants ()

Static Private Attributes

static Constantssingleton = NULL

Detailed Description

Definition at line 29 of file constant.h.


Constructor & Destructor Documentation

Constants::Constants (  )  [private]

Definition at line 41 of file constant.cpp.

00042 {
00043   AUTHORS.push_back ("Lawrence AZZOUG");
00044   AUTHORS.push_back ("Anthony CARRE");
00045   AUTHORS.push_back ("Laurent DEFERT SIMONNEAU");
00046   AUTHORS.push_back ("Jean-Christophe DUBERGA");
00047   AUTHORS.push_back ("Matthieu FERTRE");
00048   AUTHORS.push_back ("Sebastien GONZALVE");
00049   AUTHORS.push_back ("Reiner HERRMANN");
00050   AUTHORS.push_back ("Renaud LOTTIAUX");
00051   AUTHORS.push_back ("Yannig PERRE");
00052   AUTHORS.push_back ("Olivie SERRES");
00053   AUTHORS.push_back ("Victor STINNER");
00054 }

Here is the caller graph for this function:


Member Function Documentation

Constants * Constants::GetInstance (  )  [static]

Definition at line 56 of file constant.cpp.

00056                                    {
00057   if (singleton == NULL) {
00058     singleton = new Constants();
00059   }
00060   return singleton;
00061 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

std::vector< std::string > Constants::AUTHORS [static]

Definition at line 44 of file constant.h.

const std::string Constants::EMAIL = "wormux-dev .AT. gna .DOT. org" [static]

Definition at line 48 of file constant.h.

const std::string Constants::ENV_DATADIR = "WORMUX_DATADIR" [static]

Definition at line 36 of file constant.h.

const std::string Constants::ENV_FONT_PATH = "WORMUX_FONT_PATH" [static]

Definition at line 38 of file constant.h.

const std::string Constants::ENV_LOCALEDIR = "WORMUX_LOCALEDIR" [static]

Definition at line 37 of file constant.h.

const uint Constants::HAUT_MIN_TERRAIN_OUVERT [static]

Definition at line 56 of file constant.h.

const int Constants::MAP_MAX_SIZE = 4000*4000 [static]

Definition at line 52 of file constant.h.

const Point2i Constants::MAP_MIN_SIZE = Point2i(100, 200) [static]

Definition at line 51 of file constant.h.

const uint Constants::NBR_BCL_MAX_EST_VIDE [static]

Definition at line 41 of file constant.h.

Constants * Constants::singleton = NULL [static, private]

Definition at line 63 of file constant.h.

const std::string Constants::VERSION = PACKAGE_VERSION [static]

Definition at line 33 of file constant.h.

const std::string Constants::WEB_SITE = "http://www.wormux.org" [static]

Definition at line 47 of file constant.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 13:43:26 2007 for Wormux by  doxygen 1.4.7