Template Class ElementProxyPtr

Class Documentation

template<typename T>
class ElementProxyPtr

This class emulates a Pointer behaviour for an ElementProxy if its & operator is used. The arithmetic is based on the width of an ElementProxy. It was necessary for the Octree. USE WITH CARE.

Template Parameters:

T – the type of the underlying data array.

Public Functions

inline ElementProxyPtr(T *ptr = nullptr, size_t w = 0)
ElementProxyPtr operator+(const ElementProxyPtr&) = delete
inline ssize_t operator-(const ElementProxyPtr &p)
inline ElementProxyPtr &operator++()
inline ElementProxyPtr operator+(size_t i)
inline ElementProxyPtr operator++(int)
inline ElementProxyPtr &operator+=(size_t i)
inline ElementProxyPtr operator-=(size_t i)
inline bool operator<(const ElementProxyPtr &rhs) const
inline bool operator>(const ElementProxyPtr &rhs) const
inline bool operator<=(const ElementProxyPtr &rhs) const
inline bool operator>=(const ElementProxyPtr &rhs) const
inline bool operator==(const ElementProxyPtr &rhs) const
inline bool operator!=(const ElementProxyPtr &rhs) const
inline ElementProxy<T> operator*()
ElementProxy<T> *operator->() = delete