Robot Raconteur Companion C++ Library
Loading...
Searching...
No Matches
UuidUtil.h
Go to the documentation of this file.
1
23
24#include "com__robotraconteur__uuid.h"
25#include <boost/uuid/uuid.hpp>
26#include <boost/uuid/uuid_io.hpp>
27#include "UtilMacros.h"
28
29#pragma once
30
31namespace RobotRaconteur
32{
33namespace Companion
34{
35namespace Util
36{
45ROBOTRACONTEUR_COMPANION_UTIL_API com::robotraconteur::uuid::UUID ParseUuid(const std::string& string_uuid);
46
55ROBOTRACONTEUR_COMPANION_UTIL_API std::string UuidToString(com::robotraconteur::uuid::UUID uuid);
56
65ROBOTRACONTEUR_COMPANION_UTIL_API com::robotraconteur::uuid::UUID BoostUuidToUuid(const boost::uuids::uuid& boost_uuid);
66
75ROBOTRACONTEUR_COMPANION_UTIL_API boost::uuids::uuid UuidToBoostUuid(const com::robotraconteur::uuid::UUID& uuid);
76
84ROBOTRACONTEUR_COMPANION_UTIL_API com::robotraconteur::uuid::UUID NewRandomUuid();
85} // namespace Util
86} // namespace Companion
87} // namespace RobotRaconteur
com::robotraconteur::uuid::UUID NewRandomUuid()
Generate a new random UUID.
std::string UuidToString(com::robotraconteur::uuid::UUID uuid)
com::robotraconteur::uuid::UUID ParseUuid(const std::string &string_uuid)
boost::uuids::uuid UuidToBoostUuid(const com::robotraconteur::uuid::UUID &uuid)
com::robotraconteur::uuid::UUID BoostUuidToUuid(const boost::uuids::uuid &boost_uuid)