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

dmn::Module Class Reference

Common elements for modules. More...

#include <module.h>

Inheritance diagram for dmn::Module:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Module ()
 Constructor.

 ~Module ()
 Destructor.

ID id () const
 Module identificator.

ModuleType type () const
 Type of the module.

std::string name () const
 Name of the module.

std::string version () const
 Version of the module.

std::string desc () const
 Description of the module.


Protected Member Functions

void set_type (ModuleType type=ModuleNONE)
 Set tye type of the module.

void set_name (const std::string &name)
 Set the name of the module.

void set_version (const std::string &version)
 Set the version of the module.

void set_desc (const std::string &desc)
 Description of the module.


Detailed Description

Common elements for modules.


Member Function Documentation

std::string dmn::Module::desc  )  const
 

Description of the module.

Returns:
The description of the module

ID dmn::Module::id  )  const
 

Module identificator.

Returns:
The identificator

std::string dmn::Module::name  )  const
 

Name of the module.

Returns:
The name of the module

void dmn::Module::set_desc const std::string &  desc  )  [protected]
 

Description of the module.

Parameters:
desc The description of the module

void dmn::Module::set_name const std::string &  name  )  [protected]
 

Set the name of the module.

Parameters:
name The name of the module

void dmn::Module::set_type ModuleType  type = ModuleNONE  )  [protected]
 

Set tye type of the module.

Parameters:
type The type of the module

void dmn::Module::set_version const std::string &  version  )  [protected]
 

Set the version of the module.

Parameters:
version The version of the module

ModuleType dmn::Module::type  )  const
 

Type of the module.

Returns:
The type of module

std::string dmn::Module::version  )  const
 

Version of the module.

Returns:
The version of the module


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