|
CONSTLATIN1STRING | geoEpsgCrsAuthId () |
| Geographic coord sys from EPSG authority. More...
|
|
CONSTLATIN1STRING | geoNone () |
| Constant that holds the string representation for "No ellips/No CRS". More...
|
|
CONSTLATIN1STRING | geoProj4 () |
| PROJ4 string that represents a geographic coord sys. More...
|
|
CONSTLATIN1STRING | geoWkt () |
| Wkt string that represents a geographic coord sys. More...
|
|
bool | operator< (const QVariant &v1, const QVariant &v2) |
| Compares two QVariant values and returns whether the first is less than the second. More...
|
|
bool | operator> (const QVariant &v1, const QVariant &v2) |
| Compares two QVariant values and returns whether the first is greater than the second. More...
|
|
bool | qgsDoubleNear (double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon()) |
| Compare two doubles (but allow some difference) More...
|
|
bool | qgsDoubleNearSig (double a, double b, int significantDigits=10) |
| Compare two doubles using specified number of significant digits. More...
|
|
QString | qgsDoubleToString (double a, int precision=17) |
| Returns a string representation of a double. More...
|
|
template<class T > |
T | qgsEnumKeyToValue (const QString &key, const T &defaultValue, bool tryValueAsKey=true, bool *returnOk=nullptr) |
| Returns the value corresponding to the given key of an enum. More...
|
|
template<class T > |
const QList< T > | qgsEnumList () |
| Returns a list all enum entries. More...
|
|
template<class T > |
const QMap< T, QString > | qgsEnumMap () |
| Returns a map of all enum entries. More...
|
|
template<class T > |
QString | qgsEnumValueToKey (const T &value, bool *returnOk=nullptr) |
| Returns the value for the given key of an enum. More...
|
|
template<class T > |
T | qgsFlagKeysToValue (const QString &keys, const T &defaultValue, bool tryValueAsKey=true, bool *returnOk=nullptr) |
| Returns the value corresponding to the given keys of a flag. More...
|
|
template<class T > |
QString | qgsFlagValueToKeys (const T &value, bool *returnOk=nullptr) |
| Returns the value for the given keys of a flag. More...
|
|
bool | qgsFloatNear (float a, float b, float epsilon=4 *FLT_EPSILON) |
| Compare two floats (but allow some difference) More...
|
|
void CORE_EXPORT | qgsFree (void *ptr) |
| Frees the memory space pointed to by ptr. More...
|
|
void CORE_EXPORT * | qgsMalloc (size_t size) |
| Allocates size bytes and returns a pointer to the allocated memory. More...
|
|
bool | qgsNanCompatibleEquals (double a, double b) |
| Compare two doubles, treating nan values as equal. More...
|
|
CORE_EXPORT double | qgsPermissiveToDouble (QString string, bool &ok) |
| Converts a string to a double in a permissive way, e.g., allowing for incorrect numbers of digits between thousand separators. More...
|
|
CORE_EXPORT int | qgsPermissiveToInt (QString string, bool &ok) |
| Converts a string to an integer in a permissive way, e.g., allowing for incorrect numbers of digits between thousand separators. More...
|
|
CORE_EXPORT qlonglong | qgsPermissiveToLongLong (QString string, bool &ok) |
| Converts a string to an qlonglong in a permissive way, e.g., allowing for incorrect numbers of digits between thousand separators. More...
|
|
double | qgsRound (double number, int places) |
| Returns a double number, rounded (as close as possible) to the specified number of places. More...
|
|
CORE_EXPORT bool | qgsVariantEqual (const QVariant &lhs, const QVariant &rhs) |
| Compares two QVariant values and returns whether they are equal, two NULL values are always treated as equal and 0 is not treated as equal with NULL. More...
|
|
CORE_EXPORT bool | qgsVariantGreaterThan (const QVariant &lhs, const QVariant &rhs) |
| Compares two QVariant values and returns whether the first is greater than the second. More...
|
|
CORE_EXPORT bool | qgsVariantLessThan (const QVariant &lhs, const QVariant &rhs) |
| Compares two QVariant values and returns whether the first is less than the second. More...
|
|
CORE_EXPORT QString | qgsVsiPrefix (const QString &path) |
|
CORE_EXPORT uint | qHash (const QVariant &variant) |
| Hash for QVariant. More...
|
|
template<class Object > |
QgsSignalBlocker< Object > | whileBlocking (Object *object) |
| Temporarily blocks signals from a QObject while calling a single method from the object. More...
|
|