24 #ifndef vtkInformationInternals_h 25 #define vtkInformationInternals_h 30 #define VTK_INFORMATION_USE_HASH_MAP 31 #ifdef VTK_INFORMATION_USE_HASH_MAP 32 # include <unordered_map> 43 #ifdef VTK_INFORMATION_USE_HASH_MAP 48 return static_cast<size_t>(key -
KeyType(
nullptr));
51 typedef std::unordered_map<KeyType, DataType, HashFun>
MapType;
53 typedef std::map<KeyType, DataType>
MapType;
57 #ifdef VTK_INFORMATION_USE_HASH_MAP 63 for(MapType::iterator i = this->Map.begin(); i != this->Map.end(); ++i)
67 value->UnRegister(
nullptr);
73 #undef VTK_INFORMATION_USE_HASH_MAP
abstract base class for most VTK objects