SNode.C
Loading...
Searching...
No Matches
utils::AttributeProxy< Attribute > Class Template Reference

#include <AttributeInjector.h>

Collaboration diagram for utils::AttributeProxy< Attribute >:

Public Member Functions

constexpr AttributeProxy (const Attribute &attribute)
 
constexpr Attribute & operator* ()
 

Private Attributes

Attribute attribute
 

Detailed Description

template<InjectableAttribute Attribute>
class utils::AttributeProxy< Attribute >

Definition at line 78 of file AttributeInjector.h.

Constructor & Destructor Documentation

◆ AttributeProxy()

template<InjectableAttribute Attribute>
constexpr utils::AttributeProxy< Attribute >::AttributeProxy ( const Attribute &  attribute)
inlineexplicitconstexpr

Definition at line 80 of file AttributeInjector.h.

81 : attribute(attribute) { // copy constructor neccessary
82 }

Member Function Documentation

◆ operator*()

template<InjectableAttribute Attribute>
constexpr Attribute & utils::AttributeProxy< Attribute >::operator* ( )
inlineconstexpr

Definition at line 84 of file AttributeInjector.h.

84 {
85 return attribute;
86 }

Member Data Documentation

◆ attribute

template<InjectableAttribute Attribute>
Attribute utils::AttributeProxy< Attribute >::attribute
private

Definition at line 89 of file AttributeInjector.h.


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