Device serial number.
More...
#include <VSQDeviceSerial.h>
◆ VSQDeviceSerial() [1/3]
VSQDeviceSerial::VSQDeviceSerial |
( |
| ) |
|
|
inline |
Default serial number constructor.
◆ VSQDeviceSerial() [2/3]
Copy serial number constructor.
◆ VSQDeviceSerial() [3/3]
◆ description()
QString VSQDeviceSerial::description |
( |
| ) |
const |
Describe device serial number.
Call this function to receive text description.
- Returns
- Device serial number text description
◆ equal()
Compare serial numbers.
- Parameters
-
deviceSerial | Serial number to compare with the current one |
- Returns
- true if they are equal
◆ operator const char *()
VSQDeviceSerial::operator const char * |
( |
| ) |
const |
Get serial number as symbols array.
◆ operator const uint8_t *()
VSQDeviceSerial::operator const uint8_t * |
( |
| ) |
const |
Get serial number as bytes array.
◆ operator QString()
VSQDeviceSerial::operator QString |
( |
| ) |
const |
|
inline |
Get serial number text description.
◆ operator=() [1/2]
Assign serial number.
- Parameters
-
deviceSerial | Device serial number |
- Returns
- Reference to the VSQDeviceSerial instance
◆ operator=() [2/2]
Assign serial number.
- Parameters
-
deviceSerial | Device serial number |
- Returns
- Reference to the VSQDeviceSerial instance
◆ operator==()
bool VSQDeviceSerial::operator== |
( |
const VSQDeviceSerial & |
deviceSerial | ) |
const |
|
inline |
Compare serial numbers.
This function calls equal function
- Parameters
-
deviceSerial | Serial number to compare with the current one |
- Returns
- true if they are equal
The documentation for this class was generated from the following file: