Skip to content
Permalink
Browse files

Adding code example to QgsVectorLayer documentation

  • Loading branch information
ccrook committed Apr 12, 2013
1 parent 6bc3749 commit ec2f5c9211dc71ba6f13fa561e8233058cdc7bfd
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/qgsvectorlayer.h
@@ -153,6 +153,12 @@ struct CORE_EXPORT QgsVectorJoinInfo
* The QgsVectorLayer provides a common interface to the different data types. It also
* manages editing transactions.
*
* Sample usage of the QgsVectorLayer class:
*
* \code
* QString uri = "point?crs=epsg:4326&field=id:integer";
* QgsVectorLayer *scratchLayer = new QgsVectorLayer(uri, "Scratch point layer", "memory");
* \endcode
*
* The main data providers supported by QGis are listed below.
*

0 comments on commit ec2f5c9

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