|
QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
Context for relations. More...
#include <qgsrelationcontext.h>
Public Member Functions | |
| QgsRelationContext (const QgsRelationContext &other) | |
| Copy constructor. More... | |
| QgsRelationContext (QgsProject *project=nullptr) | |
| Constructor for QgsRelationContext. More... | |
| ~QgsRelationContext () | |
| QgsRelationContext & | operator= (const QgsRelationContext &other) |
| Assignment operator. More... | |
| const QgsProject * | project () const |
| Gets the associated project. More... | |
Context for relations.
Used to resolve layers from projects.
Definition at line 31 of file qgsrelationcontext.h.
| QgsRelationContext::QgsRelationContext | ( | QgsProject * | project = nullptr | ) |
Constructor for QgsRelationContext.
Definition at line 18 of file qgsrelationcontext.cpp.
|
default |
| QgsRelationContext::QgsRelationContext | ( | const QgsRelationContext & | other | ) |
Copy constructor.
Definition at line 25 of file qgsrelationcontext.cpp.
| QgsRelationContext & QgsRelationContext::operator= | ( | const QgsRelationContext & | other | ) |
Assignment operator.
Definition at line 30 of file qgsrelationcontext.cpp.
| const QgsProject * QgsRelationContext::project | ( | ) | const |
Gets the associated project.
If there is no associated project, then it will return the global project instance
Definition at line 36 of file qgsrelationcontext.cpp.