StringUtils.pkg 1.0 KB

1234567891011121314151617181920212223242526272829
  1. $#include "Core/StringUtils.h"
  2. bool ToBool(const String source);
  3. float ToFloat(const String source);
  4. int ToInt(const String source, int base = 10);
  5. unsigned ToUInt(const String source, int base = 10);
  6. long long int ToInt64(const String source, int base = 10);
  7. unsigned long long int ToUInt64(const String source, int base = 10);
  8. Color ToColor(const String source);
  9. IntRect ToIntRect(const String source);
  10. IntVector2 ToIntVector2(const String source);
  11. IntVector3 ToIntVector3(const String source);
  12. Quaternion ToQuaternion(const String source);
  13. Rect ToRect(const String source);
  14. Vector2 ToVector2(const String source);
  15. Vector3 ToVector3(const String source);
  16. Vector4 ToVector4(const String source, bool allowMissingCoords = false);
  17. Matrix3 ToMatrix3(const String source);
  18. Matrix3x4 ToMatrix3x4(const String source);
  19. Matrix4 ToMatrix4(const String source);
  20. String ToString(void* value);
  21. String ToStringHex(unsigned value);
  22. bool IsAlpha(unsigned ch);
  23. bool IsDigit(unsigned ch);
  24. unsigned ToUpper(unsigned ch);
  25. unsigned ToLower(unsigned ch);