Znav |
---|
next | Threads and Concurrency with C++ |
---|
prev | Setting Properties |
---|
|
The Properties
interface provides several operations for converting properties to and from command-line options.
On this page:
Anchor |
---|
| getCommandLineOptions |
---|
| getCommandLineOptions |
---|
|
...
For example, if you have set the Filesystem.MaxFileSize
property to 1024 and call getCommandLineOptions
, the setting is returned as the string "--Filesystem.MaxFileSize=1024"
. This operation is useful for diagnostic purposes, for example, to dump the setting of all properties to a logging facility, or if you want to fork a new process with the same property settings as the current process.
Anchor |
---|
| parseCommandLineOptions |
---|
| parseCommandLineOptions |
---|
|
...
This version of the code avoids having to convert the string sequence back into an argc
/argv
pair before calling Ice::initialize
.
Anchor |
---|
| parseIceCommandLineOptions |
---|
| parseIceCommandLineOptions |
---|
|
...
This operation is also used internally by the Ice run time to parse Ice-specific options in initialize
.
See Also
Znav |
---|
next | Threads and Concurrency with C++ |
---|
prev | Setting Properties |
---|
|