wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
record_bridge.cpp File Reference

The erased record bridge's field-access core: every kind-dispatching move between a codec value and a record member, compiled ONCE for all record types (see record_bridge.hpp for why). More...

#include <wowlib/db/record_bridge.hpp>
#include <bit>
#include <cstring>
Include dependency graph for record_bridge.cpp:

Go to the source code of this file.

Classes

struct  wowlib::db::ColumnAccess
 Everything the erased core needs to touch one column of a record: where it lives, what it is, and how its array elements stride. More...
struct  wowlib::db::RecordOps
 The one thing that stays per-record: a table of thunks over the record VECTOR (only they know sizeof(Record)) plus the access table above. More...

Namespaces

namespace  wowlib
namespace  wowlib::db

Enumerations

enum class  wowlib::db::AccessKind
 The storage kind of one record member, as the erased accessors see it: exact width and signedness for integers (the store must truncate the codec's int64 exactly as the typed member assignment did), float, std::string, or LocString. More...

Detailed Description

The erased record bridge's field-access core: every kind-dispatching move between a codec value and a record member, compiled ONCE for all record types (see record_bridge.hpp for why).

Definition in file record_bridge.cpp.