Text_s.h 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #pragma once
  2. #include "SzlFileLoader.h"
  3. #include "fileio.h"
  4. namespace tecplot
  5. {
  6. namespace tecioszl
  7. {
  8. struct Text : public tecplot::___3933::Text
  9. {
  10. public:
  11. static Text invalidText() { return Text(0.0, 0.0, 0.0, ___364, ___4455, 0.1, 20.0, ___4075, ___4050, 0.0, ___498, ___364, 14.0, 1.0, "", ___663, ___3446, ___4271, "", "Helvetica", ___1305, ___1305, 1, ___1305); }
  12. Text(double ___4574, double ___4591, double ___4713, ___516 ___4059, ___516 ___4061, double ___4071, double ___4073, TextBox_e ___4078, TextAnchor_e ___4043, double ___4056, Clipping_e ___4079, ___516 ___4080, double ___4103, double ___4107, std::string ___4109, CoordSys_e ___4115, Scope_e ___4119, Units_e ___4124, std::string ___4126, std::string ___4129, ___372 ___4132, ___372 ___4134, ___1172 ___4138, ___372 ___4105) : tecplot::___3933::Text(___4574, ___4591, ___4713, ___4059, ___4061, ___4071, ___4073, ___4078, ___4043, ___4056, ___4079, ___4080, ___4103, ___4107, ___4109, ___4115, ___4119, ___4124, ___4126, ___4129, ___4132, ___4134, ___4138, ___4105) {}
  13. bool ___2067() { return VALID_ENUM(___2639, CoordSys_e); }
  14. void writeToFile(___3933::FileWriterInterface &outputFile, bool ___4480) const
  15. {
  16. writeScalar(outputFile, ___2628, ___4480);
  17. writeScalar(outputFile, ___2629, ___4480);
  18. writeScalar(outputFile, ___2630, ___4480);
  19. writeScalar(outputFile, ___2631, ___4480);
  20. writeScalar(outputFile, (uint32_t)___2632, ___4480);
  21. writeScalar(outputFile, (uint32_t)___2625, ___4480);
  22. writeScalar(outputFile, ___2626[0], ___4480);
  23. writeScalar(outputFile, ___2626[1], ___4480);
  24. writeScalar(outputFile, ___2626[2], ___4480);
  25. writeScalar(outputFile, ___2627, ___4480);
  26. writeScalar(outputFile, (uint32_t)___2633, ___4480);
  27. writeScalar(outputFile, ___2634, ___4480);
  28. writeScalar(outputFile, ___2635, ___4480);
  29. writeScalar(outputFile, ___2637, ___4480);
  30. ___4544(outputFile, ___2638, ___4480);
  31. writeScalar(outputFile, (uint32_t)___2639, ___4480);
  32. writeScalar(outputFile, (uint32_t)___2641, ___4480);
  33. writeScalar(outputFile, (uint32_t)___2642, ___4480);
  34. ___4544(outputFile, ___2643, ___4480);
  35. ___4544(outputFile, ___2644, ___4480);
  36. writeScalar(outputFile, ___2645, ___4480);
  37. writeScalar(outputFile, ___2646, ___4480);
  38. writeScalar(outputFile, ___2647, ___4480);
  39. writeScalar(outputFile, ___2636, ___4480);
  40. }
  41. uint64_t sizeInFile(bool ___4480) const { return scalarSizeInFile(___2628, ___4480) + scalarSizeInFile(___2629, ___4480) + scalarSizeInFile(___2630, ___4480) + scalarSizeInFile(___2631, ___4480) + scalarSizeInFile((uint32_t)___2632, ___4480) + scalarSizeInFile((uint32_t)___2625, ___4480) + scalarSizeInFile(___2626[0], ___4480) + scalarSizeInFile(___2626[1], ___4480) + scalarSizeInFile(___2626[2], ___4480) + scalarSizeInFile(___2627, ___4480) + scalarSizeInFile((uint32_t)___2633, ___4480) + scalarSizeInFile(___2634, ___4480) + scalarSizeInFile(___2635, ___4480) + scalarSizeInFile(___2637, ___4480) + stringSizeInFile(___2638, ___4480) + scalarSizeInFile((uint32_t)___2639, ___4480) + scalarSizeInFile((uint32_t)___2641, ___4480) + scalarSizeInFile((uint32_t)___2642, ___4480) + stringSizeInFile(___2643, ___4480) + stringSizeInFile(___2644, ___4480) + scalarSizeInFile(___2645, ___4480) + scalarSizeInFile(___2646, ___4480) + scalarSizeInFile(___2647, ___4480) + scalarSizeInFile(___2636, ___4480); }
  42. Text(___3933::___1399 &inputFile, bool readASCII)
  43. {
  44. readScalar(inputFile, ___2628, readASCII);
  45. readScalar(inputFile, ___2629, readASCII);
  46. readScalar(inputFile, ___2630, readASCII);
  47. readScalar(inputFile, ___2631, readASCII);
  48. READ_ENUM(___2632, TextBox_e, inputFile, readASCII);
  49. READ_ENUM(___2625, TextAnchor_e, inputFile, readASCII);
  50. readScalar(inputFile, ___2626[0], readASCII);
  51. readScalar(inputFile, ___2626[1], readASCII);
  52. readScalar(inputFile, ___2626[2], readASCII);
  53. readScalar(inputFile, ___2627, readASCII);
  54. READ_ENUM(___2633, Clipping_e, inputFile, readASCII);
  55. readScalar(inputFile, ___2634, readASCII);
  56. readScalar(inputFile, ___2635, readASCII);
  57. readScalar(inputFile, ___2637, readASCII);
  58. readString(inputFile, ___2638, readASCII);
  59. READ_ENUM(___2639, CoordSys_e, inputFile, readASCII);
  60. READ_ENUM(___2641, Scope_e, inputFile, readASCII);
  61. READ_ENUM(___2642, Units_e, inputFile, readASCII);
  62. readString(inputFile, ___2643, readASCII);
  63. readString(inputFile, ___2644, readASCII);
  64. readScalar(inputFile, ___2645, readASCII);
  65. readScalar(inputFile, ___2646, readASCII);
  66. readScalar(inputFile, ___2647, readASCII);
  67. readScalar(inputFile, ___2636, readASCII);
  68. }
  69. };
  70. }
  71. }