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