Class ValuePtr

Class Documentation

class ValuePtr

The ValuePtr is a non-owning pointer to a variable.

Public Functions

ValuePtr() = default
template<typename T>
inline ValuePtr(const T *pointer, CustomSerializer::Ptr type_info = {})
template<template<class, class> class Container, class T, class ...TArgs>
inline ValuePtr(const Container<T, TArgs...> *vect)
template<template<class, class> class Container, class T, class ...TArgs>
inline ValuePtr(const Container<T, TArgs...> *vect, CustomSerializer::Ptr type_info)
template<typename T, size_t N>
inline ValuePtr(const std::array<T, N> *vect)
template<typename T, size_t N>
inline ValuePtr(const std::array<T, N> *vect, CustomSerializer::Ptr type_info)
ValuePtr(ValuePtr const &other) = delete
ValuePtr &operator=(ValuePtr const &other) = delete
ValuePtr(ValuePtr &&other) = default
ValuePtr &operator=(ValuePtr &&other) = default
inline bool operator==(const ValuePtr &other) const
inline bool operator!=(const ValuePtr &other) const
inline void serialize(SerializeMe::SpanBytes &dest) const
inline size_t getSerializedSize() const
inline BasicType type() const

Get the type of the stored variable pointer.

inline bool isVector() const
inline uint16_t vectorSize() const