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

Implements the "getter part" of an Accessor. More...

#include <serialization/Accessor.h>

Public Types

typedef T value_type
 

Public Member Functions

 AccessorGetterPart (const T &value)
 
const value_typeget () const
 
template<typename Reflector >
void reflectRead (Reflector &r)
 

Static Public Attributes

static const bool isDirectGetter = true
 

Detailed Description

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

Implements the "getter part" of an Accessor.

This part provides the get() method and a reflectRead() method. This generic AccessorGetterPart allows direct access on the member. There is also a specialization for getters.

Member Typedef Documentation

◆ value_type

typedef T value_type

Constructor & Destructor Documentation

◆ AccessorGetterPart()

AccessorGetterPart ( const T &  value)
inline

Member Function Documentation

◆ get()

const value_type& get ( ) const
inline

◆ reflectRead()

void reflectRead ( Reflector &  r)
inline

Member Data Documentation

◆ isDirectGetter

const bool isDirectGetter = true
static

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