QGIS/python/core/symbology/qgsrenderer.sip

548 lines
16 KiB
Plaintext
Raw Normal View History

2017-06-06 11:03:05 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/core/symbology/qgsrenderer.h *
2017-06-06 11:03:05 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2017-06-06 11:03:05 +02:00
typedef QList<QgsSymbol *> QgsSymbolList;
2017-06-06 11:03:05 +02:00
2016-08-05 08:09:43 +02:00
class QgsSymbolLevelItem
{
2017-06-06 11:03:05 +02:00
%TypeHeaderCode
2017-06-06 11:03:05 +02:00
#include "qgsrenderer.h"
%End
public:
QgsSymbolLevelItem( QgsSymbol *symbol, int layer );
QgsSymbol *symbol();
int layer();
2017-06-06 11:03:05 +02:00
protected:
};
2017-06-06 11:03:05 +02:00
typedef QList< QgsSymbolLevelItem > QgsSymbolLevel;
2017-06-06 11:03:05 +02:00
typedef QList< QList< QgsSymbolLevelItem > > QgsSymbolLevelOrder;
2016-08-06 11:01:42 +02:00
class QgsFeatureRenderer
{
2017-06-06 11:03:05 +02:00
%TypeHeaderCode
2017-06-06 11:03:05 +02:00
#include "qgsrenderer.h"
%End
%ConvertToSubClassCode
2017-06-06 11:03:05 +02:00
if ( sipCpp->type() == "singleSymbol" )
sipType = sipType_QgsSingleSymbolRenderer;
else if ( sipCpp->type() == "categorizedSymbol" )
sipType = sipType_QgsCategorizedSymbolRenderer;
else if ( sipCpp->type() == "graduatedSymbol" )
sipType = sipType_QgsGraduatedSymbolRenderer;
else if ( sipCpp->type() == "RuleRenderer" )
sipType = sipType_QgsRuleBasedRenderer;
else if ( sipCpp->type() == "heatmapRenderer" )
sipType = sipType_QgsHeatmapRenderer;
else if ( sipCpp->type() == "invertedPolygonRenderer" )
sipType = sipType_QgsInvertedPolygonRenderer;
else if ( sipCpp->type() == "pointCluster" )
sipType = sipType_QgsPointClusterRenderer;
else if ( sipCpp->type() == "pointDisplacement" )
sipType = sipType_QgsPointDisplacementRenderer;
else if ( sipCpp->type() == "25dRenderer" )
sipType = sipType_Qgs25DRenderer;
else if ( sipCpp->type() == "nullSymbol" )
sipType = sipType_QgsNullSymbolRenderer;
else
sipType = 0;
%End
public:
static QgsFeatureRenderer *defaultRenderer( QgsWkbTypes::GeometryType geomType ) /Factory/;
2017-06-06 11:03:05 +02:00
%Docstring
return a new renderer - used by default in vector layers
%End
QString type() const;
virtual QgsSymbol *symbolForFeature( QgsFeature &feature, QgsRenderContext &context ) = 0;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
To be overridden
Must be called between startRender() and stopRender() calls.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param feature: feature
:param context: render context
:return: returns pointer to symbol or 0 if symbol was not found
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
%End
virtual QgsSymbol *originalSymbolForFeature( QgsFeature &feature, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Return symbol for feature. The difference compared to symbolForFeature() is that it returns original
symbol which can be used as an identifier for renderer's rule - the former may return a temporary replacement
of a symbol for use in rendering.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
%End
virtual QSet< QString > legendKeysForFeature( QgsFeature &feature, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Return legend keys matching a specified feature.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.14
%End
2016-01-28 21:43:09 +11:00
virtual void startRender( QgsRenderContext &context, const QgsFields &fields );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Must be called when a new render cycle is started. A call to startRender() must always
be followed by a corresponding call to stopRender() after all features have been rendered.
2017-06-06 11:03:05 +02:00
2017-12-15 10:36:55 -04:00
:param context: Additional information passed to the renderer about the job which will be rendered
:param fields: The fields available for rendering
2017-11-12 13:57:52 +10:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`stopRender()`
2017-11-12 13:57:52 +10:00
2017-12-15 10:36:55 -04:00
\warning This method is not thread safe. Before calling startRender() in a non-main thread,
the renderer should instead be cloned and startRender()/stopRender() called on the clone.
2017-06-06 11:03:05 +02:00
%End
virtual void stopRender( QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Must be called when a render cycle has finished, to allow the renderer to clean up.
2017-11-12 13:57:52 +10:00
2017-12-15 10:36:55 -04:00
Calls to stopRender() must always be preceded by a call to startRender().
2017-11-12 13:57:52 +10:00
2017-12-15 10:36:55 -04:00
\warning This method is not thread safe. Before calling startRender() in a non-main thread,
the renderer should instead be cloned and startRender()/stopRender() called on the clone.
2017-11-12 13:57:52 +10:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`startRender()`
2017-06-06 11:03:05 +02:00
%End
virtual QString filter( const QgsFields &fields = QgsFields() );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
If a renderer does not require all the features this method may be overridden
and return an expression used as where clause.
This will be called once after startRender() and before the first call
to renderFeature().
By default this returns a null string and all features will be requested.
You do not need to specify the extent in here, this is taken care of separately and
will be combined with a filter returned from this method.
:return: An expression used as where clause
2017-06-06 11:03:05 +02:00
%End
virtual QSet<QString> usedAttributes( const QgsRenderContext &context ) const = 0;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Return a list of attributes required by this renderer. Attributes not listed in here may
not have been requested from the provider at rendering time.
:return: A set of attributes
2017-06-06 11:03:05 +02:00
%End
virtual bool filterNeedsGeometry() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns true if this renderer requires the geometry to apply the filter.
2017-06-06 11:03:05 +02:00
%End
2016-08-06 11:01:42 +02:00
virtual ~QgsFeatureRenderer();
virtual QgsFeatureRenderer *clone() const = 0 /Factory/;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Create a deep copy of this renderer. Should be implemented by all subclasses
and generate a proper subclass.
:return: A copy of this renderer
2017-06-06 11:03:05 +02:00
%End
virtual bool renderFeature( QgsFeature &feature, QgsRenderContext &context, int layer = -1, bool selected = false, bool drawVertexMarker = false );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Render a feature using this renderer in the given context.
Must be called between startRender() and stopRender() calls.
Default implementation renders a symbol as determined by symbolForFeature() call.
Returns true if the feature has been returned (this is used for example
to determine whether the feature may be labelled).
2017-06-06 11:03:05 +02:00
2017-12-15 10:36:55 -04:00
If layer is not -1, the renderer should draw only a particula layer from symbols
(in order to support symbol level rendering).
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`startRender()`
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`stopRender()`
2017-06-06 11:03:05 +02:00
%End
virtual QString dump() const;
2017-06-06 11:03:05 +02:00
%Docstring
Returns debug information about this renderer
%End
enum Capability
{
2017-06-06 11:03:05 +02:00
SymbolLevels,
MoreSymbolsPerFeature,
Filter,
ScaleDependent
};
2016-08-06 11:01:42 +02:00
typedef QFlags<QgsFeatureRenderer::Capability> Capabilities;
2017-06-06 11:03:05 +02:00
virtual QgsFeatureRenderer::Capabilities capabilities();
%Docstring
2017-12-15 10:36:55 -04:00
Returns details about internals of this renderer.
2017-06-06 11:03:05 +02:00
2017-12-15 10:36:55 -04:00
E.g. if you only want to deal with visible features:
2017-06-06 11:03:05 +02:00
2017-12-15 10:36:55 -04:00
~~~{.py}
if not renderer.capabilities().testFlag(QgsFeatureRenderer.Filter) or renderer.willRenderFeature(feature, context):
deal_with_my_feature()
else:
skip_the_curren_feature()
~~~
2017-06-06 11:03:05 +02:00
%End
virtual QgsSymbolList symbols( QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns list of symbols used by the renderer.
2017-12-15 21:36:08 -04:00
:param context: render context
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
%End
bool usingSymbolLevels() const;
void setUsingSymbolLevels( bool usingSymbolLevels );
2017-06-06 11:03:05 +02:00
static QgsFeatureRenderer *load( QDomElement &symbologyElem, const QgsReadWriteContext &context ) /Factory/;
%Docstring
create a renderer from XML element
%End
virtual QDomElement save( QDomDocument &doc, const QgsReadWriteContext &context );
%Docstring
store renderer info to XML element
%End
virtual QDomElement writeSld( QDomDocument &doc, const QString &styleName, const QgsStringMap &props = QgsStringMap() ) const;
%Docstring
2017-12-15 10:36:55 -04:00
create the SLD UserStyle element following the SLD v1.1 specs with the given name
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.8
%End
static QgsFeatureRenderer *loadSld( const QDomNode &node, QgsWkbTypes::GeometryType geomType, QString &errorMessage ) /Factory/;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Create a new renderer according to the information contained in
the UserStyle element of a SLD style document
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param node: the node in the SLD document whose the UserStyle element
is a child
:param geomType: the geometry type of the features, used to convert
Symbolizer elements
:param errorMessage: it will contain the error message if something
went wrong
:return: the renderer
2017-06-06 11:03:05 +02:00
%End
2017-06-06 11:03:05 +02:00
virtual void toSld( QDomDocument &doc, QDomElement &element, const QgsStringMap &props = QgsStringMap() ) const;
%Docstring
used from subclasses to create SLD Rule elements following SLD v1.1 specs
%End
virtual bool legendSymbolItemsCheckable() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
items of symbology items in legend should be checkable
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.5
%End
virtual bool legendSymbolItemChecked( const QString &key );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
items of symbology items in legend is checked
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.5
%End
virtual void checkLegendSymbolItem( const QString &key, bool state = true );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
item in symbology was checked
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.5
%End
virtual void setLegendSymbolItem( const QString &key, QgsSymbol *symbol /Transfer/ );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets the symbol to be used for a legend symbol item.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param key: rule key for legend symbol
:param symbol: new symbol for legend item. Ownership is transferred to renderer.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.14
%End
virtual QgsLegendSymbolList legendSymbolItems() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns a list of symbology items for the legend
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.6
%End
2014-08-20 19:32:29 +07:00
virtual QString legendClassificationAttribute() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
If supported by the renderer, return classification attribute for the use in legend
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.6
%End
2014-08-20 19:32:29 +07:00
void setVertexMarkerAppearance( int type, int size );
2017-06-06 11:03:05 +02:00
%Docstring
set type and size of editing vertex markers for subsequent rendering
%End
virtual bool willRenderFeature( QgsFeature &feat, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns whether the renderer will render a feature or not.
Must be called between startRender() and stopRender() calls.
Default implementation uses symbolForFeature().
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
%End
virtual QgsSymbolList symbolsForFeature( QgsFeature &feat, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns list of symbols used for rendering the feature.
For renderers that do not support MoreSymbolsPerFeature it is more efficient
to use symbolForFeature()
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
%End
virtual QgsSymbolList originalSymbolsForFeature( QgsFeature &feat, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Equivalent of originalSymbolsForFeature() call
extended to support renderers that may use more symbols per feature - similar to symbolsForFeature()
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
%End
virtual void modifyRequestExtent( QgsRectangle &extent, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Allows for a renderer to modify the extent of a feature request prior to rendering
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param extent: reference to request's filter extent. Modify extent to change the
extent of feature request
:param context: render context
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.7
%End
QgsPaintEffect *paintEffect() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the current paint effect for the renderer.
:return: paint effect
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.9
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`setPaintEffect`
2017-06-06 11:03:05 +02:00
%End
void setPaintEffect( QgsPaintEffect *effect );
%Docstring
2017-12-15 10:36:55 -04:00
Sets the current paint effect for the renderer.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param effect: paint effect. Ownership is transferred to the renderer.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.9
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`paintEffect`
2017-06-06 11:03:05 +02:00
%End
bool forceRasterRender() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns whether the renderer must render as a raster.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`setForceRasterRender`
2017-06-06 11:03:05 +02:00
%End
void setForceRasterRender( bool forceRaster );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets whether the renderer should be rendered to a raster destination.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param forceRaster: set to true if renderer must be drawn on a raster surface.
This may be desirable for highly detailed layers where rendering as a vector
would result in a large, complex vector output.
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`forceRasterRender`
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.12
%End
QgsFeatureRequest::OrderBy orderBy() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Get the order in which features shall be processed by this renderer.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.14
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. note::
this property has no effect if orderByEnabled() is false
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`orderByEnabled()`
2017-06-06 11:03:05 +02:00
%End
void setOrderBy( const QgsFeatureRequest::OrderBy &orderBy );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Define the order in which features shall be processed by this renderer.
2017-06-06 11:03:05 +02:00
.. note::
this property has no effect if orderByEnabled() is false
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.14
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`setOrderByEnabled()`
2017-06-06 11:03:05 +02:00
%End
bool orderByEnabled() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns whether custom ordering will be applied before features are processed by this renderer.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.14
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`orderBy()`
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`setOrderByEnabled()`
2017-06-06 11:03:05 +02:00
%End
void setOrderByEnabled( bool enabled );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets whether custom ordering should be applied before features are processed by this renderer.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param enabled: set to true to enable custom feature ordering
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.14
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`setOrderBy()`
2017-12-15 10:36:55 -04:00
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`orderByEnabled()`
2017-06-06 11:03:05 +02:00
%End
virtual void setEmbeddedRenderer( QgsFeatureRenderer *subRenderer /Transfer/ );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets an embedded renderer (subrenderer) for this feature renderer. The base class implementation
does nothing with subrenderers, but individual derived classes can use these to modify their behavior.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param subRenderer: the embedded renderer. Ownership will be transferred.
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`embeddedRenderer()`
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.16
%End
virtual const QgsFeatureRenderer *embeddedRenderer() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the current embedded renderer (subrenderer) for this feature renderer. The base class
implementation does not use subrenderers and will always return null.
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`setEmbeddedRenderer()`
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.16
%End
protected:
QgsFeatureRenderer( const QString &type );
2017-06-06 11:03:05 +02:00
void renderFeatureWithSymbol( QgsFeature &feature,
QgsSymbol *symbol,
QgsRenderContext &context,
int layer,
bool selected,
bool drawVertexMarker );
void renderVertexMarker( QPointF pt, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
render editing vertex marker at specified point
%End
void renderVertexMarkerPolyline( QPolygonF &pts, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
render editing vertex marker for a polyline
%End
void renderVertexMarkerPolygon( QPolygonF &pts, QList<QPolygonF> *rings, QgsRenderContext &context );
2017-06-06 11:03:05 +02:00
%Docstring
render editing vertex marker for a polygon
%End
static QPointF _getPoint( QgsRenderContext &context, const QgsPoint &point );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Creates a point in screen coordinates from a wkb string in map
coordinates
2017-06-06 11:03:05 +02:00
%End
2013-06-23 16:00:16 +02:00
2016-08-06 11:01:42 +02:00
void copyRendererData( QgsFeatureRenderer *destRenderer ) const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Clones generic renderer data to another renderer.
Currently clones
* Order By
* Paint Effect
2017-06-06 11:03:05 +02:00
2017-12-15 10:36:55 -04:00
:param destRenderer: destination renderer for copied effect
2017-06-06 11:03:05 +02:00
%End
static void convertSymbolSizeScale( QgsSymbol *symbol, QgsSymbol::ScaleMethod method, const QString &field );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. note::
this function is used to convert old sizeScale expressions to symbol
2017-12-15 10:36:55 -04:00
level DataDefined size
2017-06-06 11:03:05 +02:00
%End
static void convertSymbolRotation( QgsSymbol *symbol, const QString &field );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. note::
this function is used to convert old rotations expressions to symbol
2017-12-15 10:36:55 -04:00
level DataDefined angle
2017-06-06 11:03:05 +02:00
%End
private:
2016-08-06 11:01:42 +02:00
QgsFeatureRenderer( const QgsFeatureRenderer & );
QgsFeatureRenderer &operator=( const QgsFeatureRenderer & );
};
2017-06-06 11:03:05 +02:00
QFlags<QgsFeatureRenderer::Capability> operator|(QgsFeatureRenderer::Capability f1, QFlags<QgsFeatureRenderer::Capability> f2);
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/core/symbology/qgsrenderer.h *
2017-06-06 11:03:05 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/