Gecode::FreeList Class Reference
[Space-memory management]
Base-class for freelist-managed objects. More...
#include <memory-manager.hpp>
Public Member Functions | |
FreeList (void) | |
Use uninitialized. | |
FreeList (FreeList *n) | |
Initialize with next freelist object n. | |
FreeList * | next (void) const |
Return next freelist object. | |
FreeList ** | nextRef (void) |
Return pointer to next link in freelist object. | |
void | next (FreeList *n) |
Set next freelist object to n. | |
Protected Attributes | |
FreeList * | _next |
Pointer to next freelist object. |
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::MemoryConfig.
Definition at line 120 of file memory-manager.hpp.
Constructor & Destructor Documentation
Gecode::FreeList::FreeList | ( | void | ) | [inline] |
Use uninitialized.
Definition at line 287 of file memory-manager.hpp.
Gecode::FreeList::FreeList | ( | FreeList * | n | ) | [inline] |
Initialize with next freelist object n.
Definition at line 290 of file memory-manager.hpp.
Member Function Documentation
FreeList * Gecode::FreeList::next | ( | void | ) | const [inline] |
Return next freelist object.
Reimplemented in Gecode::Int::Extensional::Incremental< View >::SupportEntry, Gecode::Int::Extensional::Incremental< View >::WorkEntry, Gecode::Int::Rel::NaryLqLe< View, o >::Pos, and Gecode::RangeList.
Definition at line 294 of file memory-manager.hpp.
FreeList ** Gecode::FreeList::nextRef | ( | void | ) | [inline] |
Return pointer to next link in freelist object.
Reimplemented in Gecode::Int::Extensional::Incremental< View >::SupportEntry.
Definition at line 299 of file memory-manager.hpp.
void Gecode::FreeList::next | ( | FreeList * | n | ) | [inline] |
Set next freelist object to n.
Definition at line 304 of file memory-manager.hpp.
Member Data Documentation
FreeList* Gecode::FreeList::_next [protected] |
Pointer to next freelist object.
Definition at line 123 of file memory-manager.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/memory-manager.hpp (Revision: 9692)