set_
attribute of the Element
class.
More...
Inheritance diagram for SetSlot:
Public Member Functions | |
const S & | get () const |
Access to the instance of the structural element. | |
void | assign (const SetSlotAttribute &other) |
Link a set slot to another. | |
void | attach (const S &other) |
Link a set slot to a structural element. | |
bool | bound () const |
Tell whether the current set slot is linked to a structural element or not. | |
SetSlot () | |
SetSlot (const SetSlot &other) | |
SetSlot (const S &other) |
set_
attribute of the Element
class.
This class derives from SetSlotAttribute
, a reference to a structural element to which an Element
is related.
The actual implementation of SetSlot<S>
, for a given structural element S
, depends on the value of dynamic_traits<S>::ret
, which chooses which version of SetSlotAttribute
to inherit from.
SetSlotAttribute
dynamic_traits
Element
|
Trivial constructor. Calls the inherited constructor from |
|
Trivial constructor. Calls the inherited constructor from |
|
Trivial constructor. Calls the inherited constructor from |
|
Access to the instance of the structural element. Because this version of the class pertains to static S.E.'s, this accessor returns a NULL reference, most likely inappropriate for any other form of dereference other than accessing methods of the S.E. (which do not use the reference anyway). |
|
Tell whether the current set slot is linked to a structural element or not.
In this version this method always returns |