Nui
|
#include <attribute.hpp>
Classes | |
struct | RegularAttribute |
struct | StringDataAttribute |
Public Member Functions | |
Attribute ()=default | |
Attribute (std::function< void(Dom::ChildlessElement &)> setter, std::function< EventContext::EventIdType(std::weak_ptr< Dom::ChildlessElement > &&element)> createEvent={}, std::function< void(EventContext::EventIdType const &)> clearEvent={}) | |
Attribute (std::string data, std::function< EventContext::EventIdType(std::weak_ptr< Dom::ChildlessElement > &&element)> createEvent, std::function< void(EventContext::EventIdType const &)> clearEvent) | |
Attribute (std::string_view data, std::function< EventContext::EventIdType(std::weak_ptr< Dom::ChildlessElement > &&element)> createEvent, std::function< void(EventContext::EventIdType const &)> clearEvent) | |
Attribute (Attribute const &)=default | |
Attribute (Attribute &&)=default | |
Attribute & | operator= (Attribute const &)=default |
Attribute & | operator= (Attribute &&)=default |
void | setOn (Dom::ChildlessElement &element) const |
EventContext::EventIdType | createEvent (std::weak_ptr< Dom::ChildlessElement > &&element) const |
std::function< void(EventContext::EventIdType const &)> | getEventClear () const |
std::string const & | stringData () const |
bool | isRegular () const |
bool | isStringData () const |
bool | defer () const |
void | defer (bool doDefer) & |
Attribute && | defer (bool doDefer) && |
|
default |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
EventContext::EventIdType Nui::Attribute::createEvent | ( | std::weak_ptr< Dom::ChildlessElement > && | element | ) | const |
bool Nui::Attribute::defer | ( | ) | const |
void Nui::Attribute::defer | ( | bool | doDefer | ) | & |
|
inline |
std::function< void(EventContext::EventIdType const &)> Nui::Attribute::getEventClear | ( | ) | const |
bool Nui::Attribute::isRegular | ( | ) | const |
bool Nui::Attribute::isStringData | ( | ) | const |
void Nui::Attribute::setOn | ( | Dom::ChildlessElement & | element | ) | const |
std::string const & Nui::Attribute::stringData | ( | ) | const |