Generated on Thu Mar 22 10:39:53 2012 for Gecode by doxygen 1.6.3

Gecode::SharedHandle::Object Class Reference
[Support for shared objects and handles]

The shared object. More...

#include <core.hpp>

List of all members.

Public Member Functions

 Object (void)
virtual Objectcopy (void) const =0
 Return fresh copy for update.
virtual ~Object (void)
 Delete shared object.

Static Public Member Functions

static void * operator new (size_t s)
 Allocate memory from heap.
static void operator delete (void *p)
 Free memory allocated from heap.

Detailed Description

The shared object.

Shared objects must inherit from this base class.

Definition at line 86 of file core.hpp.

Constructor & Destructor Documentation

Gecode::SharedHandle::Object::Object ( void   )  [inline]


Definition at line 2259 of file core.hpp.

Gecode::SharedHandle::Object::~Object ( void   )  [inline, virtual]

Delete shared object.

Definition at line 2262 of file core.hpp.

Member Function Documentation

virtual Object* Gecode::SharedHandle::Object::copy ( void   )  const [pure virtual]

Return fresh copy for update.

Implemented in Gecode::DFA::DFAI, Gecode::TupleSet::TupleSetI, and Gecode::SharedArray< T >::SAO.

void * Gecode::SharedHandle::Object::operator new ( size_t  s  )  [inline, static]

Allocate memory from heap.

Definition at line 1980 of file core.hpp.

void Gecode::SharedHandle::Object::operator delete ( void *  p  )  [inline, static]

Free memory allocated from heap.

Definition at line 1984 of file core.hpp.

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