SetSlot
, specializing SetSlotAttribute
.
More...
Public Member Functions | |
SetSlotAttribute () | |
Default constructor. Initialize with a NULL reference. | |
SetSlotAttribute (const SetSlotAttribute &other) | |
Copy constructor. | |
SetSlotAttribute (const S &other) | |
Foreign copy constructor. | |
const S & | get () const |
Retrieve the structural element reference from the attribute. | |
bool | bound () const |
Tell whether the reference to the structural element is valid or not (NULL). | |
void | assign (const SetSlotAttribute &other) |
Update the reference in the Slot . | |
void | attach (const S &s) |
Update the reference in the Slot . | |
Protected Attributes | |
const S * | s_ |
The actual reference to a structural element. |
SetSlot
, specializing SetSlotAttribute
.
This class is a specialization of SetSlotAttribute
used when when the structural element is dynamic, i.e. requires a S.E. instance reference in all related Element
instance objects.
SetSlotAttribute
.
|
Copy constructor.
This copy constructor creates an structural element reference by copying from the |
|
Foreign copy constructor. This copy constructor creates an structural element reference by copying from a reference to a S.E. instance defined elsewhere.
|
|
Update the reference in the This method updates the S.E. reference in the attribute with the reference given as argument. |
|
Update the reference in the This method updates the S.E. reference in the attribute with the reference given as argument. |