QGIS API Documentation  3.6.0-Noosa (5873452)
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 284 of file qgssqlstatement.h.

Constructor & Destructor Documentation

◆ NodeList()

QgsSQLStatement::NodeList::NodeList ( )
default

Constructor.

◆ ~NodeList()

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

Definition at line 289 of file qgssqlstatement.h.

Member Function Documentation

◆ accept()

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

Accept visitor.

Definition at line 254 of file qgssqlstatement.cpp.

◆ append()

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

Takes ownership of the provided node.

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

◆ count()

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

Returns the number of nodes in the list.

Definition at line 300 of file qgssqlstatement.h.

◆ dump()

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

Dump list.

Definition at line 273 of file qgssqlstatement.cpp.

◆ list()

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

Returns list.

Definition at line 295 of file qgssqlstatement.h.

Member Data Documentation

◆ mList

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

Definition at line 312 of file qgssqlstatement.h.


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