Nui
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Nui::Dom::BasicElement Class Reference

#include <basic_element.hpp>

Inheritance diagram for Nui::Dom::BasicElement:
Inheritance graph
[legend]
Collaboration diagram for Nui::Dom::BasicElement:
Collaboration graph
[legend]

Public Member Functions

 BasicElement (Nui::val val)
 
virtual ~BasicElement ()=default
 
Nui::val const & val () const
 
Nui::valval ()
 
 operator Nui::val const & () const
 
 operator Nui::val & ()
 
 operator Nui::val && () &&
 
template<class Derived >
std::shared_ptr< Derived > shared_from_base ()
 
template<class Derived >
std::weak_ptr< Derived > weak_from_base ()
 
std::string tagName () const
 
std::optional< std::string > namespaceUri () const
 

Protected Member Functions

 BasicElement ()
 

Protected Attributes

Nui::val element_
 

Constructor & Destructor Documentation

◆ BasicElement() [1/2]

Nui::Dom::BasicElement::BasicElement ( Nui::val  val)
inlineexplicit

◆ ~BasicElement()

virtual Nui::Dom::BasicElement::~BasicElement ( )
virtualdefault

◆ BasicElement() [2/2]

Nui::Dom::BasicElement::BasicElement ( )
inlineexplicitprotected

Member Function Documentation

◆ namespaceUri()

std::optional<std::string> Nui::Dom::BasicElement::namespaceUri ( ) const
inline

◆ operator Nui::val &()

Nui::Dom::BasicElement::operator Nui::val & ( )
inline

◆ operator Nui::val &&()

Nui::Dom::BasicElement::operator Nui::val && ( ) &&
inline

◆ operator Nui::val const &()

Nui::Dom::BasicElement::operator Nui::val const & ( ) const
inline

◆ shared_from_base()

template<class Derived >
std::shared_ptr<Derived> Nui::Dom::BasicElement::shared_from_base ( )
inline

◆ tagName()

std::string Nui::Dom::BasicElement::tagName ( ) const
inline

◆ val() [1/2]

Nui::val& Nui::Dom::BasicElement::val ( )
inline

◆ val() [2/2]

Nui::val const& Nui::Dom::BasicElement::val ( ) const
inline

◆ weak_from_base()

template<class Derived >
std::weak_ptr<Derived> Nui::Dom::BasicElement::weak_from_base ( )
inline

Member Data Documentation

◆ element_

Nui::val Nui::Dom::BasicElement::element_
protected

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