50#ifndef GUM_MULTI_DIM_FUNCTION_GRAPH_LINK_H
51#define GUM_MULTI_DIM_FUNCTION_GRAPH_LINK_H
71 template <
typename T >
82 explicit Link(
const T& elem);
97 void*
operator new(
size_t s);
102 void operator delete(
void* p);
154 template <
typename T >
175 void*
operator new(
size_t s);
180 void operator delete(
void* p);
220#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Link of a chain list allocated using the SmallObjectAllocator.
Link(const T &elem)
Constructor.
const Link< T > * nextLink() const
Returns next link.
Link< T > * _nextLink_
The next link in the list.
const T & element() const
Returns the element stored in this link.
T _element_
The element embedded in this link.
void setNextLink(Link< T > *newLink)
Sets the next link.
void searchAndRemoveLink(const T &elem)
Removes a element from the list.
void clear()
Clears the list.
const Link< T > * list() const
Returns the first link in the chained list.
Link< T > * _firstLink_
The first link of our list.
void addLink(const T &elem)
Adds a link.
Template methods of MultiDimFunctionGraph.
gum is the global namespace for all aGrUM entities
Headers of gum::SmallObjectAllocator.