Gecode::SharedHandle::Object Class Reference
[Support for shared objects and handles]
Inherited by Gecode::DFA::DFAI, Gecode::IntSet::IntSetObject, and Gecode::SharedArray< T >::SAO.
Detailed Description
The shared object.Shared objects must inherit from this base class.
Definition at line 80 of file core.icc.
Public Member Functions | |
Object (void) | |
Initialize. | |
virtual Object * | copy (void) const =0 |
Return fresh copy for unshared 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. |
Constructor & Destructor Documentation
Gecode::SharedHandle::Object::Object | ( | void | ) | [inline] |
Gecode::SharedHandle::Object::~Object | ( | void | ) | [inline, virtual] |
Member Function Documentation
virtual Object* Gecode::SharedHandle::Object::copy | ( | void | ) | const [pure virtual] |
Return fresh copy for unshared update.
Implemented in Gecode::DFA::DFAI, and Gecode::SharedArray< T >::SAO.
void * Gecode::SharedHandle::Object::operator new | ( | size_t | s | ) | [inline, static] |
void Gecode::SharedHandle::Object::operator delete | ( | void * | p | ) | [inline, static] |
The documentation for this class was generated from the following file:
- gecode/kernel/core.icc (Revision: 7332)