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 |
Template interface for bindable objects.
Provides generic binding interface for objects of type T. Supports binding validation, type checking, and lifecycle management.
| 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.