UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Editor::DataStorage::Queries::TBatch< T > Class Template Reference

#include <TypedElementQueryFunctionArgumentTypes.h>

Public Member Functions

 TBatch ()=default
 
TArrayView< T > GetView (int32 BatchSize)
 
T * GetData ()
 
const T * GetData () const
 

Friends

template<typename... Args>
struct Private::TArgumentInfo
 

Detailed Description

template<typename T>
class UE::Editor::DataStorage::Queries::TBatch< T >

Storage for batch of objects used in a query. Batches provide the following guarantees:

  • Contiguous in memory up to the number of entries in the batch.
  • All values apply to the same table.

Constructor & Destructor Documentation

◆ TBatch()

template<typename T >
UE::Editor::DataStorage::Queries::TBatch< T >::TBatch ( )
default

Member Function Documentation

◆ GetData() [1/2]

template<typename T >
T * UE::Editor::DataStorage::Queries::TBatch< T >::GetData ( )
inline

Returns a pointer to the stored column.

◆ GetData() [2/2]

template<typename T >
const T * UE::Editor::DataStorage::Queries::TBatch< T >::GetData ( ) const
inline

Returns a pointer to the stored column.

◆ GetView()

template<typename T >
TArrayView< T > UE::Editor::DataStorage::Queries::TBatch< T >::GetView ( int32  BatchSize)
inline

Provides direct access to the stored objects.

Friends And Related Symbol Documentation

◆ Private::TArgumentInfo

template<typename T >
template<typename... Args>
friend struct Private::TArgumentInfo
friend

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