Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sync QgsVectorDataProvider sip interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@10983 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 26, 2009
1 parent 7331968 commit be7c156
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions python/core/qgsvectordataprovider.sip
Expand Up @@ -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
Expand Down

0 comments on commit be7c156

Please sign in to comment.