QGIS API Documentation  2.99.0-Master (5753576)
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)
 get a name of the labelled layer 'layerId' More...
 
int getLayerNbLabelledObjects (int layerId)
 get the number of object in layer 'layerId' which are labelled More...
 
int getLayerNbObjects (int layerId)
 get the number of object in layer 'layerId' More...
 
int getNbLabelledObjects ()
 the number of objects which are labelled More...
 
int getNbLayers ()
 how many layersare labelled ? More...
 
int getNbObjects ()
 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 44 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)

get a name of the labelled layer 'layerId'

Definition at line 62 of file palstat.cpp.

§ getLayerNbLabelledObjects()

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

get 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)

get the number of object in layer 'layerId'

Definition at line 70 of file palstat.cpp.

§ getNbLabelledObjects()

int pal::PalStat::getNbLabelledObjects ( )

the number of objects which are labelled

Definition at line 52 of file palstat.cpp.

§ getNbLayers()

int pal::PalStat::getNbLayers ( )

how many layersare labelled ?

Definition at line 57 of file palstat.cpp.

§ getNbObjects()

int pal::PalStat::getNbObjects ( )

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 47 of file palstat.h.

§ Problem

friend class Problem
friend

Definition at line 48 of file palstat.h.


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