OESearchResolutionConfigureΒΆ

bool OESearchResolutionConfigure(OESystem::OEInterface& itf, std::string flagName)

This function is used in conjunction with the OESearchResolutionGetValue. It adds a command line flag to the itf to specify a dock resolution to use. Once the command line has been parsed (OEParseCommandLine) the itf and flagName are passed to OESearchResolutionGetValue that will return the constant from the OESearchResolution namespace associated with the dock resolution the user selected (or the default scoring function if the user didn’t specify one).

Note

The parameter added to itf will be of type string, name flagName, and have legal values associated with the dock resolutions.