Nui
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Nui::Attributes::StylePropertyImpl< FunctionT, T > Struct Template Reference

#include <style.hpp>

Inheritance diagram for Nui::Attributes::StylePropertyImpl< FunctionT, T >:
Inheritance graph
[legend]
Collaboration diagram for Nui::Attributes::StylePropertyImpl< FunctionT, T >:
Collaboration graph
[legend]

Public Types

using value_type = std::tuple<::Nui::Detail::ObservedAddReference_t< T >... >
 

Public Member Functions

constexpr auto operator() () const
 
template<typename U >
constexpr StylePropertyImpl (FunctionT generator, Observed< U > const &observed)
 
template<typename U >
constexpr StylePropertyImpl (FunctionT generator, std::weak_ptr< Observed< U >> observed)
 
template<typename U >
constexpr StylePropertyImpl (FunctionT generator, std::shared_ptr< Observed< U >> observed)
 
constexpr StylePropertyImpl (FunctionT generator, std::nullptr_t)
 
template<typename GeneratorT >
constexpr StylePropertyImpl (FunctionT generator, ObservedValueCombinatorWithGenerator< GeneratorT, T... > &&observed)
 

Static Public Member Functions

constexpr static bool isStatic ()
 

Public Attributes

FunctionT generator
 
- Public Attributes inherited from Nui::Attributes::Detail::StylePropertyEbo< T... >
std::tuple<::Nui::Detail::ObservedAddReference_t< T >... > observed
 

Member Typedef Documentation

◆ value_type

template<typename FunctionT , typename... T>
using Nui::Attributes::StylePropertyImpl< FunctionT, T >::value_type = std::tuple<::Nui::Detail::ObservedAddReference_t<T>...>

Constructor & Destructor Documentation

◆ StylePropertyImpl() [1/5]

template<typename FunctionT , typename... T>
template<typename U >
constexpr Nui::Attributes::StylePropertyImpl< FunctionT, T >::StylePropertyImpl ( FunctionT  generator,
Observed< U > const &  observed 
)
inlineconstexpr

◆ StylePropertyImpl() [2/5]

template<typename FunctionT , typename... T>
template<typename U >
constexpr Nui::Attributes::StylePropertyImpl< FunctionT, T >::StylePropertyImpl ( FunctionT  generator,
std::weak_ptr< Observed< U >>  observed 
)
inlineconstexpr

◆ StylePropertyImpl() [3/5]

template<typename FunctionT , typename... T>
template<typename U >
constexpr Nui::Attributes::StylePropertyImpl< FunctionT, T >::StylePropertyImpl ( FunctionT  generator,
std::shared_ptr< Observed< U >>  observed 
)
inlineconstexpr

◆ StylePropertyImpl() [4/5]

template<typename FunctionT , typename... T>
constexpr Nui::Attributes::StylePropertyImpl< FunctionT, T >::StylePropertyImpl ( FunctionT  generator,
std::nullptr_t   
)
inlineconstexpr

◆ StylePropertyImpl() [5/5]

template<typename FunctionT , typename... T>
template<typename GeneratorT >
constexpr Nui::Attributes::StylePropertyImpl< FunctionT, T >::StylePropertyImpl ( FunctionT  generator,
ObservedValueCombinatorWithGenerator< GeneratorT, T... > &&  observed 
)
inlineconstexpr

Member Function Documentation

◆ isStatic()

template<typename FunctionT , typename... T>
constexpr static bool Nui::Attributes::StylePropertyImpl< FunctionT, T >::isStatic ( )
inlinestaticconstexpr

◆ operator()()

template<typename FunctionT , typename... T>
constexpr auto Nui::Attributes::StylePropertyImpl< FunctionT, T >::operator() ( ) const
inlineconstexpr

Member Data Documentation

◆ generator

template<typename FunctionT , typename... T>
FunctionT Nui::Attributes::StylePropertyImpl< FunctionT, T >::generator

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