Nui
Namespaces | Classes | Functions | Variables
Nui::Attributes Namespace Reference

Namespaces

 Detail
 
 Literals
 

Classes

class  PropertyFactory
 
class  AttributeFactory
 
class  EventFactory
 
struct  reference_
 
struct  StylePropertyImpl
 
struct  StyleProperty
 
class  Style
 
struct  style_
 

Functions

constexpr AttributeFactory operator""_attr (char const *name, std::size_t)
 
constexpr PropertyFactory operator""_prop (char const *name, std::size_t)
 
constexpr EventFactory operator""_event (char const *name, std::size_t)
 
template<typename T >
 requires (std::is_same_v< T, AttributeFactory >||std::is_same_v< T, PropertyFactory >||std::is_same_v< T, EventFactory >) Detail
 
template<typename FunctionT >
 StylePropertyImpl (FunctionT generator, std::nullptr_t) -> StylePropertyImpl< FunctionT, void >
 
template<typename FunctionT , typename T >
 StylePropertyImpl (FunctionT generator, Observed< T > &) -> StylePropertyImpl< FunctionT, Observed< T >>
 
template<typename FunctionT , typename T >
 StylePropertyImpl (FunctionT generator, Observed< T > const &) -> StylePropertyImpl< FunctionT, Observed< T >>
 
template<typename FunctionT , typename T >
 StylePropertyImpl (FunctionT generator, std::shared_ptr< Observed< T >>) -> StylePropertyImpl< FunctionT, std::weak_ptr< Observed< T >>>
 
template<typename FunctionT , typename T >
 StylePropertyImpl (FunctionT generator, std::weak_ptr< Observed< T >> &&) -> StylePropertyImpl< FunctionT, std::weak_ptr< Observed< T >>>
 
template<typename FunctionT , typename GeneratorT , typename... ObservedT>
 StylePropertyImpl (FunctionT generator, ObservedValueCombinatorWithGenerator< GeneratorT, ObservedT... > &&) -> StylePropertyImpl< FunctionT, ObservedT... >
 
static constexpr StyleProperty operator""_style (char const *name, std::size_t)
 

Variables

struct Nui::Attributes::reference_ reference
 
struct Nui::Attributes::style_ style
 

Function Documentation

◆ requires()

template<typename T >
Nui::Attributes::requires ( std::is_same_v< T, AttributeFactory >||std::is_same_v< T, PropertyFactory >||std::is_same_v< T, EventFactory )

◆ StylePropertyImpl() [1/6]

template<typename FunctionT , typename T >
Nui::Attributes::StylePropertyImpl ( FunctionT  generator,
Observed< T > &   
) -> StylePropertyImpl< FunctionT, Observed< T >>

◆ StylePropertyImpl() [2/6]

template<typename FunctionT , typename T >
Nui::Attributes::StylePropertyImpl ( FunctionT  generator,
Observed< T > const &   
) -> StylePropertyImpl< FunctionT, Observed< T >>

◆ StylePropertyImpl() [3/6]

template<typename FunctionT , typename GeneratorT , typename... ObservedT>
Nui::Attributes::StylePropertyImpl ( FunctionT  generator,
ObservedValueCombinatorWithGenerator< GeneratorT, ObservedT... > &&   
) -> StylePropertyImpl< FunctionT, ObservedT... >

◆ StylePropertyImpl() [4/6]

template<typename FunctionT >
Nui::Attributes::StylePropertyImpl ( FunctionT  generator,
std::nullptr_t   
) -> StylePropertyImpl< FunctionT, void >

◆ StylePropertyImpl() [5/6]

template<typename FunctionT , typename T >
Nui::Attributes::StylePropertyImpl ( FunctionT  generator,
std::shared_ptr< Observed< T >>   
) -> StylePropertyImpl< FunctionT, std::weak_ptr< Observed< T >>>

◆ StylePropertyImpl() [6/6]

template<typename FunctionT , typename T >
Nui::Attributes::StylePropertyImpl ( FunctionT  generator,
std::weak_ptr< Observed< T >> &&   
) -> StylePropertyImpl< FunctionT, std::weak_ptr< Observed< T >>>

Variable Documentation

◆ reference

struct Nui::Attributes::reference_ Nui::Attributes::reference

◆ style

struct Nui::Attributes::style_ Nui::Attributes::style