QGIS API Documentation  3.37.0-Master (a5b4d9743e8)
Public Member Functions | Protected Attributes | List of all members
QgsSQLStatement::NodeList Class Reference

A list of nodes. More...

#include <qgssqlstatement.h>

Public Member Functions

 NodeList ()=default
 Constructor. More...
 
virtual ~NodeList ()
 
void accept (QgsSQLStatement::Visitor &v) const
 Accept visitor. More...
 
void append (QgsSQLStatement::Node *node)
 Takes ownership of the provided node. More...
 
QgsSQLStatement::NodeListclone () const
 Creates a deep copy of this list. Ownership is transferred to the caller. More...
 
int count () const
 Returns the number of nodes in the list. More...
 
virtual QString dump () const
 Dump list. More...
 
QList< QgsSQLStatement::Node * > list ()
 Returns list. More...
 

Protected Attributes

QList< Node * > mList
 

Detailed Description

A list of nodes.

Definition at line 293 of file qgssqlstatement.h.

Constructor & Destructor Documentation

◆ NodeList()

QgsSQLStatement::NodeList::NodeList ( )
default

Constructor.

◆ ~NodeList()

virtual QgsSQLStatement::NodeList::~NodeList ( )
inlinevirtual

Definition at line 298 of file qgssqlstatement.h.

Member Function Documentation

◆ accept()

void QgsSQLStatement::NodeList::accept ( QgsSQLStatement::Visitor v) const

Accept visitor.

Definition at line 280 of file qgssqlstatement.cpp.

◆ append()

void QgsSQLStatement::NodeList::append ( QgsSQLStatement::Node node)
inline

Takes ownership of the provided node.

Definition at line 301 of file qgssqlstatement.h.

◆ clone()

QgsSQLStatement::NodeList * QgsSQLStatement::NodeList::clone ( ) const

Creates a deep copy of this list. Ownership is transferred to the caller.

Definition at line 288 of file qgssqlstatement.cpp.

◆ count()

int QgsSQLStatement::NodeList::count ( ) const
inline

Returns the number of nodes in the list.

Definition at line 309 of file qgssqlstatement.h.

◆ dump()

QString QgsSQLStatement::NodeList::dump ( ) const
virtual

Dump list.

Definition at line 300 of file qgssqlstatement.cpp.

◆ list()

QList<QgsSQLStatement::Node *> QgsSQLStatement::NodeList::list ( )
inline

Returns list.

Definition at line 304 of file qgssqlstatement.h.

Member Data Documentation

◆ mList

QList<Node *> QgsSQLStatement::NodeList::mList
protected

Definition at line 321 of file qgssqlstatement.h.


The documentation for this class was generated from the following files: