FileSystem.h 838 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include "ThirdPartyHeadersBegin.h"
  3. #include <stdio.h>
  4. #include <string>
  5. #include "ThirdPartyHeadersEnd.h"
  6. #include "StandardIntegralTypes.h"
  7. namespace boost
  8. {
  9. namespace filesystem
  10. {
  11. class path;
  12. }
  13. }
  14. namespace tecplot
  15. {
  16. namespace filesystem
  17. {
  18. FILE *fileOpen(std::string const &___1394, std::string const &___2504);
  19. FILE *fileReopen(std::string const &___1394, std::string const &___2504, FILE *file);
  20. int fileRename(std::string const &___1394, std::string const &newFileName);
  21. int fileRemove(std::string const &___1394);
  22. bool fileSize(char const *___1394, uint64_t &sizeResult);
  23. bool fileSize(std::string const &___1394, uint64_t &sizeResult);
  24. #if !defined NO_THIRD_PARTY_LIBS
  25. bool fileExists(boost::filesystem::path const &filePath);
  26. bool dirExists(boost::filesystem::path const &dirPath);
  27. #endif
  28. }
  29. }