KJSEmbed::ValueBinding

Search for usage in LXR

#include <value_binding.h>

Inherits KJSEmbed::ProxyBinding.

Inherited by KJSEmbed::DomAttrBinding, KJSEmbed::DomDocumentBinding, KJSEmbed::DomDocumentTypeBinding, KJSEmbed::DomElementBinding, KJSEmbed::DomNamedNodeMapBinding, KJSEmbed::DomNodeBinding, KJSEmbed::DomNodeListBinding, and KJSEmbed::DomTextBinding.

Public Member Functions

 ValueBinding (KJS::ExecState *exec, const char *typeName)
 
template<typename T >
 ValueBinding (KJS::ExecState *exec, const char *typeName, T val)
 
KJS::UString className () const override
 
template<typename T >
void setValue (const T &val)
 
KJS::UString toString (KJS::ExecState *exec) const override
 
template<typename T >
value () const
 

Static Public Member Functions

template<typename T >
static T castValue (ValueBinding *imp)
 

Static Public Attributes

static const KJS::ClassInfo info = { "ValueBinding", nullptr, nullptr, nullptr }
 

Detailed Description

Value binding implementation.

Definition at line 101 of file value_binding.h.

Member Function Documentation

◆ setValue()

template<typename T >
void KJSEmbed::ValueBinding::setValue ( const T &  val)
inline

Set the internal value.

Definition at line 139 of file value_binding.h.

◆ value()

template<typename T >
T KJSEmbed::ValueBinding::value ( ) const
inline

Returns the stored value.

Definition at line 125 of file value_binding.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:01:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.