18 #ifndef itkOneWayEquivalencyTable_h
19 #define itkOneWayEquivalencyTable_h
23 #include <unordered_map>
24 #include "ITKWatershedsExport.h"
82 Add(
unsigned long a,
unsigned long b);
90 auto result = m_HashMap.find(a);
92 if (result == m_HashMap.end())
98 return (*result).second;
107 RecursiveLookup(
const unsigned long a)
const;
114 if (m_HashMap.find(a) == m_HashMap.end())
143 return m_HashMap.empty();
151 return m_HashMap.begin();
159 return m_HashMap.end();
169 PrintSelf(std::ostream & os,
Indent indent)
const override;