we do not refer directly to constraints/variables but store a pointer to a pool slot and memorize the version number of the slot at initialization time of the class ABA_POOLSLOTREF.
#include <poolslotref.h>
Inheritance diagram for ABA_POOLSLOTREF< BaseType, CoType >::
|
The copy constructor may increments the reference counter of the constraint/variable only if version number of the slot and version number of the reference are equal, since otherwise this is not a correct reference to slot_->conVar().
The destructor sends a message to the constraint that it will no longer be referred from this place in the program.
This version of the function slot() initializes the referenced pool slot.
The version number of the slot at construction/initialization time of this reference.
The output operator writes the constraint/variable stored in the referenced slot to an output stream.
we do not refer directly to constraints/variables but store a pointer to a pool slot and memorize the version number of the slot at initialization time of the class ABA_POOLSLOTREF.
Definition at line 54 of file poolslotref.h.
This constructor generates an object referencing to no pool slot.
This constructor initializes the reference to a pool slot with a given slot.
Also the constraint/variable contained in this slot receives a message that a new references to it is created.
The copy constructor may increments the reference counter of the constraint/variable only if version number of the slot and version number of the reference are equal, since otherwise this is not a correct reference to slot_->conVar().
The destructor sends a message to the constraint that it will no longer be referred from this place in the program.
If the version number of the reference and the version number of the slot do not equal, we must not decrement the reference counter of slot_->conVar() because this is not a correct reference to this constraint/variable.
A pointer to the constraint/variable stored in the referenced slot if the version number of the slot is equal to the version number at construction/initialization time of this slot. Otherwise, it returns 0.
The version number of the constraint/variable stored in the referenced slot at construction time of the reference to this slot.
A pointer to the referenced slot.
This version of the function slot() initializes the referenced pool slot.
The function slot() may decrement the reference counter of slot_->conVar() only if the version number of the reference and the version number of the slot are equal since otherwise this is not a valid reference.
The output operator writes the constraint/variable stored in the referenced slot to an output stream.
A reference to the output stream.
A pointer to the corresponding master of the optimization.
Definition at line 151 of file poolslotref.h.
A pointer to the referenced pool slot.
Definition at line 155 of file poolslotref.h.
The version number of the slot at construction/initialization time of this reference.
Definition at line 160 of file poolslotref.h.
The documentation for this class was generated from the following file: