wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::detail::CountMatchesSpec Struct Reference

Stored form of countMatches: when the member is engaged, its element count times scale must equal the named sibling member's count. More...

#include <wowlib/formats/common/annotations.hpp>

Public Member Functions

constexpr std::string_view view () const

Public Attributes

const char * name
 The sibling member (interned, see OffsetAfterSpec).
std::uint32_t scale
 This member's count is 1/scale of the sibling's.

Detailed Description

Stored form of countMatches: when the member is engaged, its element count times scale must equal the named sibling member's count.

Definition at line 113 of file annotations.hpp.

Member Function Documentation

◆ view()

std::string_view wowlib::formats::detail::CountMatchesSpec::view ( ) const
inlineconstexpr

Definition at line 117 of file annotations.hpp.

References name.

Member Data Documentation

◆ name

const char* wowlib::formats::detail::CountMatchesSpec::name

The sibling member (interned, see OffsetAfterSpec).

Definition at line 114 of file annotations.hpp.

Referenced by view().

◆ scale

std::uint32_t wowlib::formats::detail::CountMatchesSpec::scale

This member's count is 1/scale of the sibling's.

Definition at line 115 of file annotations.hpp.


The documentation for this struct was generated from the following file: