![]() |
Rosetta Core
2014.16.56682
|
NegSpaceElement represents a single element in the singly-linked list of negative space in an array pool. More...
#include <ArrayPool.hh>
Public Member Functions | |
| NegSpaceElement () | |
| NegSpaceElement (NegSpaceElement *next, T *array) | |
| void | set_next (NegSpaceElement *next) |
| void | set_array (T *array) |
| void | set_allocated (bool setting) |
| NegSpaceElement * | next () const |
| T * | array () const |
| bool | allocated () const |
| NegSpaceElement * | pop () |
| Remove my next element from negative space, and return a pointer to it. Maintain negative space integrity by pointing my next_ pointer at the next_ pointer of the removed element. More... | |
| void | insert_after (NegSpaceElement *element) |
| Add an element to negative space by inserting it behind this element. More... | |
Private Attributes | |
| NegSpaceElement * | next_ |
| T * | array_ |
| bool | allocated_ |
NegSpaceElement represents a single element in the singly-linked list of negative space in an array pool.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by core::graph::NegSpaceElement< double >::set_array().
|
inline |
Add an element to negative space by inserting it behind this element.
|
inline |
Referenced by core::graph::NegSpaceElement< double >::set_next().
|
inline |
Remove my next element from negative space, and return a pointer to it. Maintain negative space integrity by pointing my next_ pointer at the next_ pointer of the removed element.
|
inline |
|
inline |
Referenced by core::graph::ArrayPool< double >::create_new_block().
|
inline |
Referenced by core::graph::ArrayPool< double >::create_new_block().
|
private |
|
private |
|
private |
1.8.7