2
0

BsUUID.h 620 B

1234567891011121314151617181920212223242526
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsCorePrerequisites.h"
  5. namespace bs
  6. {
  7. /** @addtogroup Utility-Core
  8. * @{
  9. */
  10. /**
  11. * Utility class for generating universally unique identifiers.
  12. *
  13. * @note Thread safe.
  14. */
  15. class BS_CORE_EXPORT UUIDGenerator
  16. {
  17. public:
  18. /** Generate a new random universally unique identifier. */
  19. static String generateRandom();
  20. };
  21. /** @} */
  22. }