A configuration command.
More...
#include <ConfigCmd.h>
◆ ConfigCmd() [1/2]
ConfigCmd::ConfigCmd |
( |
const Ogre::String & |
name, |
|
|
const Ogre::String & |
description, |
|
|
const Ogre::String & |
params_description, |
|
|
ConfigCmdParams |
params, |
|
|
ConfigCmdCompletion |
completion |
|
) |
| |
Constructor.
It should only be created only by ConfigCmdManager.
- Parameters
-
[in] | name | Command name. |
[in] | description | Command description. |
[in] | params_description | Command parameters description. |
[in] | params | Command parameter handler. |
[in] | completion | Command completion. |
◆ ConfigCmd() [2/2]
ConfigCmd::ConfigCmd |
( |
const ConfigCmd & |
rhs | ) |
|
|
privatedelete |
Forbidden copy constructor.
- Parameters
-
[in] | rhs | Command to not copy. |
◆ GetCompletion()
Checks the command completion.
- Returns
- The command completion.
◆ GetDescription()
const Ogre::String & ConfigCmd::GetDescription |
( |
| ) |
const |
Retrieves the command description.
- Returns
- The command description.
◆ GetHandler()
Retrieves the command parameter description.
- Returns
- The command parameter description.
◆ GetName()
const Ogre::String & ConfigCmd::GetName |
( |
| ) |
const |
Retrieves the command name.
- Returns
- The command name.
◆ GetParamsDescription()
const Ogre::String & ConfigCmd::GetParamsDescription |
( |
| ) |
const |
Retrieves the command parameter description.
- Returns
- The command parameter description.
◆ operator=()
Forbidden copy constructor.
- Parameters
-
[in] | rhs | Command to not copy. |
◆ ConfigCmdHandler
◆ completion_
◆ description_
Ogre::String ConfigCmd::description_ |
|
private |
◆ name_
Ogre::String ConfigCmd::name_ |
|
private |
◆ params_
The command parameter handler.
◆ params_description_
Ogre::String ConfigCmd::params_description_ |
|
private |
The command parameters description.
The documentation for this class was generated from the following files: