30 std::unique_ptr< QgsClassificationCustom >
c = std::make_unique< QgsClassificationCustom >();
37 return QObject::tr(
"Custom" );
45QList<double> QgsClassificationCustom::calculateBreaks(
double &minimum,
double &maximum,
46 const QList<double> &values,
int nclasses, QString &error )
53 return QList<double>();
QString id() const override
The id of the method as saved in the project, must be unique in registry.
QgsClassificationCustom()
QString name() const override
The readable and translate name of the method.
static const QString METHOD_ID
std::unique_ptr< QgsClassificationMethod > clone() const override
Returns a clone of the method.
QgsClassificationMethod is an abstract class for implementations of classification methods.
void copyBase(QgsClassificationMethod *c) const
Copy the parameters (shall be used in clone implementation)
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c