neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::property_delegate< T, Getter > Class Template Reference

#include <i_property.hpp>

Inheritance diagram for neogfx::property_delegate< T, Getter >:
neogfx::i_property_delegate

Public Types

typedef T value_type
 

Public Member Functions

 property_delegate (i_property &aSubject, i_property &aProxy, Getter aGetter)
 
 ~property_delegate ()
 
property_variant get (i_property const &) const override
 
const void * data () const override
 
void * data () override
 
i_property const & subject () const
 
i_propertysubject ()
 
i_property const & proxy () const
 
i_propertyproxy ()
 
- Public Member Functions inherited from neogfx::i_property_delegate
virtual ~i_property_delegate ()=default
 

Detailed Description

template<typename T, typename Getter = std::function<T()>>
class neogfx::property_delegate< T, Getter >

Definition at line 183 of file i_property.hpp.

Member Typedef Documentation

◆ value_type

template<typename T , typename Getter = std::function<T()>>
typedef T neogfx::property_delegate< T, Getter >::value_type

Definition at line 186 of file i_property.hpp.

Constructor & Destructor Documentation

◆ property_delegate()

template<typename T , typename Getter = std::function<T()>>
neogfx::property_delegate< T, Getter >::property_delegate ( i_property aSubject,
i_property aProxy,
Getter  aGetter 
)
inline

Definition at line 188 of file i_property.hpp.

◆ ~property_delegate()

template<typename T , typename Getter = std::function<T()>>
neogfx::property_delegate< T, Getter >::~property_delegate ( )
inline

Definition at line 193 of file i_property.hpp.

Member Function Documentation

◆ data() [1/2]

template<typename T , typename Getter = std::function<T()>>
const void * neogfx::property_delegate< T, Getter >::data ( ) const
inlineoverridevirtual

Implements neogfx::i_property_delegate.

Definition at line 209 of file i_property.hpp.

◆ data() [2/2]

template<typename T , typename Getter = std::function<T()>>
void * neogfx::property_delegate< T, Getter >::data ( )
inlineoverridevirtual

Implements neogfx::i_property_delegate.

Definition at line 213 of file i_property.hpp.

◆ get()

template<typename T , typename Getter = std::function<T()>>
property_variant neogfx::property_delegate< T, Getter >::get ( i_property const &  ) const
inlineoverridevirtual

Implements neogfx::i_property_delegate.

Definition at line 198 of file i_property.hpp.

◆ proxy() [1/2]

template<typename T , typename Getter = std::function<T()>>
i_property & neogfx::property_delegate< T, Getter >::proxy ( )
inline

Definition at line 230 of file i_property.hpp.

◆ proxy() [2/2]

template<typename T , typename Getter = std::function<T()>>
i_property const & neogfx::property_delegate< T, Getter >::proxy ( ) const
inline

Definition at line 226 of file i_property.hpp.

◆ subject() [1/2]

template<typename T , typename Getter = std::function<T()>>
i_property & neogfx::property_delegate< T, Getter >::subject ( )
inline

Definition at line 222 of file i_property.hpp.

◆ subject() [2/2]

template<typename T , typename Getter = std::function<T()>>
i_property const & neogfx::property_delegate< T, Getter >::subject ( ) const
inline

Definition at line 218 of file i_property.hpp.


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