Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Znav
nextThreads and Concurrency with C++
prevSetting Properties

The Properties interface provides several operations for converting properties to and from command-line options.

On this page:

Table of Contents
maxLevel3

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.

Ztop

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.

Ztop

Anchor
parseIceCommandLineOptions
parseIceCommandLineOptions

...

This operation is also used internally by the Ice run time to parse Ice-specific options in initialize.

Ztop

See Also

Zret
Znav
nextThreads and Concurrency with C++
prevSetting Properties