OGS
|
Provides access to a single member of Class
via an accessor function and provides a name that can be used, e.g. to identify that member during I/O operations.
Accessor
is a function taking an instance of Class
and returning a reference to the member.
Definition at line 27 of file ReflectionData.h.
#include <ReflectionData.h>
Public Member Functions | |
ReflectionData (std::string name, Accessor &&accessor) | |
ReflectionData (Accessor &&accessor) | |
Public Attributes | |
std::string | name |
Accessor | accessor |
|
inline |
Definition at line 37 of file ReflectionData.h.
|
inlineexplicit |
Definition at line 42 of file ReflectionData.h.
Accessor ProcessLib::Reflection::ReflectionData< Class, Accessor >::accessor |
Definition at line 47 of file ReflectionData.h.
Referenced by ProcessLib::Reflection::detail::forEachReflectedFlattenedIPDataAccessor(), ProcessLib::Reflection::forEachReflectedFlattenedIPDataAccessor(), and ProcessLib::Reflection::detail::setIPDataIfNameMatches().
std::string ProcessLib::Reflection::ReflectionData< Class, Accessor >::name |
Definition at line 46 of file ReflectionData.h.
Referenced by ProcessLib::Reflection::detail::forEachReflectedFlattenedIPDataAccessor(), ProcessLib::Reflection::forEachReflectedFlattenedIPDataAccessor(), and ProcessLib::Reflection::detail::setIPDataIfNameMatches().