QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
pal::PalStat Class Reference

Summary statistics of labeling problem. More...

#include <palstat.h>

Public Member Functions

 PalStat (const PalStat &other)=delete
 PalStat cannot be copied.
 
 ~PalStat ()
 
QString getLayerName (int layerId)
 Returns the name of the labelled layer layerId.
 
int getLayerNbLabelledObjects (int layerId) const
 Returns the number of object in layer layerId which are labelled.
 
int getLayerNbObjects (int layerId) const
 Returns the number of object in layer layerId.
 
int getNbLabelledObjects () const
 the number of objects which are labelled
 
int getNbLayers () const
 how many layersare labelled ?
 
int getNbObjects () const
 the number of object in problem
 
PalStatoperator= (const PalStat &other)=delete
 PalStat cannot be copied.
 

Friends

class Pal
 
class Problem
 

Detailed Description

Summary statistics of labeling problem.

Note
not available in Python bindings

Definition at line 48 of file palstat.h.

Constructor & Destructor Documentation

◆ ~PalStat()

pal::PalStat::~PalStat ( )

Definition at line 41 of file palstat.cpp.

◆ PalStat()

pal::PalStat::PalStat ( const PalStat other)
delete

PalStat cannot be copied.

Member Function Documentation

◆ getLayerName()

QString pal::PalStat::getLayerName ( int  layerId)

Returns the name of the labelled layer layerId.

Definition at line 62 of file palstat.cpp.

◆ getLayerNbLabelledObjects()

int pal::PalStat::getLayerNbLabelledObjects ( int  layerId) const

Returns the number of object in layer layerId which are labelled.

Definition at line 78 of file palstat.cpp.

◆ getLayerNbObjects()

int pal::PalStat::getLayerNbObjects ( int  layerId) const

Returns the number of object in layer layerId.

Definition at line 70 of file palstat.cpp.

◆ getNbLabelledObjects()

int pal::PalStat::getNbLabelledObjects ( ) const

the number of objects which are labelled

Definition at line 52 of file palstat.cpp.

◆ getNbLayers()

int pal::PalStat::getNbLayers ( ) const

how many layersare labelled ?

Definition at line 57 of file palstat.cpp.

◆ getNbObjects()

int pal::PalStat::getNbObjects ( ) const

the number of object in problem

Definition at line 47 of file palstat.cpp.

◆ operator=()

PalStat & pal::PalStat::operator= ( const PalStat other)
delete

PalStat cannot be copied.

Friends And Related Symbol Documentation

◆ Pal

friend class Pal
friend

Definition at line 51 of file palstat.h.

◆ Problem

friend class Problem
friend

Definition at line 52 of file palstat.h.


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