libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
CallsignDB::Selection Class Reference

Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db. More...

#include <callsigndb.hh>

Public Member Functions

 Selection (int64_t count=-1)
 Constructor.
 Selection (const Selection &other)
 Copy constructor.
bool hasCountLimit () const
 Returns true if the selection has a limit on the number of callsigns to encode.
size_t countLimit () const
 Returns the limit of callsigns to encode.
void setCountLimit (size_t n)
 Sets the count limit.
void clearCountLimit ()
 Clears the count limit.

Protected Attributes

int64_t _count
 Specifies the maximum amount of callsigns to add.

Detailed Description

Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db.

Member Data Documentation

◆ _count

int64_t CallsignDB::Selection::_count
protected

Specifies the maximum amount of callsigns to add.

If negative, the device limit should be used.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/callsigndb.hh
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/callsigndb.cc