Manufacture identifier.
More...
#include <VSQManufactureId.h>
◆ VSQManufactureId() [1/3]
VSQManufactureId::VSQManufactureId |
( |
| ) |
|
|
inline |
Default manufacture identifier constructor.
◆ VSQManufactureId() [2/3]
Manufacture identifier copy constructor.
◆ VSQManufactureId() [3/3]
Initialize manufacture identifier from VirgilIoTKit::vs_device_manufacture_id_t.
◆ description()
QString VSQManufactureId::description |
( |
bool |
stopOnZero = true , |
|
|
char |
nonPrintableSymbols = ' ' |
|
) |
| const |
Describe manufacture identifier.
Call this function to receive text description. You can configure it by specifying stopOnZero and nonPrintableSymbols arguments.
- Parameters
-
stopOnZero | Stop conversion on the first '\0' symbol. By default it is true. |
nonPrintableSymbols | Symbol to output on the non printable symbol. By default it is space. |
- Returns
- Manufacture identifier text description
◆ equal()
Compare manufacture identifiers.
- Parameters
-
manufactureId | Device type to compare with the current one |
- Returns
- true if they are equal
◆ operator const char *()
VSQManufactureId::operator const char * |
( |
| ) |
const |
Get manufacture identifier as symbols array.
◆ operator const uint8_t *()
VSQManufactureId::operator const uint8_t * |
( |
| ) |
const |
Get manufacture identifier as bytes array.
◆ operator QString()
VSQManufactureId::operator QString |
( |
| ) |
const |
|
inline |
Get manufacture identifier text description.
◆ operator=() [1/2]
Assign manufacture identifier.
- Parameters
-
buf | Manufacture identifier buffer to copy |
- Returns
- Current VSQManufactureId instance
◆ operator=() [2/2]
Assign manufacture identifier.
- Parameters
-
manufactureId | Manufacture identifier to copy |
- Returns
- Current VSQManufactureId instance
◆ operator==()
bool VSQManufactureId::operator== |
( |
const VSQManufactureId & |
manufactureId | ) |
const |
|
inline |
Compare manufacture identifiers.
- Parameters
-
manufactureId | Manufacture identifier to be compared with the current one |
- Returns
- true if both manufacture identifiers are equal
The documentation for this class was generated from the following file: