TranslatedString.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef TECPLOT_STRUTIL_TRANSLATEDSTRING
  2. #define TECPLOT_STRUTIL_TRANSLATEDSTRING
  3. #if defined MSWIN
  4. #pragma warning(disable : 4181)
  5. #endif
  6. namespace tecplot
  7. {
  8. class ___4218
  9. {
  10. public:
  11. typedef enum
  12. {
  13. ___1098,
  14. ___1104
  15. } ___2505;
  16. ___4218();
  17. static ___4218 ___2765();
  18. static ___4218 ___4217(char const *str, char const *___4219 = NULL);
  19. static ___4218 ___1097(char const *str);
  20. virtual ~___4218();
  21. virtual bool ___2035() const;
  22. virtual bool ___2036() const;
  23. virtual char const *c_str() const;
  24. #if defined MSWIN && !defined MAKEARCHIVE
  25. virtual wchar_t const *___798() const;
  26. #endif
  27. virtual operator std::string();
  28. #if defined MSWIN && !defined MAKEARCHIVE
  29. virtual operator std::wstring();
  30. #endif
  31. virtual ___4218 &operator=(___4218 const &___2888);
  32. ___4218(___4218 const &___2888);
  33. #if !defined NO_ASSERTS
  34. virtual bool ___2067() const;
  35. #endif
  36. private:
  37. ___4218(___4218::___2505 ___2504, char const *str, char const *___4219);
  38. void ___1932(___4218::___2505 ___2504, char const *str, char const *___4219);
  39. ___4218::___2505 ___2493;
  40. bool ___2487;
  41. std::string ___2623;
  42. mutable std::string *___2666;
  43. #if defined MSWIN
  44. mutable std::wstring *___2675;
  45. #endif
  46. };
  47. inline ___4218 ___4217(char const *str, char const *___4219 = NULL) { return ___4218::___4217(str, ___4219); }
  48. inline ___4218 ___1097(char const *str) { return ___4218::___1097(str); }
  49. inline ___4218 ___1097(std::string const &str) { return ___4218::___1097(str.c_str()); }
  50. }
  51. #endif