QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Friends | List of all members
pal::PalStat Class Reference

Summary statistics of labelling problem. More...

#include <palstat.h>

Public Member Functions

 ~PalStat ()
 delete stats More...
 
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...
 

Friends

class Pal
 
class Problem
 

Detailed Description

Summary statistics of labelling problem.

Note
not available in Python bindings

Definition at line 44 of file palstat.h.

Constructor & Destructor Documentation

◆ ~PalStat()

pal::PalStat::~PalStat ( )

delete stats

Definition at line 41 of file palstat.cpp.

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.

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: