30#ifndef _LibDEM_NeighbourManager_H
31#define _LibDEM_NeighbourManager_H
49 void add(T* item_ptr);
71#include "GranOO3/DEM/NeighbourManager.tpp"
T & _item
a reference to the main item which the neighbouring list is expected
Definition NeighbourManager.hpp:63
size_t number() const
get the number of neighbours
void add(T &item)
add the item as a neighbour
void erase(T &item)
erase the passed item from the neighbouring list
NeighbourManager(const NeighbourManager &)=delete
Core::SetOfBase< T > & set()
get the neighbouring list
void clear()
clear the neighouring list
void add(T *item_ptr)
similar as NeighbourManager::add(T& item) with a pointer instead of a reference
NeighbourManager()=delete
void erase(T *item_ptr)
similar as NeighbourManager::erase(T& item) with a pointer instead of a reference
NeighbourManager & operator=(const NeighbourManager &)=delete
const Core::SetOfBase< T > & set() const
get the neighbouring list
Core::SetOfBase< T > _neighbour
the neighbouring list
Definition NeighbourManager.hpp:64
NeighbourManager(T &item)
constructor
~NeighbourManager()
destructor
This namespace group the entire DEM library.
Definition Common.hpp:198