18 #ifndef __itkNeighborhoodAllocator_h
19 #define __itkNeighborhoodAllocator_h
39 template<
typename TPixel >
149 template<
typename TPixel >
154 o <<
"NeighborhoodAllocator { this = " << &a <<
", begin = "
155 <<
static_cast< const void *
>( a.
begin() )
156 <<
", size=" << a.
size()
const TPixel & operator[](unsigned int i) const
bool operator==(const Self &other) const
void set_size(unsigned int n)
unsigned int size() const
const_iterator begin() const
A memory allocator for use as the default allocator type in Neighborhood.
const TPixel * const_iterator
const_iterator end() const
const Self & operator=(const Self &other)
NeighborhoodAllocator(const Self &other)
NeighborhoodAllocator Self
TPixel & operator[](unsigned int i)
std::ostream & operator<<(std::ostream &os, const Array< TValueType > &arr)
void Allocate(unsigned int n)
bool operator!=(const Self &other) const
unsigned int m_ElementCount