Virgil IoT KIT
Public Member Functions
VSQFileVersion Class Reference

Virgil IoT Kit file version. More...

#include <VSQFileVersion.h>

Public Member Functions

 VSQFileVersion ()
 File version default constructor. More...
 
 VSQFileVersion (const VirgilIoTKit::vs_file_version_unpacked_t &fileVersion)
 Initialize file version by using vs_file_version_unpacked_t file version. More...
 
 VSQFileVersion (const VirgilIoTKit::vs_file_version_t &fileVersion)
 Initialize file version by using vs_file_version_t file version. More...
 
QString description (bool outputDate=false) const
 Describe file version. More...
 
 operator QString () const
 Describe file version. More...
 
VSQFileVersionoperator= (const VirgilIoTKit::vs_file_version_unpacked_t &fileVersion)
 Set file version by using vs_file_version_unpacked_t file version. More...
 
VSQFileVersionoperator= (const VirgilIoTKit::vs_file_version_t &fileVersion)
 Set file version by using vs_file_version_t file version. More...
 
bool equal (const VSQFileVersion &fileVersion) const
 Compare file versions. More...
 
bool operator== (const VSQFileVersion &fileVersion) const
 Compare file versions. More...
 

Detailed Description

Virgil IoT Kit file version.

Constructor & Destructor Documentation

◆ VSQFileVersion() [1/3]

VSQFileVersion::VSQFileVersion ( )

File version default constructor.

◆ VSQFileVersion() [2/3]

VSQFileVersion::VSQFileVersion ( const VirgilIoTKit::vs_file_version_unpacked_t &  fileVersion)
inline

Initialize file version by using vs_file_version_unpacked_t file version.

◆ VSQFileVersion() [3/3]

VSQFileVersion::VSQFileVersion ( const VirgilIoTKit::vs_file_version_t &  fileVersion)
inline

Initialize file version by using vs_file_version_t file version.

Member Function Documentation

◆ description()

QString VSQFileVersion::description ( bool  outputDate = false) const

Describe file version.

Parameters
outputDateOutput file date. By default it is false
Returns
File date as string
Here is the caller graph for this function:

◆ equal()

bool VSQFileVersion::equal ( const VSQFileVersion fileVersion) const

Compare file versions.

Parameters
fileVersionFile version to be compared with the current one
Returns
true if file versions are equal
Here is the caller graph for this function:

◆ operator QString()

VSQFileVersion::operator QString ( ) const
inline

Describe file version.

Create file description by calling description with default parameters

Returns
File date as string
Here is the call graph for this function:

◆ operator=() [1/2]

VSQFileVersion& VSQFileVersion::operator= ( const VirgilIoTKit::vs_file_version_t &  fileVersion)
inline

Set file version by using vs_file_version_t file version.

Parameters
fileVersionFile version to be copied
Returns
Reference to the VSQFileVersion instance

◆ operator=() [2/2]

VSQFileVersion& VSQFileVersion::operator= ( const VirgilIoTKit::vs_file_version_unpacked_t &  fileVersion)
inline

Set file version by using vs_file_version_unpacked_t file version.

Parameters
fileVersionFile version to be copied
Returns
Reference to the VSQFileVersion instance

◆ operator==()

bool VSQFileVersion::operator== ( const VSQFileVersion fileVersion) const
inline

Compare file versions.

Parameters
fileVersionFile version to be compared with the current one
Returns
true if file versions are equal
Here is the call graph for this function:

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