Nui
Public Member Functions | Friends | List of all members
Nui::Delocalized< SlotId > Class Template Reference

A delocalized element can switch positions in several slots. More...

#include <delocalized.hpp>

Public Member Functions

 Delocalized (Nui::ElementRenderer renderer={})
 
 Delocalized (Delocalized const &)=delete
 
 Delocalized (Delocalized &&)=default
 
Delocalizedoperator= (Delocalized const &)=delete
 
Delocalizedoperator= (Delocalized &&)=default
 
std::shared_ptr< Dom::Elementelement ()
 
void element (Nui::ElementRenderer renderer)
 
bool hasElement () const
 
void initializeIfEmpty (Nui::ElementRenderer renderer)
 
void slot (SlotId slot)
 
SlotId slot () const
 

Friends

template<typename SlotIdB >
ElementRenderer delocalizedSlot (SlotIdB slot, Delocalized< SlotIdB > &delocalizedElement, std::vector< Attribute > wrapperAttributes, Nui::ElementRenderer alternative)
 

Detailed Description

template<typename SlotId>
class Nui::Delocalized< SlotId >

A delocalized element can switch positions in several slots.

Constructor & Destructor Documentation

◆ Delocalized() [1/3]

template<typename SlotId >
Nui::Delocalized< SlotId >::Delocalized ( Nui::ElementRenderer  renderer = {})
inline

◆ Delocalized() [2/3]

template<typename SlotId >
Nui::Delocalized< SlotId >::Delocalized ( Delocalized< SlotId > const &  )
delete

◆ Delocalized() [3/3]

template<typename SlotId >
Nui::Delocalized< SlotId >::Delocalized ( Delocalized< SlotId > &&  )
default

Member Function Documentation

◆ element() [1/2]

template<typename SlotId >
std::shared_ptr<Dom::Element> Nui::Delocalized< SlotId >::element ( )
inline

◆ element() [2/2]

template<typename SlotId >
void Nui::Delocalized< SlotId >::element ( Nui::ElementRenderer  renderer)
inline

◆ hasElement()

template<typename SlotId >
bool Nui::Delocalized< SlotId >::hasElement ( ) const
inline

◆ initializeIfEmpty()

template<typename SlotId >
void Nui::Delocalized< SlotId >::initializeIfEmpty ( Nui::ElementRenderer  renderer)
inline

◆ operator=() [1/2]

template<typename SlotId >
Delocalized& Nui::Delocalized< SlotId >::operator= ( Delocalized< SlotId > &&  )
default

◆ operator=() [2/2]

template<typename SlotId >
Delocalized& Nui::Delocalized< SlotId >::operator= ( Delocalized< SlotId > const &  )
delete

◆ slot() [1/2]

template<typename SlotId >
SlotId Nui::Delocalized< SlotId >::slot ( ) const
inline

◆ slot() [2/2]

template<typename SlotId >
void Nui::Delocalized< SlotId >::slot ( SlotId  slot)
inline

Friends And Related Function Documentation

◆ delocalizedSlot

template<typename SlotId >
template<typename SlotIdB >
ElementRenderer delocalizedSlot ( SlotIdB  slot,
Delocalized< SlotIdB > &  delocalizedElement,
std::vector< Attribute wrapperAttributes,
Nui::ElementRenderer  alternative 
)
friend

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