SplitString.h 316 B

12345678910111213141516171819
  1. #ifndef SPLITSTRING_H
  2. #define SPLITSTRING_H
  3. #include "common/utils/String.h"
  4. class SplitString final {
  5. public:
  6. SplitString(const char* str);
  7. uint getLength() const;
  8. const char* operator[](uint index) const;
  9. private:
  10. String data;
  11. uint entries;
  12. u8 starts[String::MAX_LENGTH];
  13. };
  14. #endif