by::tbindable< T > Class Template Referenceabstract

Template interface for bindable objects. More...

#include <tbindable.hpp>

Public Member Functions

 operator nbool () const
 
virtual nbool bind (const T &it)
 
nbool bind (const T *it)
 Bind to instance pointer. More...
 
virtual void rel ()=0
 
nbool canBind (const T &it) const
 
nbool canBind (const T *it) const BY_SIDE_FUNC(canBind)
 
virtual nbool canBind (const type &it) const =0
 
nbool canBind (const type *it) const BY_SIDE_FUNC(canBind)
 
virtual nbool isBind () const =0
 

Detailed Description

template<typename T>
class by::tbindable< T >

Template interface for bindable objects.

Provides generic binding interface for objects of type T. Supports binding validation, type checking, and lifecycle management.

Member Function Documentation

◆ bind()

template<typename T >
nbool by::tbindable< T >::bind ( const T *  it)

Bind to instance pointer.

binder will loose previous binding instance whether given parameter it isn't nullptr or not.


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