Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dmn::Config Class Reference

Config interface. More...

#include <config.h>

Inheritance diagram for dmn::Config:

Inheritance graph
[legend]
Collaboration diagram for dmn::Config:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Config ()
 Constructor.

virtual ~Config ()
 Destructor.

virtual bool configure (int argc, char *argv[])=0
 Make the configuration.

virtual std::string config ()=0
 Path to the module config to load.

virtual std::string core (const std::string &default_option)=0
 Path to the module core to load.

virtual std::string display (const std::string &default_option)=0
 Path to the module display to load.

virtual std::string sound (const std::string &default_option)=0
 Path to the module sound to load.

virtual std::string tournament (const std::string &default_option)=0
 Path to the module tournament to load.

virtual std::string match (const std::string &default_option)=0
 Path to the module match to load.

virtual std::string game (const std::string &default_option)=0
 Path to the module game to load.

virtual std::string hand (const std::string &default_option)=0
 Path to the module hand to load.

virtual std::list< PlayerInfoteams (const std::list< PlayerInfo > default_option)=0
 List of teams in Config_team_t structures.


Detailed Description

Config interface.


Member Function Documentation

virtual std::string dmn::Config::config  )  [pure virtual]
 

Path to the module config to load.

Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.

virtual bool dmn::Config::configure int  argc,
char *  argv[]
[pure virtual]
 

Make the configuration.

Parameters:
argc number of args in the command line
argv array of args in the command line
Returns:
true if all was ok, else false

Implemented in dmn::ConfigDefault.

virtual std::string dmn::Config::core const std::string &  default_option  )  [pure virtual]
 

Path to the module core to load.

Parameters:
default_option path of the default_option core
Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.

virtual std::string dmn::Config::display const std::string &  default_option  )  [pure virtual]
 

Path to the module display to load.

Parameters:
default_option path of the default_option display
Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.

virtual std::string dmn::Config::game const std::string &  default_option  )  [pure virtual]
 

Path to the module game to load.

Parameters:
default_option path of the default_option game
Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.

virtual std::string dmn::Config::hand const std::string &  default_option  )  [pure virtual]
 

Path to the module hand to load.

Parameters:
default_option path of the default_option hand
Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.

virtual std::string dmn::Config::match const std::string &  default_option  )  [pure virtual]
 

Path to the module match to load.

Parameters:
default_option path of the default_option match
Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.

virtual std::string dmn::Config::sound const std::string &  default_option  )  [pure virtual]
 

Path to the module sound to load.

Parameters:
default_option path of the default_option sound
Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.

virtual std::list<PlayerInfo> dmn::Config::teams const std::list< PlayerInfo default_option  )  [pure virtual]
 

List of teams in Config_team_t structures.

Parameters:
default_option list of teams (List of Config_team_t) by default_option
Returns:
true if all was ok, else false

Implemented in dmn::ConfigDefault.

virtual std::string dmn::Config::tournament const std::string &  default_option  )  [pure virtual]
 

Path to the module tournament to load.

Parameters:
default_option path of the default_option match
Returns:
the path to the module or NULL in error

Implemented in dmn::ConfigDefault.


The documentation for this class was generated from the following file:
Generated on Fri Dec 26 22:54:03 2003 for dmn by doxygen 1.3.4