Type-erased view of a component. 更多...
#include <IMovieScenePropertyComponentHandler.h>
Public 成员函数 | |
| template<typename T > | |
| FPropertyComponentView (T &InData) | |
| Construction from a specific piece of data. 更多... | |
| FPropertyComponentView (void *InData, int32 InDataSizeof) | |
| Construction from a pointer to a piece of data, and its type's size. 更多... | |
| template<typename T > | |
| T & | ReinterpretCast () const |
| Cast this type-erased view to a known data type. 更多... | |
| int32 | Sizeof () const |
| Retrieve the size of this component | |
Type-erased view of a component.
Used for passing typed data through the IPropertyComponentHandler interface
|
inline |
Construction from a specific piece of data.
Specified data must outlive this view
|
inline |
Construction from a pointer to a piece of data, and its type's size.
Specified data must outlive this view
|
inline |
Cast this type-erased view to a known data type.
Only crude size checking is performned - user is responsible for ensuring that the cast is valid.