QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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. More...
 
 ~PalStat ()
 
QString getLayerName (int layerId)
 Returns the name of the labelled layer layerId. More...
 
int getLayerNbLabelledObjects (int layerId) const
 Returns the number of object in layer layerId which are labelled. More...
 
int getLayerNbObjects (int layerId) const
 Returns the number of object in layer layerId. More...
 
int getNbLabelledObjects () const
 the number of objects which are labelled More...
 
int getNbLayers () const
 how many layersare labelled ? More...
 
int getNbObjects () const
 the number of object in problem More...
 
PalStatoperator= (const PalStat &other)=delete
 PalStat cannot be copied. More...
 

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 Function 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: