OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TTransferBufferBinder< TControlType > Class Template Reference

Provides a customization hook for binding and creating controls. More...

#include <owl/transferbuffer.h>

Detailed Description

template<class TControlType>
class owl::TTransferBufferBinder< TControlType >

Provides a customization hook for binding and creating controls.

Every control type should have a specialization of this template, containing two function templates;

template <class TBuffer>
void Restrict(TFieldType TBuffer::*, TControlType&);
template <class TBuffer>
TControlType& Create(TFieldType TBuffer::*, TWindow*, int id, ...);
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
Definition window.h:414

These signatures restrict the binding of the control to a field in, and only in, the transfer buffer specified for the window. See TTransferBufferBinderImplementation for a generic implementation.

Definition at line 132 of file transferbuffer.h.


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