FilePathSeparator.hpp 728 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-15
  6. * Changed: 2024-09-09
  7. *
  8. * */
  9. #ifndef LS_STD_FILE_PATH_SEPARATOR_HPP
  10. #define LS_STD_FILE_PATH_SEPARATOR_HPP
  11. #include <ls-std/os/dynamic-goal.hpp>
  12. #include <string>
  13. /*
  14. * @doc: class(name: 'FilePathSeparator', package: 'io')
  15. * */
  16. namespace ls::std::io
  17. {
  18. class LS_STD_DYNAMIC_GOAL FilePathSeparator
  19. {
  20. public:
  21. FilePathSeparator();
  22. ~FilePathSeparator();
  23. [[nodiscard]] static char get();
  24. [[nodiscard]] static char getUnixFilePathSeparator();
  25. [[nodiscard]] static char getWindowsFilePathSeparator();
  26. };
  27. }
  28. #endif