Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Serialization/Archive.h |
| Include | #include "Serialization/Archive.h" |
Syntax
template<class T>
class TCheckedObjPtr
Remarks
Wrapper for UObject pointers, which checks that the base class is accurate, upon serializing (to prevent illegal casting)
Constructors
| Type | Name | Description | |
|---|---|---|---|
TCheckedObjPtr
(
T* InObject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| T *& | Get () |
Retrieves a writable/serializable reference to the pointer | |
| bool | IsError () |
Whether or not there was an error during the previous serialization. | |
| bool | IsValid () |
Whether or not the pointer is valid/non-null |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TCheckedObjPtr & | operator=
(
T* InObject |
Assigns a value to the object pointer | |
| T * | operator-> () |
Returns the object pointer, for accessing members of the object |