IEncoding.hpp 632 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-01-03
  6. * Changed: 2022-05-19
  7. *
  8. * */
  9. #ifndef LS_STD_I_ENCODING_HPP
  10. #define LS_STD_I_ENCODING_HPP
  11. #include <string>
  12. namespace ls
  13. {
  14. namespace std
  15. {
  16. namespace core
  17. {
  18. namespace interface_type
  19. {
  20. class IEncoding
  21. {
  22. public:
  23. virtual ::std::string encode(const ::std::string &_sequence) = 0;
  24. virtual ::std::string decode(const ::std::string &_sequence) = 0;
  25. };
  26. }
  27. }
  28. }
  29. }
  30. #endif