MIRA
Public Types | Public Member Functions | Static Public Attributes | List of all members
AccessorGetterPartInternalRedirect< T > Class Template Reference

This class is used as additional reflection redirect. More...

#include <serialization/Accessor.h>

Public Types

typedef T value_type
 

Public Member Functions

 AccessorGetterPartInternalRedirect (const T &value)
 
const value_typeget () const
 
template<typename Reflector >
void reflect (Reflector &r)
 

Static Public Attributes

static const bool isDirectGetter = true
 

Detailed Description

template<typename T>
class mira::AccessorGetterPartInternalRedirect< T >

This class is used as additional reflection redirect.

It does not add any functionality except routing reflection for the direct getter through another reflect() method, making the number of executed reflect()s stable in all Accessor versions and symmetric between serialization and deserialization (an important property e.g. for the BinarySerializer's version placeholder feature).

Member Typedef Documentation

◆ value_type

typedef T value_type

Constructor & Destructor Documentation

◆ AccessorGetterPartInternalRedirect()

AccessorGetterPartInternalRedirect ( const T &  value)
inline

Member Function Documentation

◆ get()

const value_type& get ( ) const
inline

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ isDirectGetter

const bool isDirectGetter = true
static

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