CommonLibVR
hkSmallArray.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
RE
4
{
5
template
<
class
T>
6
class
hkSmallArray
7
{
8
enum class
CapacityAndFlags
9
{
10
kCapacityMask = 0x3FFF,
11
kFlagMask = 0xC000,
12
kNoDealloc = 0x8000,
13
kLocked = 0x4000,
14
kForceSigned =
static_cast<
std::underlying_type_t<CapacityAndFlags>
>
(-1)
15
};
16
17
T* data;
// 00
18
std::uint16_t size;
// 08
19
stl::enumeration<CapacityAndFlags, std::uint16_t>
capacityAndFlags;
// 0A
20
std::uint32_t pad0C;
// 0C
21
private
:
22
KEEP_FOR_RE
()
23
};
24
static_assert(
sizeof
(
hkSmallArray<void*>
) == 0x10);
25
}
KEEP_FOR_RE
#define KEEP_FOR_RE()
Definition:
PCH.h:713
RE::hkSmallArray
Definition:
hkSmallArray.h:7
SKSE::stl::enumeration< CapacityAndFlags, std::uint16_t >
RE
Definition:
AbsorbEffect.h:6
CommonLibVR
include
RE
H
hkSmallArray.h
Generated by
1.9.1