Generated on Fri Jul 13 2018 06:08:36 for Gecode by doxygen 1.8.14

Local (space-shared) object. More...

#include <core.hpp>

Public Member Functions

LocalObjectfwd (Space &home, bool share)
 Return forwarding pointer. More...
 
- Public Member Functions inherited from Gecode::Actor
virtual Actorcopy (Space &home, bool share)=0
 Create copy. More...
 
virtual ~Actor (void)
 To avoid warnings. More...
 
virtual size_t dispose (Space &home)
 Delete actor and return its size. More...
 

Protected Member Functions

 LocalObject (Home home)
 Constructor for creation. More...
 
 LocalObject (Space &home, bool share, LocalObject &l)
 Copy constructor. More...
 

Static Protected Member Functions

static LocalObjectcast (ActorLink *al)
 Static cast for a non-null pointer (to give a hint to optimizer) More...
 
static const LocalObjectcast (const ActorLink *al)
 Static cast for a non-null pointer (to give a hint to optimizer) More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s)
 Not used. More...
 
static void operator delete (void *p)
 Not used. More...
 
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Detailed Description

Local (space-shared) object.

Local objects must inherit from this base class.

Definition at line 1538 of file core.hpp.

Constructor & Destructor Documentation

◆ LocalObject() [1/2]

Gecode::LocalObject::LocalObject ( Home  home)
inlineprotected

Constructor for creation.

Definition at line 3772 of file core.hpp.

◆ LocalObject() [2/2]

Gecode::LocalObject::LocalObject ( Space home,
bool  share,
LocalObject l 
)
inlineprotected

Copy constructor.

Definition at line 3778 of file core.hpp.

Member Function Documentation

◆ cast() [1/2]

LocalObject * Gecode::LocalObject::cast ( ActorLink al)
inlinestaticprotected

Static cast for a non-null pointer (to give a hint to optimizer)

Definition at line 3756 of file core.hpp.

◆ cast() [2/2]

const LocalObject * Gecode::LocalObject::cast ( const ActorLink al)
inlinestaticprotected

Static cast for a non-null pointer (to give a hint to optimizer)

Definition at line 3764 of file core.hpp.

◆ fwd()

LocalObject * Gecode::LocalObject::fwd ( Space home,
bool  share 
)
inline

Return forwarding pointer.

Definition at line 3783 of file core.hpp.


The documentation for this class was generated from the following files: