QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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)
 Returns the number of object in layer layerId which are labelled. More...
 
int getLayerNbObjects (int layerId)
 Returns 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 48 of file palstat.h.

Constructor & Destructor Documentation

pal::PalStat::~PalStat ( )

Definition at line 41 of file palstat.cpp.

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

PalStat cannot be copied.

Member Function Documentation

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

Returns the name of the labelled layer layerId.

Definition at line 62 of file palstat.cpp.

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

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

Definition at line 78 of file palstat.cpp.

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

Returns the number of object in layer layerId.

Definition at line 70 of file palstat.cpp.

int pal::PalStat::getNbLabelledObjects ( )

the number of objects which are labelled

Definition at line 52 of file palstat.cpp.

int pal::PalStat::getNbLayers ( )

how many layersare labelled ?

Definition at line 57 of file palstat.cpp.

int pal::PalStat::getNbObjects ( )

the number of object in problem

Definition at line 47 of file palstat.cpp.

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

PalStat cannot be copied.

Friends And Related Function Documentation

friend class Pal
friend

Definition at line 51 of file palstat.h.

friend class Problem
friend

Definition at line 52 of file palstat.h.


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