Skip to content
Permalink
Browse files

sync QgsVectorDataProvider sip interface

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10983 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jun 26, 2009
1 parent ccea976 commit c741d92b73ddc363f6958cec0a35d00c99f6df2c
Showing with 15 additions and 0 deletions.
  1. +15 −0 python/core/qgsvectordataprovider.sip
@@ -253,6 +253,21 @@ class QgsVectorDataProvider : QgsDataProvider
*/
bool supportedType( const QgsField &field ) const;

struct NativeType
{
NativeType( QString typeDesc, QString typeName, QVariant::Type type, int minLen = 0, int maxLen = 0, int minPrec = 0, int maxPrec = 0 );
};

/**
* Returns the names of the supported types
* @note added in 1.2
*/
const QList< QgsVectorDataProvider::NativeType > &nativeTypes() const;

/**Returns the names of the numerical types
@note deprecated */
const QMap<QString,QVariant::Type> &supportedNativeTypes() const;

/**
* Set whether provider should return also features that don't have
* associated geometry. FALSE by default

0 comments on commit c741d92

Please sign in to comment.
You can’t perform that action at this time.