21  result.mIsValid = 
false;
 
   22  result.mErrorString = errorMessage;
 
 
   28  , mIdentifier( identifier )
 
   29  , mGeometry( geometry )
 
 
Represents a coordinate reference system (CRS).
 
Represents a matching result from a geocoder search.
 
QString description() const
Returns the optional description for the result.
 
QString group() const
Returns the optional group value for the result.
 
QgsGeocoderResult(const QString &identifier, const QgsGeometry &geometry, const QgsCoordinateReferenceSystem &crs)
Constructor for a valid QgsGeocoderResult, with the specified geometry and crs.
 
void setDescription(const QString &description)
Sets an optional description for the result.
 
void setGroup(const QString &group)
Sets the optional group value for the result.
 
static QgsGeocoderResult errorResult(const QString &errorMessage)
Creates an invalid error result, with the specified errorMessage string.
 
A geometry is the spatial representation of a feature.
 
const QgsCoordinateReferenceSystem & crs