KDBindings API Documentation  1.0.95
Classes | Namespaces | Functions
binding.h File Reference
#include <kdbindings/node.h>
#include <kdbindings/node_operators.h>
#include <kdbindings/node_functions.h>
#include <kdbindings/make_node.h>
#include <kdbindings/binding_evaluator.h>
#include <kdbindings/property_updater.h>

Go to the source code of this file.

Classes

class  KDBindings::Binding< T, EvaluatorT >
 A combination of a root Node with an evaluator. More...
 
class  KDBindings::Binding< T, ImmediateBindingEvaluator >
 Provides a convenience for old-school, immediate mode Bindings. More...
 

Namespaces

 KDBindings
 The main namespace of the KDBindings library.
 

Functions

template<typename T >
std::unique_ptr< Binding< T, ImmediateBindingEvaluator > > KDBindings::makeBinding (const Property< T > &property)
 Creates an immediate mode binding from a const property. More...
 
template<typename T , typename EvaluatorT >
std::unique_ptr< Binding< T, EvaluatorT > > KDBindings::makeBinding (EvaluatorT &evaluator, const Property< T > &property)
 Creates a binding from a const property using a specified evaluator. More...
 
template<typename EvaluatorT , typename Func , typename... Args, typename = std::enable_if_t<sizeof...(Args) != 0>, typename ResultType = Private::operator_node_result_t<Func, Args...>>
std::unique_ptr< Binding< ResultType, EvaluatorT > > KDBindings::makeBinding (EvaluatorT &evaluator, Func &&func, Args &&...args)
 Helper function to create a Binding from a function and its arguments. More...
 
template<typename T , typename EvaluatorT >
std::unique_ptr< Binding< T, EvaluatorT > > KDBindings::makeBinding (EvaluatorT &evaluator, Private::Node< T > &&rootNode)
 Helper function to create a Binding from a root Node. More...
 
template<typename T , typename EvaluatorT >
std::unique_ptr< Binding< T, EvaluatorT > > KDBindings::makeBinding (EvaluatorT &evaluator, Property< T > &property)
 Helper function to create a Binding from a Property. More...
 
template<typename Func , typename... Args, typename = std::enable_if_t<sizeof...(Args) != 0>, typename ResultType = Private::operator_node_result_t<Func, Args...>>
std::unique_ptr< Binding< ResultType, ImmediateBindingEvaluator > > KDBindings::makeBinding (Func &&func, Args &&...args)
 Helper function to create an immediate mode Binding from a function and its arguments. More...
 
template<typename T >
std::unique_ptr< Binding< T, ImmediateBindingEvaluator > > KDBindings::makeBinding (Private::Node< T > &&rootNode)
 Helper function to create an immediate mode Binding from a root Node. More...
 
template<typename T >
std::unique_ptr< Binding< T, ImmediateBindingEvaluator > > KDBindings::makeBinding (Property< T > &property)
 Helper function to create an immediate mode Binding from a Property. More...
 
template<typename... T>
auto KDBindings::makeBoundProperty (T &&...args)
 Helper function to create a Property with a Binding. More...
 

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDBindings
Reactive programming & data binding in C++
https://github.com/KDAB/KDBindings/
Generated by doxygen 1.9.1