|
| | vtkCommandOptions () |
| | Default constructor. More...
|
| |
| virtual | ~vtkCommandOptions () |
| | Destructor. More...
|
| |
| void | AddCallback (const char *longarg, const char *shortarg, CallbackType callback, void *call_data, const char *help, int type=EVERYBODY) |
| |
| virtual void | Initialize () |
| | Initialize arguments. More...
|
| |
| virtual int | PostProcess (int argc, const char *const *argv) |
| | After parsing, process extra option dependencies. More...
|
| |
| virtual int | WrongArgument (const char *argument) |
| | This method is called when wrong argument is found. More...
|
| |
| virtual int | DeprecatedArgument (const char *argument) |
| | This method is called when a deprecated argument is found. More...
|
| |
| int | LoadXMLConfigFile (const char *) |
| | This method loads the paraview config file. More...
|
| |
| virtual void | SetUnknownArgument (const char *) |
| |
| virtual void | SetErrorMessage (const char *) |
| |
| virtual void | SetXMLConfigFile (const char *) |
| |
| void | CleanArgcArgv () |
| |
| virtual void | SetApplicationPath (const char *) |
| |
| void | ComputeApplicationPath () |
| |
|
| void | AddBooleanArgument (const char *longarg, const char *shortarg, int *var, const char *help, int type=EVERYBODY) |
| | Add a command line option. More...
|
| |
| void | AddDeprecatedArgument (const char *longarg, const char *shortarg, const char *help, int type=EVERYBODY) |
| | Add a command line option. More...
|
| |
| void | AddArgument (const char *longarg, const char *shortarg, int *var, const char *help, int type=EVERYBODY) |
| | Add a command line option. More...
|
| |
| void | AddArgument (const char *longarg, const char *shortarg, char **var, const char *help, int type=EVERYBODY) |
| | Add a command line option. More...
|
| |
ParaView options storage.
An object of this class represents a storage for ParaView options
These options can be retrieved during run-time, set using configuration file or using Command Line Arguments.
Definition at line 34 of file vtkCommandOptions.h.
| void vtkCommandOptions::AddBooleanArgument |
( |
const char * |
longarg, |
|
|
const char * |
shortarg, |
|
|
int * |
var, |
|
|
const char * |
help, |
|
|
int |
type = EVERYBODY |
|
) |
| |
|
protected |
Add a command line option.
For each argument added there is a long version –long and a short version -l, a help string, and a variable that is set to the value of the option. The types can be int, char*, or boolean (set to 1 of option is present). Also deprecated arguments can be added with only a help string. The help string should say that the argument is deprecated and suggest the alternative argument to use. Each option can specify in a bit flag int the processes that the option is valid for, the default is to be valid for all paraview processes.
| void vtkCommandOptions::AddDeprecatedArgument |
( |
const char * |
longarg, |
|
|
const char * |
shortarg, |
|
|
const char * |
help, |
|
|
int |
type = EVERYBODY |
|
) |
| |
|
protected |
Add a command line option.
For each argument added there is a long version –long and a short version -l, a help string, and a variable that is set to the value of the option. The types can be int, char*, or boolean (set to 1 of option is present). Also deprecated arguments can be added with only a help string. The help string should say that the argument is deprecated and suggest the alternative argument to use. Each option can specify in a bit flag int the processes that the option is valid for, the default is to be valid for all paraview processes.
| void vtkCommandOptions::AddArgument |
( |
const char * |
longarg, |
|
|
const char * |
shortarg, |
|
|
int * |
var, |
|
|
const char * |
help, |
|
|
int |
type = EVERYBODY |
|
) |
| |
|
protected |
Add a command line option.
For each argument added there is a long version –long and a short version -l, a help string, and a variable that is set to the value of the option. The types can be int, char*, or boolean (set to 1 of option is present). Also deprecated arguments can be added with only a help string. The help string should say that the argument is deprecated and suggest the alternative argument to use. Each option can specify in a bit flag int the processes that the option is valid for, the default is to be valid for all paraview processes.
| void vtkCommandOptions::AddArgument |
( |
const char * |
longarg, |
|
|
const char * |
shortarg, |
|
|
char ** |
var, |
|
|
const char * |
help, |
|
|
int |
type = EVERYBODY |
|
) |
| |
|
protected |
Add a command line option.
For each argument added there is a long version –long and a short version -l, a help string, and a variable that is set to the value of the option. The types can be int, char*, or boolean (set to 1 of option is present). Also deprecated arguments can be added with only a help string. The help string should say that the argument is deprecated and suggest the alternative argument to use. Each option can specify in a bit flag int the processes that the option is valid for, the default is to be valid for all paraview processes.