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

Public Member Functions

 FInlineDataStorage (T InValue)
 
 ~FInlineDataStorage ()
 
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

T Value
 

Detailed Description

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

Implementation of the wrapper utility for any moveable/copyable data, that allows us to virtually move/copy/destruct the data Data is stored inline in this implementation, for efficiency

Definition at line 33 of file ExpressionParserTypes.inl.

Constructor & Destructor Documentation

◆ FInlineDataStorage()

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

Constructor/destructor

Definition at line 39 of file ExpressionParserTypes.inl.

◆ ~FInlineDataStorage()

Definition at line 40 of file ExpressionParserTypes.inl.

Member Function Documentation

◆ Access()

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

Definition at line 42 of file ExpressionParserTypes.inl.

◆ Copy()

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

Copy this data

Implements Impl::IExpressionNodeStorage.

Definition at line 46 of file ExpressionParserTypes.inl.

◆ MoveAssign()

template<typename T >
virtual void Impl::FInlineDataStorage< 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 45 of file ExpressionParserTypes.inl.

◆ Reseat()

template<typename T >
virtual void Impl::FInlineDataStorage< 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 44 of file ExpressionParserTypes.inl.

Member Data Documentation

◆ Value

template<typename T >
T Impl::FInlineDataStorage< T >::Value

The data itself, allocated on the stack

Definition at line 36 of file ExpressionParserTypes.inl.


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