Generated on Mon Sep 17 2012 22:20:53 for Gecode by doxygen 1.8.1.1
Gecode::LocalObject Class Reference

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

#include <core.hpp>

List of all members.

Public Member Functions

LocalObjectfwd (Space &home, bool share)
 Return forwarding pointer.
- Public Member Functions inherited from Gecode::Actor
virtual Actorcopy (Space &home, bool share)=0
 Create copy.
virtual size_t allocated (void) const
 Report size occupied by additionally datastructures.
virtual size_t dispose (Space &home)
 Delete actor and return its size.

Protected Member Functions

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

Static Protected Member Functions

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

Additional Inherited Members

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

Detailed Description

Local (space-shared) object.

Local objects must inherit from this base class.

Definition at line 1062 of file core.hpp.


Constructor & Destructor Documentation

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

Constructor for creation.

Definition at line 2653 of file core.hpp.

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

Copy constructor.

Definition at line 2658 of file core.hpp.


Member Function Documentation

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

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

Reimplemented from Gecode::Actor.

Definition at line 2637 of file core.hpp.

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

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

Reimplemented from Gecode::Actor.

Definition at line 2645 of file core.hpp.

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

Return forwarding pointer.

Definition at line 2663 of file core.hpp.


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