libdrmconf  0.10.4
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
UserDatabase::User Class Reference

Represents the user information within the UserDatabase. More...

#include <userdatabase.hh>

Public Member Functions

 User ()
 Empty constructor.
 
 User (const QJsonObject &obj)
 Constructs entry from JSON object.
 
bool isValid () const
 Returns true if the entry is valid.
 
unsigned distance (unsigned id) const
 Returns the "distance" between this user and the given ID.
 

Public Attributes

unsigned id
 The DMR ID of the user.
 
QString call
 The callsign of the user.
 
QString name
 The name of the user.
 
QString surname
 The surname of the user.
 
QString city
 The city of the user.
 
QString state
 The state of the user.
 
QString country
 The country of the user.
 
QString comment
 Some arbitrary comment or text.
 

Detailed Description

Represents the user information within the UserDatabase.


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