OENegativeImageTypeGetValue

unsigned int OENegativeImageTypeGetValue(std::string name)

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

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

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