ZoneInfoCache.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma once
  2. #include "ThirdPartyHeadersBegin.h"
  3. #include <vector>
  4. #include <boost/shared_ptr.hpp>
  5. #include <boost/unordered_map.hpp>
  6. #include "ThirdPartyHeadersEnd.h"
  7. #include "AltTecUtil.h"
  8. #include "basicTypes.h"
  9. #include "IJK.h"
  10. namespace tecplot
  11. {
  12. namespace ___3933
  13. {
  14. class FESubzonePartitionerInterface;
  15. class ___37;
  16. class PartitionTecUtilDecorator;
  17. class ___1881;
  18. class ___1350;
  19. class ItemSetIterator;
  20. class ZoneInfoCache
  21. {
  22. public:
  23. ZoneInfoCache(___37 *___36, ___1844 const &maxIJKSubzoneSize, ___2090::ItemOffset_t feSubzoneSize);
  24. boost::shared_ptr<___1881> getIJKZoneInfo(___4636 zone);
  25. boost::shared_ptr<___1881> getIJKZonePartitionInfo(___4636 zone, ___4636 ___2977);
  26. boost::shared_ptr<___1350> getFEZoneInfo(___4636 zone);
  27. boost::shared_ptr<___1350> getFEZonePartitionInfo(___4636 zone, ___4636 ___2977, PartitionTecUtilDecorator &partitionTecUtilDecorator);
  28. void remove(___4636 zone);
  29. void clear();
  30. void replaceDataSource(___37 *___36);
  31. private:
  32. ___37 *___2337;
  33. ___1844 const m_maxIJKSubzoneSize;
  34. ___2090::ItemOffset_t const m_feSubzoneSize;
  35. boost::unordered_map<___4636, boost::shared_ptr<___1881>> m_ijkZoneInfos;
  36. boost::unordered_map<___4636, boost::unordered_map<___4636, boost::shared_ptr<___1881>>> m_ijkZonePartitionInfos;
  37. boost::unordered_map<___4636, boost::shared_ptr<___1350>> m_feZoneInfos;
  38. boost::unordered_map<___4636, boost::unordered_map<___4636, boost::shared_ptr<___1350>>> m_feZonePartitionInfos;
  39. template <typename ZoneInfoType>
  40. void storeForSharedZones(boost::unordered_map<___4636, boost::shared_ptr<ZoneInfoType>> &zoneInfos, boost::shared_ptr<ZoneInfoType> zoneInfo, ___4636 zone);
  41. template <typename ZoneInfoType>
  42. void storeForSharedPartitions(boost::unordered_map<___4636, boost::unordered_map<___4636, boost::shared_ptr<ZoneInfoType>>> &zoneInfos, boost::shared_ptr<ZoneInfoType> zoneInfo, ___4636 zone, ___4636 ___2977);
  43. };
  44. }
  45. }