Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ parseOptions()

std::pair< PropertyDict, StringSeq > Ice::Properties::parseOptions ( std::string_view prefix,
const StringSeq & options )
static

Parses a sequence of options into a map of key value pairs starting with a prefix.

The options are expected to be of the form --key=value.

Parameters
prefixThe prefix to match.
optionsThe options to parse.
Returns
A pair containing a map of matched key value pairs and a sequence of unmatched options.