Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TScriptBitArray< Allocator, InDerivedType > Class Template Reference

#include <BitArray.h>

Public Member Functions

 TScriptBitArray ()
 
bool IsValidIndex (int32 Index) const
 
FBitReference operator[] (int32 Index)
 
FConstBitReference operator[] (int32 Index) const
 
void MoveAssign (DerivedType &Other)
 
void Empty (int32 Slack=0)
 
int32 Add (const bool Value)
 
 TScriptBitArray (const TScriptBitArray &)
 
void operator= (const TScriptBitArray &)
 

Private Types

using DerivedType = typename TChooseClass<std::is_void_v<InDerivedType>, TScriptBitArray, InDerivedType>::Result
 
typedef Allocator::template ForElementType< uint32AllocatorType
 

Private Member Functions

FORCEINLINE uint32GetData ()
 
FORCEINLINE const uint32GetData () const
 
FORCENOINLINE void Realloc (int32 PreviousNumBits)
 
FORCENOINLINE void ReallocGrow (int32 PreviousNumBits)
 

Static Private Member Functions

static void CheckConstraints ()
 

Private Attributes

AllocatorType AllocatorInstance
 
int32 NumBits
 
int32 MaxBits
 

Detailed Description

template<typename Allocator, typename InDerivedType>
class TScriptBitArray< Allocator, InDerivedType >

Definition at line 2003 of file BitArray.h.

Member Typedef Documentation

◆ AllocatorType

typedef Allocator::template ForElementType<uint32> TScriptBitArray< Allocator, InDerivedType >::AllocatorType
private

Definition at line 2071 of file BitArray.h.

◆ DerivedType

Constructor & Destructor Documentation

◆ TScriptBitArray() [1/2]

Minimal initialization constructor.

Parameters
Value- The value to initial the bits to.
InNumBits- The initial number of bits in the array.

Definition at line 2013 of file BitArray.h.

◆ TScriptBitArray() [2/2]

Member Function Documentation

◆ Add()

Definition at line 2058 of file BitArray.h.

◆ CheckConstraints()

static void TScriptBitArray< Allocator, InDerivedType >::CheckConstraints ( )
inlinestaticprivate

Definition at line 2078 of file BitArray.h.

◆ Empty()

Definition at line 2045 of file BitArray.h.

◆ GetData() [1/2]

Definition at line 2098 of file BitArray.h.

◆ GetData() [2/2]

Definition at line 2103 of file BitArray.h.

◆ IsValidIndex()

bool TScriptBitArray< Allocator, InDerivedType >::IsValidIndex ( int32 Index) const
inline

Definition at line 2019 of file BitArray.h.

◆ MoveAssign()

Definition at line 2036 of file BitArray.h.

◆ operator=()

◆ operator[]() [1/2]

◆ operator[]() [2/2]

◆ Realloc()

FORCENOINLINE void TScriptBitArray< Allocator, InDerivedType >::Realloc ( int32 PreviousNumBits)
inlineprivate

Definition at line 2108 of file BitArray.h.

◆ ReallocGrow()

FORCENOINLINE void TScriptBitArray< Allocator, InDerivedType >::ReallocGrow ( int32 PreviousNumBits)
inlineprivate

Definition at line 2125 of file BitArray.h.

Member Data Documentation

◆ AllocatorInstance

Definition at line 2073 of file BitArray.h.

◆ MaxBits

Definition at line 2075 of file BitArray.h.

◆ NumBits

Definition at line 2074 of file BitArray.h.


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