|
GCBM
|
#include <record.h>

Public Member Functions | |
| LocationErrorRecord (Int64 locationId, Int64 errorId) | |
| ~LocationErrorRecord () | |
| bool | operator== (const LocationErrorRecord &other) const |
| size_t | hash () const |
| LocationErrorRow | asPersistable () const |
| StdLocationErrorRow | asTuple () const |
| void | merge (const LocationErrorRecord &other) |
| void | setId (Int64 id) |
| Int64 | getId () const |
Private Attributes | |
| size_t | _hash = -1 |
| Int64 | _id |
| Int64 | _locationId |
| Int64 | _errorId |
| LocationErrorRecord | ( | Int64 | locationId, |
| Int64 | errorId | ||
| ) |
Constructor.
Initialise LocationErrorRecord._locationId as parameter locationId and LocationErrorRecord._errorId as parameter errorId.
| locationId | Int64 |
| errorId | Int64 |
| ~LocationErrorRecord | ( | ) |
| LocationErrorRow asPersistable | ( | ) | const |
Return LocationErrorRow using LocationErrorRecord._id,LocationErrorRecord._locationId and LocationErrorRecord._errorId.
| StdLocationErrorRow asTuple | ( | ) | const |
Return StdLocationErrorRow using LocationErrorRecord._id,LocationErrorRecord._locationId and LocationErrorRecord._errorId.
| Int64 getId | ( | ) | const |
| size_t hash | ( | ) | const |
if LocationErrorRecord._hash is equal to -1,
assign LocationErrorRecord._hash as moja::hash::hash_combine() using LocationErrorRecord._locationId and LocationErrorRecord._errorId.
return LocationErrorRecord._hash.
| void merge | ( | const LocationErrorRecord & | other | ) |
| bool operator== | ( | const LocationErrorRecord & | other | ) | const |
Check if LocationErrorRecord._locationid is equal to parameter other LocationErrorRecord._locationdId and LocationErrorRecord._errorId is equal to parameter other LocationErrorRecord._errorId.
| other | LocationErrorRecord& |
| void setId | ( | Int64 | id | ) |
|
private |
|
mutableprivate |
|
private |
|
private |
1.8.17