TIBCO Adapter SDK C++ Reference
|
Allows applications to access command-line arguments in the MApp::onInitialization() method.
If applications call this method, the SDK stores the command-line arguments. Applications can then retrieve the arguments with getCommandLineArgc() and getCommandLineArgv() and take appropriate action based on arguments provided when the application was started.
Parameters | Description |
long iArgc | Number of command-line arguments. |
char** aszArgv | Vector of strings of command-line arguments. |
Line | Arguments * |
line | arguments. To activate them, the application must call MAppProperties::setCommandLine() before calling MApp::start(). |
void setCommandLine(long iArgc, char** aszArgv);