Gecode::LocalObject Class Reference
Local (space-shared) object. More...
#include <core.hpp>
Public Member Functions | |
LocalObject * | fwd (Space &home, bool share) |
Return forwarding pointer. | |
Protected Member Functions | |
LocalObject (Home home) | |
Constructor for creation. | |
LocalObject (Space &home, bool share, LocalObject &l) | |
Copy constructor. | |
Static Protected Member Functions | |
static LocalObject * | cast (ActorLink *al) |
Static cast for a non-null pointer (to give a hint to optimizer) | |
static const LocalObject * | cast (const ActorLink *al) |
Static cast for a non-null pointer (to give a hint to optimizer) |
Detailed Description
Local (space-shared) object.
Local objects must inherit from this base class.
Constructor & Destructor Documentation
Gecode::LocalObject::LocalObject | ( | Home | home | ) | [inline, protected] |
Gecode::LocalObject::LocalObject | ( | Space & | home, |
bool | share, | ||
LocalObject & | l | ||
) | [inline, protected] |
Member Function Documentation
LocalObject * Gecode::LocalObject::cast | ( | ActorLink * | al | ) | [inline, static, protected] |
Static cast for a non-null pointer (to give a hint to optimizer)
Reimplemented from Gecode::Actor.
const LocalObject * Gecode::LocalObject::cast | ( | const ActorLink * | al | ) | [inline, static, protected] |
Static cast for a non-null pointer (to give a hint to optimizer)
Reimplemented from Gecode::Actor.
LocalObject * Gecode::LocalObject::fwd | ( | Space & | home, |
bool | share | ||
) | [inline] |
The documentation for this class was generated from the following files:
- gecode/kernel/core.hpp (Revision: 11184)
- gecode/kernel/core.cpp (Revision: 11184)