mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
doxygen, init in header
This commit is contained in:
parent
53f4464b53
commit
2a7aeafb75
@ -23,13 +23,19 @@ class QgsDxfExport
|
||||
|
||||
struct DxfLayer
|
||||
{
|
||||
DxfLayer( QgsVectorLayer *vl, int layerOutputAttributeIndex = -1 );
|
||||
DxfLayer( QgsVectorLayer *vl, int layerOutputAttributeIndex = -1 );
|
||||
|
||||
QgsVectorLayer *layer() const;
|
||||
int layerOutputAttributeIndex() const;
|
||||
QgsVectorLayer *layer() const;
|
||||
%Docstring
|
||||
Return the layer
|
||||
%End
|
||||
|
||||
int layerOutputAttributeIndex() const;
|
||||
%Docstring
|
||||
Return the attribute index used to split into multiple layers.
|
||||
The attribute value is used for layer names.
|
||||
%End
|
||||
|
||||
QgsVectorLayer *mLayer;
|
||||
int mLayerOutputAttributeIndex;
|
||||
};
|
||||
|
||||
enum SymbologyExport
|
||||
|
@ -58,16 +58,23 @@ class CORE_EXPORT QgsDxfExport
|
||||
*/
|
||||
struct DxfLayer
|
||||
{
|
||||
DxfLayer( QgsVectorLayer *vl, int layerOutputAttributeIndex = -1 )
|
||||
: mLayer( vl )
|
||||
, mLayerOutputAttributeIndex( layerOutputAttributeIndex )
|
||||
{}
|
||||
DxfLayer( QgsVectorLayer *vl, int layerOutputAttributeIndex = -1 )
|
||||
: mLayer( vl )
|
||||
, mLayerOutputAttributeIndex( layerOutputAttributeIndex )
|
||||
{}
|
||||
|
||||
QgsVectorLayer *layer() const {return mLayer;}
|
||||
int layerOutputAttributeIndex() const {return mLayerOutputAttributeIndex;}
|
||||
//! Return the layer
|
||||
QgsVectorLayer *layer() const {return mLayer;}
|
||||
|
||||
QgsVectorLayer *mLayer;
|
||||
int mLayerOutputAttributeIndex;
|
||||
/**
|
||||
* Return the attribute index used to split into multiple layers.
|
||||
* The attribute value is used for layer names.
|
||||
*/
|
||||
int layerOutputAttributeIndex() const {return mLayerOutputAttributeIndex;}
|
||||
|
||||
private:
|
||||
QgsVectorLayer *mLayer = nullptr;
|
||||
int mLayerOutputAttributeIndex = -1;
|
||||
};
|
||||
|
||||
enum SymbologyExport
|
||||
|
Loading…
x
Reference in New Issue
Block a user