#include <DataAnalysis/DataStructures/sqldatamodel.h>
◆ PrimaryKeyValue() [1/2]
◆ PrimaryKeyValue() [2/2]
- Template Parameters
-
T | The datatype of the underlying primary key data. |
- Parameters
-
obj | TypedObject containing the underlying primary key data. |
Template constructor for a PrimaryKeyValue, used to store a type-safe implementation for comparing values of primary keys of the same type.
◆ getHashKey()
uint getHashKey |
( |
uint |
seed | ) |
const |
|
inline |
- Parameters
-
seed | The seed for hash key generation. |
- Returns
- An unsigned integer hash key that uniquely identifies this primary key.
◆ getObject()
- Returns
- The data object containing the primary key data itself.
◆ operator==()
- Parameters
-
val | The primary key value to compare against |
- Returns
- true if this object's primary key matches the primary key contained in val. The datatypes of both primary keys must also match.