The copied handle.
More...
#include <core.hpp>
List of all members.
Detailed Description
The copied handle.
A copied handle provides access to an object that lives in a space, and is used by entities inside the space. The handle has an update mechanism that makes sure that a single copy of the object is created when the space is copied.
This is the base class that all copied handles must inherit from.
Definition at line 80 of file core.hpp.
Constructor & Destructor Documentation
| Gecode::CopiedHandle::CopiedHandle |
( |
void |
|
) |
[inline] |
Create shared handle with no object pointing to.
Definition at line 2161 of file core.hpp.
Create shared handle that points to shared object so.
Definition at line 2163 of file core.hpp.
| Gecode::CopiedHandle::CopiedHandle |
( |
const CopiedHandle & |
sh |
) |
[inline] |
Copy constructor maintaining reference count.
Definition at line 2165 of file core.hpp.
Member Function Documentation
Assignment operator mainitaining reference count.
Definition at line 2167 of file core.hpp.
| void Gecode::CopiedHandle::update |
( |
Space & |
home, |
|
|
bool |
share, |
|
|
CopiedHandle & |
sh | |
|
) |
| | [inline] |
Updating during cloning.
Definition at line 2172 of file core.hpp.
| void Gecode::CopiedHandle::dispose |
( |
Space & |
home |
) |
[inline] |
Deallocate object.
Definition at line 2185 of file core.hpp.
The documentation for this class was generated from the following file: