Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
Impl::FHeapDataStorage< T > Struct Template Reference
+ Inheritance diagram for Impl::FHeapDataStorage< T >:
+ Collaboration diagram for Impl::FHeapDataStorage< T >:

Public Member Functions

 FHeapDataStorage (T InValue)
 
 FHeapDataStorage (FHeapDataStorage &&In)
 
 ~FHeapDataStorage ()
 
const TAccess () const
 
virtual void Reseat (uint8 *Dst) override
 
virtual void MoveAssign (uint8 *Dst) override
 
virtual FExpressionNode Copy () const override
 
- Public Member Functions inherited from Impl::IExpressionNodeStorage
virtual ~IExpressionNodeStorage ()
 

Public Attributes

TUniquePtr< TValue
 

Detailed Description

template<typename T>
struct Impl::FHeapDataStorage< T >

Data is stored on the heap in this implementation

Definition at line 51 of file ExpressionParserTypes.inl.

Constructor & Destructor Documentation

◆ FHeapDataStorage() [1/2]

template<typename T >
Impl::FHeapDataStorage< T >::FHeapDataStorage ( T InValue)
inline

Constructor/destructor

Definition at line 57 of file ExpressionParserTypes.inl.

◆ FHeapDataStorage() [2/2]

template<typename T >
Impl::FHeapDataStorage< T >::FHeapDataStorage ( FHeapDataStorage< T > && In)
inline

Definition at line 58 of file ExpressionParserTypes.inl.

◆ ~FHeapDataStorage()

template<typename T >
Impl::FHeapDataStorage< T >::~FHeapDataStorage ( )
inline

Definition at line 59 of file ExpressionParserTypes.inl.

Member Function Documentation

◆ Access()

template<typename T >
const T * Impl::FHeapDataStorage< T >::Access ( ) const
inline

Definition at line 61 of file ExpressionParserTypes.inl.

◆ Copy()

template<typename T >
virtual FExpressionNode Impl::FHeapDataStorage< T >::Copy ( ) const
inlineoverridevirtual

Copy this data

Implements Impl::IExpressionNodeStorage.

Definition at line 65 of file ExpressionParserTypes.inl.

◆ MoveAssign()

template<typename T >
virtual void Impl::FHeapDataStorage< T >::MoveAssign ( uint8 * Dst)
inlineoverridevirtual

Move this type to a buffer already allocated to the same type (uses type-defined move-assignment)

Implements Impl::IExpressionNodeStorage.

Definition at line 64 of file ExpressionParserTypes.inl.

◆ Reseat()

template<typename T >
virtual void Impl::FHeapDataStorage< T >::Reseat ( uint8 * Dst)
inlineoverridevirtual

Move this type into another unallocated buffer (move-construct a new type from our wrapped value)

Implements Impl::IExpressionNodeStorage.

Definition at line 63 of file ExpressionParserTypes.inl.

Member Data Documentation

◆ Value

template<typename T >
TUniquePtr<T> Impl::FHeapDataStorage< T >::Value

The data itself, allocated on the heap

Definition at line 54 of file ExpressionParserTypes.inl.


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