Abstract base class for all the minimize commands. More...
#include <minimize.h>
Public Member Functions | |
CommandMinimize (string systemName, string path) | |
provide a command called systemName-minimize in specified section | |
void | process (ParamList &pl, Everything &e) |
Process the command from its command line. More... | |
void | printStatus (Everything &e, int iRep) |
Print a command line that would result in the current status. More... | |
Protected Member Functions | |
virtual MinimizeParams & | target (Everything &e)=0 |
Derived class should specify where the parameters are stored. More... | |
Protected Member Functions inherited from Command | |
Command (string name, string path) | |
void | require (string) |
utility to add a command to the requires list | |
void | forbid (string) |
utility to add a command to the forbids list | |
Additional Inherited Members | |
Public Attributes inherited from Command | |
string | name |
Identifier for the command in the input file. Must be unique! | |
string | format |
Usage syntax for the command (excluding the command name) | |
string | comments |
Detailed help for the command which goes into jdftx -t as well as the Doxygen manual. Please check formatting in both versions. | |
string | section |
Which executable the command belongs to, and hence which section it must be documented under. | |
string | category |
Category of command under which to list the documentation. | |
string | subcategory |
Subcategory of command under which to list the documentation. | |
std::set< string > | requires |
Names of other commands that this one requires; those commands will be processed before this one. | |
std::set< string > | forbids |
Names of other commands that this one is incompatibile with. | |
bool | allowMultiple |
Whether this command can occur multiple times in an input file (default: false). | |
bool | hasDefault |
Whether this command has a default (default: false). If true, process() will be called with an empty parameter list. | |
string | emptyParamError |
Error message if command is manually issued with no parameters. Ddefault: empty i.e. allow empty parameter list. | |
Abstract base class for all the minimize commands.
|
virtual |
Print a command line that would result in the current status.
e | Objct of class Everything whose status to reproduce |
iRep | For commands with allowMultiple=true, printStatus will be called multiple times and iRep is the index of the present call |
Implements Command.
|
virtual |
Process the command from its command line.
pl | Parser utility object that simplifies extraction of parameters from the commandline |
e | Object of class Everything into which the settings extracted form this command should be stored |
string | On any syntax / parse errors, throw a string containing a brief error (preferably single phrase) error message. |
Implements Command.
|
protectedpure virtual |
Derived class should specify where the parameters are stored.
e | Reference to Everything |