29 if ( it == entries()->constEnd() || it.
key() ==
Unknown )
33 return ( it->mSingleType );
39 if ( it == entries()->constEnd() || it.
key() ==
Unknown )
43 return it->mMultiType;
49 if ( it == entries()->constEnd() || it.
key() ==
Unknown )
59 Q_FOREACH (
const Type& type, entries()->keys() )
62 if ( it != entries()->constEnd() && it.
value().mName.compare( typestr, Qt::CaseInsensitive ) == 0 )
78 if ( it == entries()->constEnd() )
82 return it->mIsMultiType;
102 if ( it == entries()->constEnd() )
106 return it->mGeometryType;
112 if ( it == entries()->constEnd() )
114 return QString::null;
122 if ( it == entries()->constEnd() )
132 if ( it == entries()->constEnd() )
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
static bool isMultiType(Type type)
static Type multiType(Type type)
static Type singleType(Type type)
static Type flatType(Type type)
static int wkbDimensions(Type type)
static bool hasM(Type type)
Tests whether a WKB type contains m values.
static Type addZ(Type type)
Adds the z dimension to a WKB type and returns the new type.
static GeometryType geometryType(Type type)
static bool hasZ(Type type)
Tests whether a WKB type contains the z-dimension.
QString & replace(int position, int n, QChar after)
static bool isSingleType(Type type)
QString left(int n) const
iterator insert(const Key &key, const T &value)
static Type parseType(const QString &wktStr)
static QString displayString(Type type)
static Type addM(Type type)
Adds the m dimension to a WKB type and returns the new type.