|
| | TConstStructView ()=default |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| | TConstStructView (const T &InStruct) |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| | TConstStructView (const uint8 *InStructMemory=nullptr) |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| | TConstStructView (const TInstancedStruct< T > &InstancedStruct) |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| | TConstStructView (const TSharedStruct< T > &SharedStruct) |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| | TConstStructView (const TConstSharedStruct< T > &SharedStruct) |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| | TConstStructView (const TStructView< T > StructView) |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| constexpr const T & | Get () const |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| constexpr const T * | GetPtr () const |
| |
| BaseStructT * | operator-> () const |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| bool | operator== (const TConstStructView< T > &Other) const |
| |
template<typename T = BaseStructT>
requires (std::is_base_of_v<BaseStructT, std::decay_t<T>>) |
| bool | operator!= (const TConstStructView< T > &Other) const |
| |
| | FConstStructView ()=default |
| |
| | FConstStructView (const UScriptStruct *InScriptStruct, const uint8 *InStructMemory=nullptr) |
| |
| | FConstStructView (const FInstancedStruct &InstancedStruct) |
| |
| | FConstStructView (const FSharedStruct &SharedStruct) |
| |
| | FConstStructView (const FConstSharedStruct &SharedStruct) |
| |
| | FConstStructView (const FStructView StructView) |
| |
template<typename T >
requires (std::is_const_v<T>) |
| constexpr T & | Get () const |
| |
template<typename T >
requires (std::is_const_v<T>) |
| constexpr T * | GetPtr () const |
| |
| const UScriptStruct * | GetScriptStruct () const |
| |
| const uint8 * | GetMemory () const |
| |
| void | Reset () |
| |
| bool | IsValid () const |
| |
| template<typename OtherType > |
| bool | operator== (const OtherType &Other) const |
| |
| template<typename OtherType > |
| bool | operator!= (const OtherType &Other) const |
| |
| void | SetStructData (const UScriptStruct *InScriptStruct, const uint8 *InStructMemory) |
| |
TConstStructView is a type-safe FConstStructView wrapper against the given BaseStruct type.
Example:
TConstStructView<FTestStructBase> Test;
TArray<TConstStructView<FTestStructBase>> TestArray;