Gecode::FreeList Class Reference
[Space-memory management]
Inherited by Gecode::Int::Extensional::Incremental< View >::SupportEntry, Gecode::Int::IntVarImp::RangeList, and Gecode::Set::RangeList.
Detailed Description
Base-class for freelist-managed objects.Freelist-managed object must inherit from this class. The size of objects of subclasses is defined by the parameters in Gecode::Memory::Config.
Definition at line 139 of file memory-manager.icc.
Public Member Functions | |
FreeList (void) | |
Use uninitialized. | |
FreeList (FreeList *n) | |
Initialize with next freelist object n. | |
FreeList * | next (void) const |
Return next freelist object. | |
void | next (FreeList *n) |
Set next freelist object to n. | |
Protected Attributes | |
FreeList * | _next |
Pointer to next freelist object. |
Constructor & Destructor Documentation
Gecode::FreeList::FreeList | ( | void | ) | [inline] |
Gecode::FreeList::FreeList | ( | FreeList * | n | ) | [inline] |
Member Function Documentation
FreeList * Gecode::FreeList::next | ( | void | ) | const [inline] |
Return next freelist object.
Reimplemented in Gecode::Set::RangeList.
Definition at line 242 of file memory-manager.icc.
void Gecode::FreeList::next | ( | FreeList * | n | ) | [inline] |
Member Data Documentation
FreeList* Gecode::FreeList::_next [protected] |
The documentation for this class was generated from the following file:
- gecode/kernel/memory-manager.icc (Revision: 7660)