Function lbcrypto::convertToScalingTechnique(const std::string&)

Function Documentation

ScalingTechnique lbcrypto::convertToScalingTechnique(const std::string &str)

Converts the name of a ScalingTechnique enumerator (as spelled in constants-defs.h) to its value.

Parameters

str – the enumerator name

Returns

the corresponding enumerator; throws an exception if the name is unknown