NodeMap.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #pragma once
  2. #include "ThirdPartyHeadersBegin.h"
  3. #include <boost/shared_ptr.hpp>
  4. #include "ThirdPartyHeadersEnd.h"
  5. #include "AltTecUtil.h"
  6. namespace tecplot
  7. {
  8. namespace ___3933
  9. {
  10. typedef boost::shared_ptr<class ___2724> ___2729;
  11. class ___2724
  12. {
  13. public:
  14. ___2724() : ___2497(0), m_rawNodeMapPtr32(0), m_rawNodeMapPtr64(0), ___2392(0), ___2500(0) {}
  15. ___2724(___37 *tecUtil, ___1172 zone, bool writable = false);
  16. bool ___2067() const { return ((((m_rawNodeMapPtr32 != NULL) && (m_rawNodeMapPtr64 == NULL) && (___2497 == NULL)) || ((m_rawNodeMapPtr32 == NULL) && (m_rawNodeMapPtr64 != NULL) && (___2497 == NULL)) || ((m_rawNodeMapPtr32 == NULL) && (m_rawNodeMapPtr64 == NULL) && (___2497 != NULL))) && m_tecUtil != NULL && ___2392 > 0 && 2 <= ___2500 && ___2500 <= 8); }
  17. ___2718 ___1763(___2227 ___449, int32_t ___681) const
  18. {
  19. REQUIRE(0 < ___449 && ___449 <= ___2392);
  20. REQUIRE(0 < ___681 && ___681 <= ___2500);
  21. if (m_rawNodeMapPtr32 != NULL)
  22. return m_rawNodeMapPtr32[(___449 - 1) * ___2500 + ___681 - 1] + 1;
  23. else if (m_rawNodeMapPtr64 != NULL)
  24. return m_rawNodeMapPtr64[(___449 - 1) * ___2500 + ___681 - 1] + 1;
  25. else
  26. return m_tecUtil->___865(___2497, ___449, static_cast<___682>(___681));
  27. }
  28. ___465 ___1766() const { return ___2392; }
  29. int32_t ___1764() const { return ___2500; }
  30. void setNode(___465 ___449, int32_t ___681, ___2718 ___2709)
  31. {
  32. if (m_rawNodeMapPtr32 != NULL)
  33. m_rawNodeMapPtr32[(___449 - 1) * ___2500 + ___681 - 1] = static_cast<int32_t>(___2709 - 1);
  34. else if (m_rawNodeMapPtr64 != NULL)
  35. m_rawNodeMapPtr64[(___449 - 1) * ___2500 + ___681 - 1] = ___2709 - 1;
  36. else
  37. m_tecUtil->___870(___2497, ___449, static_cast<___682>(___681), ___2709);
  38. }
  39. private:
  40. ___37 *m_tecUtil;
  41. ___2727 ___2497;
  42. int32_t *m_rawNodeMapPtr32;
  43. int64_t *m_rawNodeMapPtr64;
  44. ___465 ___2392;
  45. int32_t ___2500;
  46. };
  47. }
  48. }