12#ifndef tutorial_ids_declared
13#define tutorial_ids_declared
30 constexpr explicit id_of_city(
size_t id): id(Record_Id(id)) {}
33 constexpr bool is_null()
const {
return id == Record_Id(0);}
34 constexpr bool is_not_null()
const {
return id != Record_Id(0);}
35 constexpr auto get_id()
const {
return to_underlying(
id);}
56 constexpr bool is_null()
const {
return id == Record_Id(0);}
57 constexpr bool is_not_null()
const {
return id != Record_Id(0);}
58 constexpr auto get_id()
const {
return to_underlying(
id);}
Strongly-typed wrapper around an integer representing a row of the city table.
constexpr bool is_not_null() const
constexpr bool operator<(id_of_city x) const
constexpr id_of_city operator[](size_t i) const
constexpr bool operator>=(id_of_city x) const
constexpr auto get_id() const
constexpr id_of_city(Record_Id id)
constexpr bool is_null() const
constexpr bool operator!=(id_of_city x) const
constexpr Record_Id get_record_id() const
constexpr bool operator==(id_of_city x) const
constexpr bool operator>(id_of_city x) const
constexpr bool operator<=(id_of_city x) const
constexpr id_of_city(size_t id)
Strongly-typed wrapper around an integer representing a row of the person table.
constexpr bool operator>=(id_of_person x) const
constexpr id_of_person operator[](size_t i) const
constexpr Record_Id get_record_id() const
constexpr bool is_null() const
constexpr bool operator!=(id_of_person x) const
constexpr bool operator<(id_of_person x) const
constexpr bool operator<=(id_of_person x) const
constexpr id_of_person(Record_Id id)
constexpr bool operator==(id_of_person x) const
constexpr id_of_person(size_t id)
constexpr auto get_id() const
constexpr bool is_not_null() const
constexpr bool operator>(id_of_person x) const
Automatically generated by joedbc.