43  qDeleteAll( mMethods );
 
 
   48  if ( mMethods.contains( 
method->id() ) )
 
 
   57  auto it = mMethods.constFind( 
id );
 
   58  if ( it == mMethods.constEnd() )
 
   59    return std::make_unique< QgsClassificationCustom >();
 
   60  return it.value()->clone();
 
 
   65  QMap<QString, QString> methods;
 
 
A classification method which uses equal width intervals.
 
Implementation of a fixed interval classification.
 
A classification method for natural breaks, based on Jenks method.
 
Implementation of a logarithmic scale method for classification.
 
~QgsClassificationMethodRegistry()
 
QgsClassificationMethodRegistry()
 
std::unique_ptr< QgsClassificationMethod > method(const QString &id)
Returns a new instance of the method for the given id.
 
bool addMethod(QgsClassificationMethod *method)
Adds a method to the registry Returns false if a method with same id already exists.
 
QIcon icon(const QString &id) const
Returns the icon for a given method id.
 
QMap< QString, QString > methodNames() const
Returns a map <name, id> of all registered methods.
 
An abstract class for implementations of classification methods.
 
A classification method which applies pretty breaks to data.
 
A classification method which creates classes based on quantiles.
 
A classification method which classifies based on standard deviation of values.