Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TTypeCompatibleBytes< ElementType > Struct Template Reference

#include <TypeCompatibleBytes.h>

Public Types

using ElementTypeAlias_NatVisHelper = ElementType
 

Public Member Functions

ElementType * GetTypedPtr ()
 
const ElementType * GetTypedPtr () const
 

Public Attributes

uint8 Pad [sizeof(ElementType)]
 

Detailed Description

template<typename ElementType>
struct TTypeCompatibleBytes< ElementType >

An untyped array of data with compile-time alignment and size derived from another type.

Definition at line 22 of file TypeCompatibleBytes.h.

Member Typedef Documentation

◆ ElementTypeAlias_NatVisHelper

template<typename ElementType >
using TTypeCompatibleBytes< ElementType >::ElementTypeAlias_NatVisHelper = ElementType

Definition at line 24 of file TypeCompatibleBytes.h.

Member Function Documentation

◆ GetTypedPtr() [1/2]

template<typename ElementType >
ElementType * TTypeCompatibleBytes< ElementType >::GetTypedPtr ( )
inline

Definition at line 25 of file TypeCompatibleBytes.h.

◆ GetTypedPtr() [2/2]

template<typename ElementType >
const ElementType * TTypeCompatibleBytes< ElementType >::GetTypedPtr ( ) const
inline

Definition at line 26 of file TypeCompatibleBytes.h.

Member Data Documentation

◆ Pad

template<typename ElementType >
uint8 TTypeCompatibleBytes< ElementType >::Pad[sizeof(ElementType)]

Definition at line 28 of file TypeCompatibleBytes.h.


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