Virgil IoT KIT
Public Member Functions
VSQDeviceSerial Class Reference

Device serial number. More...

#include <VSQDeviceSerial.h>

Public Member Functions

 VSQDeviceSerial ()
 Default serial number constructor. More...
 
 VSQDeviceSerial (const VSQDeviceSerial &deviceSerial)
 Copy serial number constructor. More...
 
 VSQDeviceSerial (const VirgilIoTKit::vs_device_serial_t &buf)
 vs_device_serial_t serial number constructor More...
 
VSQDeviceSerialoperator= (const VSQDeviceSerial &deviceSerial)
 Assign serial number. More...
 
VSQDeviceSerialoperator= (const VirgilIoTKit::vs_device_serial_t &buf)
 Assign serial number. More...
 
bool operator== (const VSQDeviceSerial &deviceSerial) const
 Compare serial numbers. More...
 
QString description () const
 Describe device serial number. More...
 
bool equal (const VSQDeviceSerial &deviceSerial) const
 Compare serial numbers. More...
 
 operator const char * () const
 Get serial number as symbols array. More...
 
 operator const uint8_t * () const
 Get serial number as bytes array. More...
 
 operator QString () const
 Get serial number text description. More...
 

Detailed Description

Device serial number.

Constructor & Destructor Documentation

◆ VSQDeviceSerial() [1/3]

VSQDeviceSerial::VSQDeviceSerial ( )
inline

Default serial number constructor.

◆ VSQDeviceSerial() [2/3]

VSQDeviceSerial::VSQDeviceSerial ( const VSQDeviceSerial deviceSerial)
inline

Copy serial number constructor.

◆ VSQDeviceSerial() [3/3]

VSQDeviceSerial::VSQDeviceSerial ( const VirgilIoTKit::vs_device_serial_t buf)
inline

vs_device_serial_t serial number constructor

Member Function Documentation

◆ description()

QString VSQDeviceSerial::description ( ) const

Describe device serial number.

Call this function to receive text description.

Returns
Device serial number text description
Here is the caller graph for this function:

◆ equal()

bool VSQDeviceSerial::equal ( const VSQDeviceSerial deviceSerial) const
inline

Compare serial numbers.

Parameters
deviceSerialSerial number to compare with the current one
Returns
true if they are equal
Here is the caller graph for this function:

◆ 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.

Here is the call graph for this function:

◆ operator=() [1/2]

VSQDeviceSerial& VSQDeviceSerial::operator= ( const VirgilIoTKit::vs_device_serial_t buf)
inline

Assign serial number.

Parameters
deviceSerialDevice serial number
Returns
Reference to the VSQDeviceSerial instance

◆ operator=() [2/2]

VSQDeviceSerial& VSQDeviceSerial::operator= ( const VSQDeviceSerial deviceSerial)
inline

Assign serial number.

Parameters
deviceSerialDevice 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
deviceSerialSerial number to compare with the current one
Returns
true if they are equal
Here is the call graph for this function:

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