Limb Range Analyzer
Cross-platform application for human limb range analysis.
Hasher Class Reference

Class Hasher is introduced for Client hash ID management. More...

#include <hasher.hpp>

Inheritance diagram for Hasher:

Public Member Functions

 Hasher ()
 Hasher class default constructor. More...
 
 ~Hasher ()
 Destructor function of class Hasher. More...
 
QString & Hasher_CalculateHash (QString dataString)
 Member function used for unique hash creation. More...
 

Private Attributes

QString mHash
 QString member variable that holds the output hash in a string form.
 

Detailed Description

Class Hasher is introduced for Client hash ID management.

This class is used for unique hash creation that is used alongside Client data model. Each client entry requires a unique identifier assembled through client member variables and saved via XmlParser.

See also
Client, XmlParser

Constructor & Destructor Documentation

◆ Hasher()

Hasher::Hasher ( )

Hasher class default constructor.

Constructor function that is executed when an object is created.

See also
~Hasher()

◆ ~Hasher()

Hasher::~Hasher ( )

Destructor function of class Hasher.

Base destructor responsible for required memory cleaning.

See also
Hasher()

Member Function Documentation

◆ Hasher_CalculateHash()

QString & Hasher::Hasher_CalculateHash ( QString  dataString)

Member function used for unique hash creation.

This function receives a text string assembled through Client member variables first name, last name and unique e-mail address, which are accordingly transformed into a MD5 hash string via QCryptographicHash member function.

Parameters
dataString- client specific unique text string composed of Client member variables
Returns
QString - computed hash in its text string form
See also
Client

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