Rosetta 3.4
Public Member Functions
core::graph::NegSpaceElement< T > Class Template Reference

NegSpaceElement represents a single element in the singly-linked list of negative space in an array pool. More...

#include <ArrayPool.hh>

Collaboration diagram for core::graph::NegSpaceElement< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NegSpaceElement ()
 NegSpaceElement (NegSpaceElement *next, T *array)
void set_next (NegSpaceElement *next)
void set_array (T *array)
void set_allocated (bool setting)
NegSpaceElementnext () const
T * array () const
bool allocated () const
NegSpaceElementpop ()
 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.
void insert_after (NegSpaceElement *element)
 Add an element to negative space by inserting it behind this element.

Detailed Description

template<class T>
class core::graph::NegSpaceElement< T >

NegSpaceElement represents a single element in the singly-linked list of negative space in an array pool.


Constructor & Destructor Documentation

template<class T>
core::graph::NegSpaceElement< T >::NegSpaceElement ( ) [inline]
template<class T>
core::graph::NegSpaceElement< T >::NegSpaceElement ( NegSpaceElement< T > *  next,
T *  array 
) [inline]

Member Function Documentation

template<class T>
bool core::graph::NegSpaceElement< T >::allocated ( ) const [inline]
template<class T>
T* core::graph::NegSpaceElement< T >::array ( ) const [inline]
template<class T>
void core::graph::NegSpaceElement< T >::insert_after ( NegSpaceElement< T > *  element) [inline]

Add an element to negative space by inserting it behind this element.

template<class T>
NegSpaceElement* core::graph::NegSpaceElement< T >::next ( ) const [inline]
template<class T>
NegSpaceElement* core::graph::NegSpaceElement< T >::pop ( ) [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.

template<class T>
void core::graph::NegSpaceElement< T >::set_allocated ( bool  setting) [inline]
template<class T>
void core::graph::NegSpaceElement< T >::set_array ( T *  array) [inline]
template<class T>
void core::graph::NegSpaceElement< T >::set_next ( NegSpaceElement< T > *  next) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines