27 #ifndef GUM_MULTI_DIM_FUNCTION_GRAPH_LINK_H 28 #define GUM_MULTI_DIM_FUNCTION_GRAPH_LINK_H 47 template <
typename T >
58 explicit Link(
const T& elem);
73 void*
operator new(
size_t s);
78 void operator delete(
void* p);
130 template <
typename T >
151 void*
operator new(
size_t s);
156 void operator delete(
void* p);
182 void addLink(
const T& elem);
187 void searchAndRemoveLink(
const T& elem);
196 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS Template methods of MultiDimFunctionGraph.
Headers of gum::SmallObjectAllocator.
T __element
The element embedded in this link.
gum is the global namespace for all aGrUM entities
Link< T > * __nextLink
The next link in the list.
const T & element() const
Returns the element stored in this link.
Link(const T &elem)
Constructor.
Link< T > * __firstLink
The first link of our list.
void setNextLink(Link< T > *newLink)
Sets the next link.
Link of a chain list allocated using the SmallObjectAllocator.
Chain list allocated using the SmallObjectAllocator.
const Link< T > * nextLink() const
Returns next link.