OESearchResolutionGetValue¶
unsigned int OESearchResolutionGetValue(std::string name)
Returns the value of a constant from the
OESearchResolution
namespace associated with the
scoring function name, or OESearchResolution::INVALID
if the name is not recognized.
unsigned int OESearchResolutionGetValue(const OESystem::OEInterface& itf,
std::string flagName)
Used in conjunction with the OESearchResolutionConfigure
function. Returns a constant from the OESearchResolution
namespace associated with the dock resolution the user specified on the command
line, or OESearchResolution::Default
if the user did not
specify a value. itf and flagName should be the same as those passed to
the OESearchResolutionConfigure
function and
should have been called on itf.