#include <gromacs/commandline/cmdlinemodulemanager.h>
Handle to add content to a group added with CommandLineModuleManager::addModuleGroup().
This class only provides a public interface to construct a module group for CommandLineModuleManager, and has semantics similar to a pointer: copies all point to the same group. The actual state of the group is maintained in an internal implementation class.
void gmx::CommandLineModuleGroup::addModule |
( |
const char * |
name | ) |
|
void gmx::CommandLineModuleGroup::addModuleWithDescription |
( |
const char * |
name, |
|
|
const char * |
description |
|
) |
| |
Adds a module to this group with a custom description.
- Parameters
-
[in] | name | Name of the module. |
[in] | description | Description of the module in this group. |
- Exceptions
-
std::bad_alloc | if out of memory. |
name
must name a module added into the CommandLineModuleManager. It is possible to add the same module into multiple groups.
The documentation for this class was generated from the following files: