|
scim
1.4.18
|
Converts a slot taking three arguments into a slot taking two arguments. More...
#include <scim_bind.h>
Public Member Functions | |
| BoundSlot2_3 (Slot3< R, P1, P2, P3 > *slot, P3 p3) | |
| virtual R | call (P1 p1, P2 p2) const |
| Calls the original slot passing it arguments p1 and p2, and the bound argument p as the last parameter. More... | |
Public Member Functions inherited from scim::Slot2< R, P1, P2 > | |
| R | operator() (P1 p1, P2 p2) const |
| Function operator; Calls call(). More... | |
Public Member Functions inherited from scim::ReferencedObject | |
| bool | is_referenced () const |
| void | ref () |
| Increase an object's reference count by one. More... | |
| void | unref () |
Additional Inherited Members | |
Protected Member Functions inherited from scim::Slot2< R, P1, P2 > | |
| Slot2 () | |
| Constructor. More... | |
Protected Member Functions inherited from scim::Slot | |
| Slot () | |
| Constructor. More... | |
| virtual | ~Slot ()=0 |
| Destructor. More... | |
Protected Member Functions inherited from scim::ReferencedObject | |
| ReferencedObject () | |
| Constructor. More... | |
| virtual | ~ReferencedObject ()=0 |
| Destructor. More... | |
| void | set_referenced (bool reference) |
Converts a slot taking three arguments into a slot taking two arguments.
|
inline |
Constructor.
| slot | - a pointer to a slot of type Slot1<R, P1, P2, P3>. |
| p3 | - a bound argument of type P3 |
|
inlinevirtual |
Calls the original slot passing it arguments p1 and p2, and the bound argument p as the last parameter.
Implements scim::Slot2< R, P1, P2 >.