StringUtils.pkg 666 B

123456789101112131415161718192021
  1. $#include "StringUtils.h"
  2. bool ToBool(const String source);
  3. float ToFloat(const String source);
  4. int ToInt(const String source);
  5. unsigned ToUInt(const String source);
  6. Color ToColor(const String source);
  7. IntRect ToIntRect(const String source);
  8. IntVector2 ToIntVector2(const String source);
  9. Quaternion ToQuaternion(const String source);
  10. Rect ToRect(const String source);
  11. Vector2 ToVector2(const String source);
  12. Vector3 ToVector3(const String source);
  13. Vector4 ToVector4(const String source, bool allowMissingCoords = false);
  14. String ToString(void* value);
  15. String ToStringHex(unsigned value);
  16. bool IsAlpha(unsigned ch);
  17. bool IsDigit(unsigned ch);