StringUtils.pkg 857 B

1234567891011121314151617181920212223242526
  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. Matrix3 ToMatrix3(const String source);
  15. Matrix3x4 ToMatrix3x4(const String source);
  16. Matrix4 ToMatrix4(const String source);
  17. String ToString(void* value);
  18. String ToStringHex(unsigned value);
  19. bool IsAlpha(unsigned ch);
  20. bool IsDigit(unsigned ch);
  21. unsigned ToUpper(unsigned ch);
  22. unsigned ToLower(unsigned ch);