template<typename T, char... Char>
psl::serialization::property struct

wrapper class to signify a data member can be serialized and deserialized.

The property<T> wrapper signifies that a data member is elligeble to be de/serialized. The second template part (aside from the contained type T), is the name that exists in the binary. Properties have no runtime overhead (they only cost during de/serialization stages), and they have the size of the enclosed type.

static variables

uint64_t
ID
utility::crc64() id that has been generated based on the property name.
constconstpublicpublicstaticstatic

static member functions

name
public static

constructors, destructors, conversion operators

operator T&
public

member-functions

operator->
public

Function documentation

template<typename T, char... Char>
static const psl::string8::view psl::serialization::property<T, Char>::name()

Returns the name assigned to this variation of the property.

template<typename T, char... Char>
psl::serialization::property<T, Char>::operator T&()

Returns a reference to the enclosed value.

template<typename T, char... Char>
T* psl::serialization::property<T, Char>::operator->()

Returns a pointer to the enclosed value.