libxcks  0.1.0.1
libxcks::ChecksumFactory::ChecksumEntry Class Referencefinal

Represents an entry of the checksum or hash algorithms that the application knows. More...

Collaboration diagram for libxcks::ChecksumFactory::ChecksumEntry:

Public Member Functions

 ChecksumEntry ()
 Default constructor. More...
 
 ChecksumEntry (FnctGetChecksum *getChecksum, const std::string &name, const ArrayString &alternativeNames, const std::string &description)
 Constructor. More...
 
 ChecksumEntry (const ChecksumEntry &source)
 Copy constructor. More...
 
ChecksumEntryoperator= (const ChecksumEntry &source)
 Assignment operator. More...
 

Public Attributes

FnctGetChecksum * fnctGetChecksum
 Pointer on a function that gives a pointer on a new instance of the Checksum class. More...
 
std::string name
 Name of the checksum or hash algorithm. More...
 
ArrayString altNames
 Alternative name(s) of the checksum or hash algorithm. More...
 
std::string descr
 Description of the checksum or hash algorithm. More...
 
ChecksumValue nullValue
 The null value of the the checksum or hash. More...
 

Protected Member Functions

void clone (const ChecksumEntry &source)
 Clones the source instance in this instance. More...
 

Detailed Description

Represents an entry of the checksum or hash algorithms that the application knows.

Definition at line 72 of file ckfactory.cpp.

Constructor & Destructor Documentation

◆ ChecksumEntry() [1/3]

libxcks::ChecksumFactory::ChecksumEntry::ChecksumEntry ( )
inline

Default constructor.

Definition at line 87 of file ckfactory.cpp.

◆ ChecksumEntry() [2/3]

libxcks::ChecksumFactory::ChecksumEntry::ChecksumEntry ( FnctGetChecksum *  getChecksum,
const std::string &  name,
const ArrayString alternativeNames,
const std::string &  description 
)

Constructor.

Parameters
getChecksumPointer on a function that gives a pointer on a new instance of the Checksum class.
nameName of the checksum or hash algorithm.
alternativeNamesAlternative name(s) of the checksum or hash algorithm.
descriptionDescription of the checksum or hash algorithm.

Definition at line 122 of file ckfactory.cpp.

◆ ChecksumEntry() [3/3]

libxcks::ChecksumFactory::ChecksumEntry::ChecksumEntry ( const ChecksumEntry source)
inline

Copy constructor.

Parameters
sourceSource instance.

Definition at line 99 of file ckfactory.cpp.

Member Function Documentation

◆ clone()

void libxcks::ChecksumFactory::ChecksumEntry::clone ( const ChecksumEntry source)
protected

Clones the source instance in this instance.

Parameters
sourceSource instance.

Definition at line 152 of file ckfactory.cpp.

◆ operator=()

ChecksumEntry& libxcks::ChecksumFactory::ChecksumEntry::operator= ( const ChecksumEntry source)
inline

Assignment operator.

Parameters
sourceSource instance.
Returns
A reference on the instance.

Definition at line 107 of file ckfactory.cpp.

Member Data Documentation

◆ altNames

ArrayString libxcks::ChecksumFactory::ChecksumEntry::altNames

Alternative name(s) of the checksum or hash algorithm.

Definition at line 77 of file ckfactory.cpp.

◆ descr

std::string libxcks::ChecksumFactory::ChecksumEntry::descr

Description of the checksum or hash algorithm.

Definition at line 78 of file ckfactory.cpp.

◆ fnctGetChecksum

FnctGetChecksum* libxcks::ChecksumFactory::ChecksumEntry::fnctGetChecksum

Pointer on a function that gives a pointer on a new instance of the Checksum class.

Definition at line 75 of file ckfactory.cpp.

◆ name

std::string libxcks::ChecksumFactory::ChecksumEntry::name

Name of the checksum or hash algorithm.

Definition at line 76 of file ckfactory.cpp.

◆ nullValue

ChecksumValue libxcks::ChecksumFactory::ChecksumEntry::nullValue

The null value of the the checksum or hash.

Definition at line 79 of file ckfactory.cpp.


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