Gecode::SharedHandle::Object Class Reference
[Support for shared objects and handles]
The shared object. More...
#include <core.hpp>
Public Member Functions | |
Object (void) | |
Initialize. | |
virtual Object * | copy (void) const =0 |
Return fresh copy for update. | |
virtual | ~Object (void) |
Delete shared object. |
Detailed Description
The shared object.
Shared objects must inherit from this base class.
Definition at line 88 of file core.hpp.
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 update.
Implemented in Gecode::FlatZinc::BranchInformationO, Gecode::DFA::DFAI, Gecode::TupleSet::TupleSetI, Gecode::SharedArray< T >::SAO, Gecode::SharedData< Data >::SDO, and Gecode::TraceFilter::TFO.
The documentation for this class was generated from the following file:
- gecode/kernel/core.hpp (Revision: 15597)