|
GCBM
|
#include <record.h>

Public Member Functions | |
| PoolInfoRecord (const std::string &name) | |
| ~PoolInfoRecord () | |
| bool | operator== (const PoolInfoRecord &other) const |
| size_t | hash () const |
| PoolInfoRow | asPersistable () const |
| void | merge (const PoolInfoRecord &other) |
| void | setId (Int64 id) |
| Int64 | getId () const |
Private Attributes | |
| size_t | _hash = -1 |
| Int64 | _id |
| std::string | _name |
|
explicit |
| ~PoolInfoRecord | ( | ) |
| PoolInfoRow asPersistable | ( | ) | const |
return PoolInfoRow using PoolInfoRecord._id and PoolInfoRecord._name as parameters.
| Int64 getId | ( | ) | const |
| size_t hash | ( | ) | const |
If PoolInfoRecord._hash is equal to -1,
assign PoolInfoRecord._hash as moja::hash::hash_combine() using PoolInfoRecord._name.
return PoolInfoRecord._hash.
| void merge | ( | const PoolInfoRecord & | other | ) |
| bool operator== | ( | const PoolInfoRecord & | other | ) | const |
Check if PoolInfoRecord._name is equal to parameter other PoolInfoRecord._name.
return the boolean value.
| other | PoolInfoRecord& |
| void setId | ( | Int64 | id | ) |
|
mutableprivate |
|
private |
|
private |
1.8.17