wowlib
0.0.0
Read & write World of Warcraft client files — a C++26 core
Toggle main menu visibility
Loading...
Searching...
No Matches
annotations.hpp
Go to the documentation of this file.
1
#pragma once
2
30
31
namespace
wowlib::db
{
32
namespace
detail
{
34
struct
IdSpec
{};
35
40
struct
NoninlineSpec
{};
41
44
struct
RelationSpec
{};
45
}
46
49
inline
constexpr
detail::IdSpec
Id
{};
50
54
inline
constexpr
detail::NoninlineSpec
Noninline
{};
55
59
inline
constexpr
detail::RelationSpec
Relation
{};
60
}
wowlib::db::detail
Definition
annotations.hpp:32
wowlib::db
Definition
annotations.hpp:31
wowlib::db::Noninline
constexpr detail::NoninlineSpec Noninline
Mark a column stored outside the record image ($noninline$ in WoWDBDefs): ids delivered by the WDC id...
Definition
annotations.hpp:54
wowlib::db::Relation
constexpr detail::RelationSpec Relation
Mark a relationship-key column ($relation$ in WoWDBDefs): its value references the id of the table's ...
Definition
annotations.hpp:59
wowlib::db::Id
constexpr detail::IdSpec Id
Mark the table's primary-key column ($id$ in WoWDBDefs).
Definition
annotations.hpp:49
wowlib::db::detail::IdSpec
Stored form of id: the member is the table's primary key ($id$).
Definition
annotations.hpp:34
wowlib::db::detail::NoninlineSpec
Stored form of noninline: the member holds no bytes inside the record image — its values come from a ...
Definition
annotations.hpp:40
wowlib::db::detail::RelationSpec
Stored form of relation: the member is a relationship key referencing the parent table's id ($relatio...
Definition
annotations.hpp:44
src
wowlib
db
annotations.hpp
Generated by
1.17.0