Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

scim_bind.h File Reference

Binding adapters. More...

Go to the source code of this file.

Namespaces

namespace  scim

Classes

class  scim::BoundSlot0_1< R, P1 >
 Converts a slot taking one argument into a slot taking no arguments. More...
class  scim::BoundSlot1_2< R, P1, P2 >
 Converts a slot taking two arguments into a slot taking one argument. More...
class  scim::BoundSlot2_3< R, P1, P2, P3 >
 Converts a slot taking three arguments into a slot taking two arguments. More...
class  scim::BoundSlot3_4< R, P1, P2, P3, P4 >
 Converts a slot taking four arguments into a slot taking three arguments. More...
class  scim::BoundSlot4_5< R, P1, P2, P3, P4, P5 >
 Converts a slot taking five arguments into a slot taking four arguments. More...
class  scim::BoundSlot5_6< R, P1, P2, P3, P4, P5, P6 >
 Converts a slot taking six arguments into a slot taking five arguments. More...

Bind functions returning a new BoundSlot.

template<typename R, typename P1> Slot0< R > * bind (Slot1< R, P1 > *s, P1 p1)
template<typename R, typename P1, typename P2> Slot1< R, P1 > * bind (Slot2< R, P1, P2 > *s, P2 p2)
template<typename R, typename P1, typename P2, typename P3> Slot2< R, P1, P2 > * bind (Slot3< R, P1, P2, P3 > *s, P3 p3)
template<typename R, typename P1, typename P2, typename P3, typename P4> Slot3< R, P1, P2, P3 > * bind (Slot4< R, P1, P2, P3, P4 > *s, P4 p4)
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5> Slot4< R, P1, P2, P3, P4 > * bind (Slot5< R, P1, P2, P3, P4, P5 > *s, P5 p5)
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> Slot5< R, P1, P2, P3, P4,
P5 > * 
bind (Slot6< R, P1, P2, P3, P4, P5, P6 > *s, P6 p6)


Detailed Description

Binding adapters.

A binding adaptor is an object that allows you to convert between slot types. Usually you wont use a BoundSlot directly but instead call the bind() factory function (similiar to the slot() factory function) which will create an appropriate bound slot for you, depending on the parameters passed.

Most code of this file are came from Inti project.

Definition in file scim_bind.h.


Generated on Thu Dec 30 21:03:19 2004 for scim by doxygen 1.3.8