mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-28 00:06:23 -05:00
refactor(core): make deleted copy ctor/operator= private
This commit is contained in:
parent
a3b5232612
commit
e5233e2c11
@ -312,7 +312,6 @@ Unary logical/arithmetical operator ( NOT, - ).
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::UnaryOperator op() const;
|
QgsSQLStatement::UnaryOperator op() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Operator
|
Operator
|
||||||
@ -351,7 +350,6 @@ Binary logical/arithmetical operator (AND, OR, =, +, ...).
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::BinaryOperator op() const;
|
QgsSQLStatement::BinaryOperator op() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Operator
|
Operator
|
||||||
@ -406,7 +404,6 @@ An 'x IN (y, z)' operator.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::Node *node() const;
|
QgsSQLStatement::Node *node() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Variable at the left of IN
|
Variable at the left of IN
|
||||||
@ -449,7 +446,6 @@ An 'X BETWEEN y and z' operator.
|
|||||||
%Docstring
|
%Docstring
|
||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
QgsSQLStatement::Node *node() const;
|
QgsSQLStatement::Node *node() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Variable at the left of BETWEEN
|
Variable at the left of BETWEEN
|
||||||
@ -498,7 +494,6 @@ Function with a name and arguments node.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QString name() const;
|
QString name() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Returns function name
|
Returns function name
|
||||||
@ -628,7 +623,6 @@ Selected column.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
void setAlias( const QString &alias );
|
void setAlias( const QString &alias );
|
||||||
%Docstring
|
%Docstring
|
||||||
Sets alias name
|
Sets alias name
|
||||||
@ -676,7 +670,6 @@ CAST operator.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::Node *node() const;
|
QgsSQLStatement::Node *node() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Node that is referred to
|
Node that is referred to
|
||||||
@ -777,7 +770,6 @@ Constructor with table definition, ON expression
|
|||||||
Constructor with table definition and USING columns
|
Constructor with table definition and USING columns
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::NodeTableDef *tableDef() const;
|
QgsSQLStatement::NodeTableDef *tableDef() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Table definition
|
Table definition
|
||||||
@ -831,7 +823,6 @@ Column in a ORDER BY.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::NodeColumnRef *column() const;
|
QgsSQLStatement::NodeColumnRef *column() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
The name of the column.
|
The name of the column.
|
||||||
@ -875,7 +866,6 @@ Constructor
|
|||||||
%End
|
%End
|
||||||
~NodeSelect();
|
~NodeSelect();
|
||||||
|
|
||||||
|
|
||||||
void setJoins( const QList<QgsSQLStatement::NodeJoin *> &joins /Transfer/ );
|
void setJoins( const QList<QgsSQLStatement::NodeJoin *> &joins /Transfer/ );
|
||||||
%Docstring
|
%Docstring
|
||||||
Sets joins
|
Sets joins
|
||||||
|
|||||||
@ -312,7 +312,6 @@ Unary logical/arithmetical operator ( NOT, - ).
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::UnaryOperator op() const;
|
QgsSQLStatement::UnaryOperator op() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Operator
|
Operator
|
||||||
@ -351,7 +350,6 @@ Binary logical/arithmetical operator (AND, OR, =, +, ...).
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::BinaryOperator op() const;
|
QgsSQLStatement::BinaryOperator op() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Operator
|
Operator
|
||||||
@ -406,7 +404,6 @@ An 'x IN (y, z)' operator.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::Node *node() const;
|
QgsSQLStatement::Node *node() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Variable at the left of IN
|
Variable at the left of IN
|
||||||
@ -449,7 +446,6 @@ An 'X BETWEEN y and z' operator.
|
|||||||
%Docstring
|
%Docstring
|
||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
QgsSQLStatement::Node *node() const;
|
QgsSQLStatement::Node *node() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Variable at the left of BETWEEN
|
Variable at the left of BETWEEN
|
||||||
@ -498,7 +494,6 @@ Function with a name and arguments node.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QString name() const;
|
QString name() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Returns function name
|
Returns function name
|
||||||
@ -628,7 +623,6 @@ Selected column.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
void setAlias( const QString &alias );
|
void setAlias( const QString &alias );
|
||||||
%Docstring
|
%Docstring
|
||||||
Sets alias name
|
Sets alias name
|
||||||
@ -676,7 +670,6 @@ CAST operator.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::Node *node() const;
|
QgsSQLStatement::Node *node() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Node that is referred to
|
Node that is referred to
|
||||||
@ -777,7 +770,6 @@ Constructor with table definition, ON expression
|
|||||||
Constructor with table definition and USING columns
|
Constructor with table definition and USING columns
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::NodeTableDef *tableDef() const;
|
QgsSQLStatement::NodeTableDef *tableDef() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Table definition
|
Table definition
|
||||||
@ -831,7 +823,6 @@ Column in a ORDER BY.
|
|||||||
Constructor
|
Constructor
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
QgsSQLStatement::NodeColumnRef *column() const;
|
QgsSQLStatement::NodeColumnRef *column() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
The name of the column.
|
The name of the column.
|
||||||
@ -875,7 +866,6 @@ Constructor
|
|||||||
%End
|
%End
|
||||||
~NodeSelect();
|
~NodeSelect();
|
||||||
|
|
||||||
|
|
||||||
void setJoins( const QList<QgsSQLStatement::NodeJoin *> &joins /Transfer/ );
|
void setJoins( const QList<QgsSQLStatement::NodeJoin *> &joins /Transfer/ );
|
||||||
%Docstring
|
%Docstring
|
||||||
Sets joins
|
Sets joins
|
||||||
|
|||||||
@ -328,9 +328,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
//! Constructor
|
//! Constructor
|
||||||
NodeUnaryOperator( QgsSQLStatement::UnaryOperator op, QgsSQLStatement::Node *operand SIP_TRANSFER ) : mOp( op ), mOperand( operand ) {}
|
NodeUnaryOperator( QgsSQLStatement::UnaryOperator op, QgsSQLStatement::Node *operand SIP_TRANSFER ) : mOp( op ), mOperand( operand ) {}
|
||||||
|
|
||||||
NodeUnaryOperator( const NodeUnaryOperator &other ) = delete;
|
|
||||||
NodeUnaryOperator &operator=( const NodeUnaryOperator &other ) = delete;
|
|
||||||
|
|
||||||
//! Operator
|
//! Operator
|
||||||
QgsSQLStatement::UnaryOperator op() const { return mOp; }
|
QgsSQLStatement::UnaryOperator op() const { return mOp; }
|
||||||
|
|
||||||
@ -344,6 +341,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeUnaryOperator( const NodeUnaryOperator &other ) = delete;
|
||||||
|
NodeUnaryOperator &operator=( const NodeUnaryOperator &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeUnaryOperator( const NodeUnaryOperator &other );
|
NodeUnaryOperator( const NodeUnaryOperator &other );
|
||||||
#endif
|
#endif
|
||||||
@ -367,9 +368,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
, mOpRight( opRight )
|
, mOpRight( opRight )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
NodeBinaryOperator( const NodeBinaryOperator &other ) = delete;
|
|
||||||
NodeBinaryOperator &operator=( const NodeBinaryOperator &other ) = delete;
|
|
||||||
|
|
||||||
//! Operator
|
//! Operator
|
||||||
QgsSQLStatement::BinaryOperator op() const { return mOp; }
|
QgsSQLStatement::BinaryOperator op() const { return mOp; }
|
||||||
|
|
||||||
@ -392,6 +390,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
bool leftAssociative() const;
|
bool leftAssociative() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeBinaryOperator( const NodeBinaryOperator &other ) = delete;
|
||||||
|
NodeBinaryOperator &operator=( const NodeBinaryOperator &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeBinaryOperator( const NodeBinaryOperator &other );
|
NodeBinaryOperator( const NodeBinaryOperator &other );
|
||||||
#endif
|
#endif
|
||||||
@ -413,9 +415,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
//! Constructor
|
//! Constructor
|
||||||
NodeInOperator( QgsSQLStatement::Node *node SIP_TRANSFER, QgsSQLStatement::NodeList *list SIP_TRANSFER, bool notin = false ) : mNode( node ), mList( list ), mNotIn( notin ) {}
|
NodeInOperator( QgsSQLStatement::Node *node SIP_TRANSFER, QgsSQLStatement::NodeList *list SIP_TRANSFER, bool notin = false ) : mNode( node ), mList( list ), mNotIn( notin ) {}
|
||||||
|
|
||||||
NodeInOperator( const NodeInOperator &other ) = delete;
|
|
||||||
NodeInOperator &operator=( const NodeInOperator &other ) = delete;
|
|
||||||
|
|
||||||
//! Variable at the left of IN
|
//! Variable at the left of IN
|
||||||
QgsSQLStatement::Node *node() const { return mNode.get(); }
|
QgsSQLStatement::Node *node() const { return mNode.get(); }
|
||||||
|
|
||||||
@ -432,6 +431,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeInOperator( const NodeInOperator &other ) = delete;
|
||||||
|
NodeInOperator &operator=( const NodeInOperator &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeInOperator( const NodeInOperator &other );
|
NodeInOperator( const NodeInOperator &other );
|
||||||
#endif
|
#endif
|
||||||
@ -453,9 +456,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
NodeBetweenOperator( QgsSQLStatement::Node *node SIP_TRANSFER, QgsSQLStatement::Node *minVal SIP_TRANSFER, QgsSQLStatement::Node *maxVal SIP_TRANSFER, bool notBetween = false )
|
NodeBetweenOperator( QgsSQLStatement::Node *node SIP_TRANSFER, QgsSQLStatement::Node *minVal SIP_TRANSFER, QgsSQLStatement::Node *maxVal SIP_TRANSFER, bool notBetween = false )
|
||||||
: mNode( node ), mMinVal( minVal ), mMaxVal( maxVal ), mNotBetween( notBetween ) {}
|
: mNode( node ), mMinVal( minVal ), mMaxVal( maxVal ), mNotBetween( notBetween ) {}
|
||||||
|
|
||||||
NodeBetweenOperator( const NodeBetweenOperator &other ) = delete;
|
|
||||||
NodeBetweenOperator &operator=( const NodeBetweenOperator &other ) = delete;
|
|
||||||
|
|
||||||
//! Variable at the left of BETWEEN
|
//! Variable at the left of BETWEEN
|
||||||
QgsSQLStatement::Node *node() const { return mNode.get(); }
|
QgsSQLStatement::Node *node() const { return mNode.get(); }
|
||||||
|
|
||||||
@ -475,6 +475,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeBetweenOperator( const NodeBetweenOperator &other ) = delete;
|
||||||
|
NodeBetweenOperator &operator=( const NodeBetweenOperator &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeBetweenOperator( const NodeBetweenOperator &other );
|
NodeBetweenOperator( const NodeBetweenOperator &other );
|
||||||
#endif
|
#endif
|
||||||
@ -496,9 +500,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
//! Constructor
|
//! Constructor
|
||||||
NodeFunction( const QString &name, QgsSQLStatement::NodeList *args SIP_TRANSFER ) : mName( name ), mArgs( args ) {}
|
NodeFunction( const QString &name, QgsSQLStatement::NodeList *args SIP_TRANSFER ) : mName( name ), mArgs( args ) {}
|
||||||
|
|
||||||
NodeFunction( const NodeFunction &other ) = delete;
|
|
||||||
NodeFunction &operator=( const NodeFunction &other ) = delete;
|
|
||||||
|
|
||||||
//! Returns function name
|
//! Returns function name
|
||||||
QString name() const { return mName; }
|
QString name() const { return mName; }
|
||||||
|
|
||||||
@ -512,6 +513,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
QgsSQLStatement::Node *clone() const override SIP_FACTORY;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeFunction( const NodeFunction &other ) = delete;
|
||||||
|
NodeFunction &operator=( const NodeFunction &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeFunction( const NodeFunction &other );
|
NodeFunction( const NodeFunction &other );
|
||||||
#endif
|
#endif
|
||||||
@ -597,9 +602,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
//! Constructor
|
//! Constructor
|
||||||
NodeSelectedColumn( QgsSQLStatement::Node *node SIP_TRANSFER ) : mColumnNode( node ) {}
|
NodeSelectedColumn( QgsSQLStatement::Node *node SIP_TRANSFER ) : mColumnNode( node ) {}
|
||||||
|
|
||||||
NodeSelectedColumn( const NodeSelectedColumn &other ) = delete;
|
|
||||||
NodeSelectedColumn &operator=( const NodeSelectedColumn &other ) = delete;
|
|
||||||
|
|
||||||
//! Sets alias name
|
//! Sets alias name
|
||||||
void setAlias( const QString &alias ) { mAlias = alias; }
|
void setAlias( const QString &alias ) { mAlias = alias; }
|
||||||
|
|
||||||
@ -618,6 +620,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
QgsSQLStatement::NodeSelectedColumn *cloneThis() const SIP_FACTORY;
|
QgsSQLStatement::NodeSelectedColumn *cloneThis() const SIP_FACTORY;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeSelectedColumn( const NodeSelectedColumn &other ) = delete;
|
||||||
|
NodeSelectedColumn &operator=( const NodeSelectedColumn &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeSelectedColumn( const NodeSelectedColumn &other );
|
NodeSelectedColumn( const NodeSelectedColumn &other );
|
||||||
#endif
|
#endif
|
||||||
@ -637,9 +643,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
//! Constructor
|
//! Constructor
|
||||||
NodeCast( QgsSQLStatement::Node *node SIP_TRANSFER, const QString &type ) : mNode( node ), mType( type ) {}
|
NodeCast( QgsSQLStatement::Node *node SIP_TRANSFER, const QString &type ) : mNode( node ), mType( type ) {}
|
||||||
|
|
||||||
NodeCast( const NodeCast &other ) = delete;
|
|
||||||
NodeCast &operator=( const NodeCast &other ) = delete;
|
|
||||||
|
|
||||||
//! Node that is referred to
|
//! Node that is referred to
|
||||||
QgsSQLStatement::Node *node() const { return mNode.get(); }
|
QgsSQLStatement::Node *node() const { return mNode.get(); }
|
||||||
|
|
||||||
@ -654,6 +657,9 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeCast( const NodeCast &other ) = delete;
|
||||||
|
NodeCast &operator=( const NodeCast &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeCast( const NodeCast &other );
|
NodeCast( const NodeCast &other );
|
||||||
#endif
|
#endif
|
||||||
@ -720,9 +726,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
//! Constructor with table definition and USING columns
|
//! Constructor with table definition and USING columns
|
||||||
NodeJoin( QgsSQLStatement::NodeTableDef *tabledef SIP_TRANSFER, const QList<QString> &usingColumns, QgsSQLStatement::JoinType type ) : mTableDef( tabledef ), mUsingColumns( usingColumns ), mType( type ) {}
|
NodeJoin( QgsSQLStatement::NodeTableDef *tabledef SIP_TRANSFER, const QList<QString> &usingColumns, QgsSQLStatement::JoinType type ) : mTableDef( tabledef ), mUsingColumns( usingColumns ), mType( type ) {}
|
||||||
|
|
||||||
NodeJoin( const NodeJoin &other ) = delete;
|
|
||||||
NodeJoin &operator=( const NodeJoin &other ) = delete;
|
|
||||||
|
|
||||||
//! Table definition
|
//! Table definition
|
||||||
QgsSQLStatement::NodeTableDef *tableDef() const { return mTableDef.get(); }
|
QgsSQLStatement::NodeTableDef *tableDef() const { return mTableDef.get(); }
|
||||||
|
|
||||||
@ -744,6 +747,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
QgsSQLStatement::NodeJoin *cloneThis() const SIP_FACTORY;
|
QgsSQLStatement::NodeJoin *cloneThis() const SIP_FACTORY;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeJoin( const NodeJoin &other ) = delete;
|
||||||
|
NodeJoin &operator=( const NodeJoin &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeJoin( const NodeJoin &other );
|
NodeJoin( const NodeJoin &other );
|
||||||
#endif
|
#endif
|
||||||
@ -765,9 +772,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
//! Constructor
|
//! Constructor
|
||||||
NodeColumnSorted( QgsSQLStatement::NodeColumnRef *column SIP_TRANSFER, bool asc ) : mColumn( column ), mAsc( asc ) {}
|
NodeColumnSorted( QgsSQLStatement::NodeColumnRef *column SIP_TRANSFER, bool asc ) : mColumn( column ), mAsc( asc ) {}
|
||||||
|
|
||||||
NodeColumnSorted( const NodeColumnSorted &other ) = delete;
|
|
||||||
NodeColumnSorted &operator=( const NodeColumnSorted &other ) = delete;
|
|
||||||
|
|
||||||
//! The name of the column.
|
//! The name of the column.
|
||||||
QgsSQLStatement::NodeColumnRef *column() const { return mColumn.get(); }
|
QgsSQLStatement::NodeColumnRef *column() const { return mColumn.get(); }
|
||||||
|
|
||||||
@ -783,6 +787,10 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
QgsSQLStatement::NodeColumnSorted *cloneThis() const SIP_FACTORY;
|
QgsSQLStatement::NodeColumnSorted *cloneThis() const SIP_FACTORY;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeColumnSorted( const NodeColumnSorted &other ) = delete;
|
||||||
|
NodeColumnSorted &operator=( const NodeColumnSorted &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeColumnSorted( const NodeColumnSorted &other );
|
NodeColumnSorted( const NodeColumnSorted &other );
|
||||||
#endif
|
#endif
|
||||||
@ -803,9 +811,6 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
NodeSelect( const QList<QgsSQLStatement::NodeTableDef *> &tableList SIP_TRANSFER, const QList<QgsSQLStatement::NodeSelectedColumn *> &columns SIP_TRANSFER, bool distinct ) : mTableList( tableList ), mColumns( columns ), mDistinct( distinct ) {}
|
NodeSelect( const QList<QgsSQLStatement::NodeTableDef *> &tableList SIP_TRANSFER, const QList<QgsSQLStatement::NodeSelectedColumn *> &columns SIP_TRANSFER, bool distinct ) : mTableList( tableList ), mColumns( columns ), mDistinct( distinct ) {}
|
||||||
~NodeSelect() override;
|
~NodeSelect() override;
|
||||||
|
|
||||||
NodeSelect( const NodeSelect &other ) = delete;
|
|
||||||
NodeSelect &operator=( const NodeSelect &other ) = delete;
|
|
||||||
|
|
||||||
//! Sets joins
|
//! Sets joins
|
||||||
void setJoins( const QList<QgsSQLStatement::NodeJoin *> &joins SIP_TRANSFER ) { qDeleteAll( mJoins ); mJoins = joins; }
|
void setJoins( const QList<QgsSQLStatement::NodeJoin *> &joins SIP_TRANSFER ) { qDeleteAll( mJoins ); mJoins = joins; }
|
||||||
//! Append a join
|
//! Append a join
|
||||||
@ -836,6 +841,9 @@ class CORE_EXPORT QgsSQLStatement
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
NodeSelect( const NodeSelect &other ) = delete;
|
||||||
|
NodeSelect &operator=( const NodeSelect &other ) = delete;
|
||||||
|
|
||||||
#ifdef SIP_RUN
|
#ifdef SIP_RUN
|
||||||
NodeSelect( const NodeSelect &other );
|
NodeSelect( const NodeSelect &other );
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user