MIRA
Public Member Functions | Public Attributes | List of all members
ReflectedAsPointer< T, Reflector > Struct Template Reference

For internal use only: Holds value=true, if the type T is ever reflected as pointer with Reflector within this translation unit (C file), otherwise false. More...

#include <serialization/RecursiveMemberReflector.h>

Public Member Functions

 ReflectedAsPointer ()
 

Public Attributes

bool value
 

Detailed Description

template<typename T, typename Reflector>
struct mira::serialization::ReflectedAsPointer< T, Reflector >

For internal use only: Holds value=true, if the type T is ever reflected as pointer with Reflector within this translation unit (C file), otherwise false.

If it is used as pointer it is set to true in RecursiveMemberReflectorBase::pointer() via instantiating SetReflectedAsPointer as EagerSingleton. This somewhat complicated mechanism makes sure, that the value is correctly set to true immediately at the start of the process, even before the first serialization operation is performed.

Constructor & Destructor Documentation

◆ ReflectedAsPointer()

ReflectedAsPointer ( )
inline

Member Data Documentation

◆ value

bool value

The documentation for this struct was generated from the following file: