Skip to content

Commit

Permalink
More missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent 6166d21 commit 9b04589
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/analysis/network/qgsgraph.sip
Expand Up @@ -107,7 +107,11 @@ class QgsGraph
#include "qgsgraph.h" #include "qgsgraph.h"
%End %End
public: public:

QgsGraph(); QgsGraph();
%Docstring
Constructor for QgsGraph.
%End




int addVertex( const QgsPointXY &pt ); int addVertex( const QgsPointXY &pt );
Expand Down
5 changes: 5 additions & 0 deletions python/core/diagram/qgsdiagram.sip
Expand Up @@ -19,6 +19,7 @@ class QgsDiagram
#include "qgsdiagram.h" #include "qgsdiagram.h"
%End %End
public: public:

virtual ~QgsDiagram(); virtual ~QgsDiagram();


virtual QgsDiagram *clone() const = 0 /Factory/; virtual QgsDiagram *clone() const = 0 /Factory/;
Expand Down Expand Up @@ -71,7 +72,11 @@ Returns the size in map units the diagram will use to render. Interpolate size
%End %End


protected: protected:

QgsDiagram(); QgsDiagram();
%Docstring
Constructor for QgsDiagram.
%End
QgsDiagram( const QgsDiagram &other ); QgsDiagram( const QgsDiagram &other );


void setPenWidth( QPen &pen, const QgsDiagramSettings &s, const QgsRenderContext &c ); void setPenWidth( QPen &pen, const QgsDiagramSettings &s, const QgsRenderContext &c );
Expand Down
4 changes: 4 additions & 0 deletions python/core/qgscredentials.sip
Expand Up @@ -73,7 +73,11 @@ retrieves instance
%End %End


protected: protected:

QgsCredentials(); QgsCredentials();
%Docstring
Constructor for QgsCredentials.
%End


virtual bool request( const QString &realm, QString &username /In,Out/, QString &password /In,Out/, const QString &message = QString() ) = 0; virtual bool request( const QString &realm, QString &username /In,Out/, QString &password /In,Out/, const QString &message = QString() ) = 0;
%Docstring %Docstring
Expand Down
4 changes: 4 additions & 0 deletions python/core/qgsreadwritecontext.sip
Expand Up @@ -20,7 +20,11 @@ class QgsReadWriteContext
#include "qgsreadwritecontext.h" #include "qgsreadwritecontext.h"
%End %End
public: public:

QgsReadWriteContext(); QgsReadWriteContext();
%Docstring
Constructor for QgsReadWriteContext.
%End


const QgsPathResolver &pathResolver() const; const QgsPathResolver &pathResolver() const;
%Docstring %Docstring
Expand Down
10 changes: 10 additions & 0 deletions python/core/raster/qgsrastertransparency.sip
Expand Up @@ -19,7 +19,11 @@ class QgsRasterTransparency
#include "qgsrastertransparency.h" #include "qgsrastertransparency.h"
%End %End
public: public:

QgsRasterTransparency(); QgsRasterTransparency();
%Docstring
Constructor for QgsRasterTransparency.
%End


struct TransparentThreeValuePixel struct TransparentThreeValuePixel
{ {
Expand Down Expand Up @@ -87,8 +91,14 @@ True if there are no entries in the pixel lists except the nodata value
%End %End


void writeXml( QDomDocument &doc, QDomElement &parentElem ) const; void writeXml( QDomDocument &doc, QDomElement &parentElem ) const;
%Docstring
Writes the transparency information to an XML document.
%End


void readXml( const QDomElement &elem ); void readXml( const QDomElement &elem );
%Docstring
Reads the transparency information from an XML document.
%End


}; };
/************************************************************************ /************************************************************************
Expand Down
4 changes: 4 additions & 0 deletions src/analysis/network/qgsgraph.h
Expand Up @@ -131,6 +131,10 @@ class ANALYSIS_EXPORT QgsGraphVertex
class ANALYSIS_EXPORT QgsGraph class ANALYSIS_EXPORT QgsGraph
{ {
public: public:

/**
* Constructor for QgsGraph.
*/
QgsGraph() = default; QgsGraph() = default;


// Graph constructing methods // Graph constructing methods
Expand Down
5 changes: 5 additions & 0 deletions src/core/diagram/qgsdiagram.h
Expand Up @@ -37,6 +37,7 @@ class QgsAttributes;
class CORE_EXPORT QgsDiagram class CORE_EXPORT QgsDiagram
{ {
public: public:

virtual ~QgsDiagram() { clearCache(); } virtual ~QgsDiagram() { clearCache(); }


/** Returns an instance that is equivalent to this one /** Returns an instance that is equivalent to this one
Expand Down Expand Up @@ -73,6 +74,10 @@ class CORE_EXPORT QgsDiagram
virtual double legendSize( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is ) const = 0; virtual double legendSize( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is ) const = 0;


protected: protected:

/**
* Constructor for QgsDiagram.
*/
QgsDiagram() = default; QgsDiagram() = default;
QgsDiagram( const QgsDiagram &other ); QgsDiagram( const QgsDiagram &other );


Expand Down
4 changes: 4 additions & 0 deletions src/core/qgscredentials.h
Expand Up @@ -75,6 +75,10 @@ class CORE_EXPORT QgsCredentials
QMutex *mutex() { return &mMutex; } QMutex *mutex() { return &mMutex; }


protected: protected:

/**
* Constructor for QgsCredentials.
*/
QgsCredentials() = default; QgsCredentials() = default;


//! request a password //! request a password
Expand Down
4 changes: 4 additions & 0 deletions src/core/qgsreadwritecontext.h
Expand Up @@ -29,6 +29,10 @@
class CORE_EXPORT QgsReadWriteContext class CORE_EXPORT QgsReadWriteContext
{ {
public: public:

/**
* Constructor for QgsReadWriteContext.
*/
QgsReadWriteContext() = default; QgsReadWriteContext() = default;


//! Returns path resolver for conversion between relative and absolute paths //! Returns path resolver for conversion between relative and absolute paths
Expand Down
10 changes: 10 additions & 0 deletions src/core/raster/qgsrastertransparency.h
Expand Up @@ -32,6 +32,10 @@ class CORE_EXPORT QgsRasterTransparency
{ {


public: public:

/**
* Constructor for QgsRasterTransparency.
*/
QgsRasterTransparency() = default; QgsRasterTransparency() = default;


// //
Expand Down Expand Up @@ -82,8 +86,14 @@ class CORE_EXPORT QgsRasterTransparency
//! True if there are no entries in the pixel lists except the nodata value //! True if there are no entries in the pixel lists except the nodata value
bool isEmpty() const; bool isEmpty() const;


/**
* Writes the transparency information to an XML document.
*/
void writeXml( QDomDocument &doc, QDomElement &parentElem ) const; void writeXml( QDomDocument &doc, QDomElement &parentElem ) const;


/**
* Reads the transparency information from an XML document.
*/
void readXml( const QDomElement &elem ); void readXml( const QDomElement &elem );


private: private:
Expand Down

0 comments on commit 9b04589

Please sign in to comment.