libdrmconf  0.10.4
A library to program DMR radios.
Public Member Functions | Protected Attributes | List of all members
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. More...
 

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: