TecioData.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #pragma once
  2. #include "ThirdPartyHeadersBegin.h"
  3. #include <map>
  4. #include <set>
  5. #include <stdexcept>
  6. #include <string>
  7. #include <boost/shared_ptr.hpp>
  8. #include "ThirdPartyHeadersEnd.h"
  9. #include "basicTypes.h"
  10. #include "fileio.h"
  11. #include "Geom_s.h"
  12. #include "IJK.h"
  13. #include "SzlFileLoader.h"
  14. #include "Text_s.h"
  15. #include "Zone_s.h"
  16. namespace tecplot
  17. {
  18. namespace tecioszl
  19. {
  20. class ___3970
  21. {
  22. public:
  23. class Error : public std::runtime_error
  24. {
  25. public:
  26. explicit Error(std::string const &___2432) : runtime_error(___2432) {}
  27. };
  28. ___3970();
  29. ___3970(std::string const &___4177, std::string const &___4350, int32_t defaultVarType);
  30. virtual ~___3970();
  31. void ___19(char const *___4690, int32_t const ___4692, int64_t const ___1909, int64_t const ___2116, int64_t const ___2161, double const ___3640, int32_t const ___3785, int32_t const ___2974, int64_t const ___2802, int32_t const ___1284, int64_t const ___4192, int64_t const ___2786, int64_t const ___4188, int32_t const *varTypes, int32_t const *___2982, int32_t const *___4326, int32_t const *___3551, int32_t const ___3549);
  32. void renumberLastZone(int32_t zoneNumber);
  33. void setPartitionOwners(std::vector<int> const &partitionOwners);
  34. template <typename T>
  35. void addFEZonePartition(int32_t zone, int32_t ___2977, int64_t ___2821, int64_t ___2781, std::vector<T> const &gnodes, std::vector<int32_t> const &gnpartitions, std::vector<T> const &gnpnodes, std::vector<T> const &gcells);
  36. void addIJKZonePartition(int32_t zone, int32_t ___2977, int64_t iMin, int64_t jMin, int64_t kMin, int64_t iMax, int64_t jMax, int64_t kMax);
  37. void ___8(std::string const &___2685, std::string const &___4314);
  38. void ___20(int32_t zone, std::string const &___2685, std::string const &___4314);
  39. void ___18(int32_t ___4336, std::string const &___2685, std::string const &___4314);
  40. void ___6(std::vector<std::string> const &___2173);
  41. void ___9(double ___4574, double ___4591, double ___4715, CoordSys_e ___3159, ___372 ___2004, ___1172 zone, ___516 color, ___516 ___1411, ___372 ___2022, GeomType_e ___1651, LinePattern_e ___2263, double ___2986, double ___2289, uint16_t ___2793, ArrowheadStyle_e arrowheadStyle, ArrowheadAttachment_e arrowheadAttachment, double arrowheadSize, double arrowheadAngle, Scope_e ___3442, Clipping_e ___495, ___2227 ___2835, ___2227 const *___2837, float const *___4572, float const *___4589, float const *___4712, char const *___2327);
  42. void ___9(tecioszl::___1556 const &___1555);
  43. void ___16(double ___4574, double ___4591, double ___4713, CoordSys_e ___3159, ___372 ___2004, ___1172 zone, Font_e ___1443, Units_e ___1452, double ___1450, TextBox_e ___410, double ___408, double ___406, ___516 ___402, ___516 ___404, double ___56, TextAnchor_e ___38, double ___2287, ___516 ___4080, Scope_e ___3442, Clipping_e ___495, char const *___4042, char const *___2327);
  44. void ___16(tecioszl::Text const &___4042);
  45. void ___430(___2227 count, void const *data, bool ___2013);
  46. void ___432(___2227 count, int32_t const *___2723);
  47. template <typename T>
  48. void ___431(Zone_s *zonePtr, T const *faceConnections);
  49. void copyConnectivity(___3970 const &___2888);
  50. int32_t ___2843() const;
  51. int32_t ___2846() const;
  52. int32_t numZonePartitions(int32_t zone) const;
  53. std::string ___1394() const;
  54. void ___4166(bool checkConnectivity) const;
  55. void clear(int32_t numZonesToRetain, int32_t const *zonesToRetain);
  56. bool empty();
  57. std::string const &___4177() const { return ___2649; }
  58. std::vector<std::string> const &variableNames() const { return ___2674; }
  59. int32_t defaultVarType() const { return m_defaultVarType; }
  60. std::set<___3493> zoneSet() const;
  61. std::set<___3493> unflushedZoneSet() const;
  62. Zone_s *zonePtr(___3933::___4636 ___4658) const;
  63. boost::shared_ptr<AuxData_s> const &dataSetAuxData() const { return ___2399; }
  64. std::vector<boost::shared_ptr<AuxData_s>> const &varAuxData() const { return ___2672; }
  65. std::vector<___1556> const &geoms() const { return ___2465; }
  66. std::vector<Text> const &texts() const { return ___2640; }
  67. std::vector<std::vector<std::string>> const &customLabels() const { return ___2398; }
  68. bool validZoneNum(___3933::___4636 ___4658) const { return zonePtr(___4658) != NULL; }
  69. bool validPartitionNum(___3933::___4636 ___4658, ___3933::___4636 partitionNum) const;
  70. void flattenSinglePartitionZones();
  71. ___3933::___1393 sizeInFile(bool ___4480) const;
  72. void writeToFile(___3933::FileWriterInterface &outputFile, ___3933::___1393 fileLoc, bool ___4480) const;
  73. ___3970(___3933::___1399 &inputFile, bool readASCII);
  74. private:
  75. Zone_s *getAndCheckZonePtr(int32_t zone) const;
  76. std::string ___2649;
  77. std::vector<std::string> ___2674;
  78. int32_t m_defaultVarType;
  79. ___3933::___4636 m_nextZoneIndex;
  80. ___3933::___4636 m_lastZoneFlushedToDisk;
  81. Zone_s::ZoneMap m_zoneMap;
  82. boost::shared_ptr<AuxData_s> ___2399;
  83. std::vector<boost::shared_ptr<AuxData_s>> ___2672;
  84. std::vector<___1556> ___2465;
  85. std::vector<Text> ___2640;
  86. std::vector<std::vector<std::string>> ___2398;
  87. };
  88. }
  89. }