|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
WdcImage — the structural parser of the WDC family (WDC1/WDC3/WDC4/WDC5) and the per-field value decoder. More...
#include <cstddef>#include <cstdint>#include <span>#include <vector>#include <wowlib/core/error.hpp>#include <wowlib/db/wdc/binary.hpp>#include <wowlib/db/wdc/bit_stream.hpp>Go to the source code of this file.
Classes | |
| struct | wowlib::db::wdc::WdcSection |
| A located, structurally-validated section. More... | |
| struct | wowlib::db::wdc::WdcImage |
| A parsed WDC-family file: the (normalized) header, shared tables, and located sections. More... | |
Namespaces | |
| namespace | wowlib |
| namespace | wowlib::db |
| namespace | wowlib::db::wdc |
Enumerations | |
| enum class | wowlib::db::wdc::StringRefMode : std::uint8_t { wowlib::db::wdc::BlockRelative , wowlib::db::wdc::FieldRelative } |
| How a record's string-reference fields address the string data. More... | |
WdcImage — the structural parser of the WDC family (WDC1/WDC3/WDC4/WDC5) and the per-field value decoder.
parse() locates every block of every section and validates that the structure closes within the file; the fieldRaw()/elemBitWidth()/fieldIsSigned() methods then decode individual column values over all six compression kinds.
The flavor differences are normalized at parse time so everything downstream (the schema-driven codec in read.cpp/write.cpp) handles one shape:
Definition in file image.hpp.