18#ifndef itkOneWayEquivalencyTable_h
19#define itkOneWayEquivalencyTable_h
23#include <unordered_map>
24#include "ITKWatershedsExport.h"
82 Add(
unsigned long a,
unsigned long b);
97 return result->second;
Control indentation during Print() invocation.
OneWayEquivalencyTable()=default
~OneWayEquivalencyTable() override=default
unsigned long Lookup(const unsigned long a) const
SmartPointer< Self > Pointer
bool IsEntry(const unsigned long a) const
std::unordered_map< unsigned long, unsigned long > HashTableType
HashTableType::value_type ValueType
void PrintSelf(std::ostream &os, Indent indent) const override
OneWayEquivalencyTable Self
bool Add(unsigned long a, unsigned long b)
SmartPointer< const Self > ConstPointer
HashTableType::const_iterator ConstIterator
unsigned long RecursiveLookup(const unsigned long a) const
void Erase(const unsigned long a)
HashTableType::iterator Iterator
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....