QGIS API Documentation  3.20.0-Odense (decaadbb31)
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 294 of file qgssqlstatement.h.

Constructor & Destructor Documentation

◆ NodeList()

QgsSQLStatement::NodeList::NodeList ( )
default

Constructor.

◆ ~NodeList()

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

Definition at line 299 of file qgssqlstatement.h.

Member Function Documentation

◆ accept()

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

Accept visitor.

Definition at line 275 of file qgssqlstatement.cpp.

◆ append()

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

Takes ownership of the provided node.

Definition at line 302 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 283 of file qgssqlstatement.cpp.

◆ count()

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

Returns the number of nodes in the list.

Definition at line 310 of file qgssqlstatement.h.

◆ dump()

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

Dump list.

Definition at line 295 of file qgssqlstatement.cpp.

◆ list()

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

Returns list.

Definition at line 305 of file qgssqlstatement.h.

Member Data Documentation

◆ mList

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

Definition at line 322 of file qgssqlstatement.h.


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