OEScoreTypeGetValueΒΆ

unsigned int OEScoreTypeGetValue(std::string name)

Returns the value of a constant from this namespace associated with the scoring function name, or OEScoreType.INVALID if the name is not recognized.

This function is defined within the OEScoreType namespace.

unsigned int OEScoreTypeGetValue(const OESystem::OEInterface& itf, std::string flagName)

Used in conjunction with the OEScoreTypeConfigure function. Returns a constant from this namespace associated with the scoring function the user specified on the command line, or OEScoreType.Default if the user did not specify a value. itf and flagName should be the same as those passed to the OEScoreTypeConfigure function and OEParseCommandLine should have been called on itf.