libxcks
0.1.0.1
|
Stores the value of a checksum. More...
#include <algorithm>
#include <utility>
#include <stdexcept>
#include <cstring>
#include <cassert>
#include <cctype>
#include "libxcks/ckvalue.hpp"
#include "libxcks/ckfactory.hpp"
Go to the source code of this file.
Functions | |
bool LIBXCKS_SO_EXPORT | libxcks::hasChecksumValueWithAlgoId (const ArrayChecksumValue &ckvalues, const ChecksumAlgoId type) |
Checks if the array as a value of the given type. More... | |
void LIBXCKS_SO_EXPORT | libxcks::getNullValues (ArrayChecksumValue &values, const ArrayChecksumAlgoId &ids) |
Gets an array of null checksums' values from an array of checksums ids. More... | |
Stores the value of a checksum.
Definition in file ckvalue.cpp.
void libxcks::getNullValues | ( | ArrayChecksumValue & | values, |
const ArrayChecksumAlgoId & | ids | ||
) |
Gets an array of null checksums' values from an array of checksums ids.
values
is cleared before adding new null values.[out] | values | The array of null values created from the checksums' ids. |
[in] | ids | The array of checksums' ids we want to create null values. |
Definition at line 482 of file ckvalue.cpp.
bool libxcks::hasChecksumValueWithAlgoId | ( | const ArrayChecksumValue & | ckvalues, |
const ChecksumAlgoId | type | ||
) |
Checks if the array as a value of the given type.
[in] | ckvalues | The array of checksums' values. |
[in] | type | The type of the checksum's value to find. |
true
if a checksum's value of type
has been found in the given array, false
otherwise. Definition at line 456 of file ckvalue.cpp.