Vaucanson 1.4
|
Base class for 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 & | _structure_get () const |
Retrieve the structural element reference from the attribute. | |
bool | _structure_bound () const |
Whether the reference to the structural element is valid or not (NULL). | |
void | _structure_assign (const SetSlotAttribute &other) |
Update the reference in the Slot . | |
void | _structure_attach (const S &s) |
Update the reference in the Slot . | |
Protected Attributes | |
const S * | s_ |
The actual reference to a structural element. |
Base class for SetSlot
, specializing SetSlotAttribute
.
This class is a specialization of SetSlotAttribute
used when the structural element is dynamic, i.e. requires a S.E. instance reference in all related Element
instance objects.
SetSlotAttribute
. SetSlotAttribute | ( | const SetSlotAttribute< S, true > & | other | ) |
SetSlotAttribute | ( | const S & | other | ) |
Foreign copy constructor.
Create a structural element reference by copying from a reference to a S.E. instance defined elsewhere.
void _structure_assign | ( | const SetSlotAttribute< S, true > & | other | ) |
void _structure_attach | ( | const S & | s | ) |
Update the reference in the Slot
.
Update the S.E. reference in the attribute with the reference given as argument.
Definition at line 95 of file slots.hxx.
References vcsn::misc::unique::get().