Robot Raconteur Companion C++ Library
Toggle main menu visibility
Loading...
Searching...
No Matches
include
RobotRaconteurCompanion
Util
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
31
namespace
RobotRaconteur
32
{
33
namespace
Companion
34
{
35
namespace
Util
36
{
45
ROBOTRACONTEUR_COMPANION_UTIL_API com::robotraconteur::uuid::UUID
ParseUuid
(
const
std::string& string_uuid);
46
55
ROBOTRACONTEUR_COMPANION_UTIL_API std::string
UuidToString
(com::robotraconteur::uuid::UUID uuid);
56
65
ROBOTRACONTEUR_COMPANION_UTIL_API com::robotraconteur::uuid::UUID
BoostUuidToUuid
(
const
boost::uuids::uuid& boost_uuid);
66
75
ROBOTRACONTEUR_COMPANION_UTIL_API boost::uuids::uuid
UuidToBoostUuid
(
const
com::robotraconteur::uuid::UUID& uuid);
76
84
ROBOTRACONTEUR_COMPANION_UTIL_API com::robotraconteur::uuid::UUID
NewRandomUuid
();
85
}
// namespace Util
86
}
// namespace Companion
87
}
// namespace RobotRaconteur
RobotRaconteur::Companion::Util::NewRandomUuid
com::robotraconteur::uuid::UUID NewRandomUuid()
Generate a new random UUID.
RobotRaconteur::Companion::Util::UuidToString
std::string UuidToString(com::robotraconteur::uuid::UUID uuid)
RobotRaconteur::Companion::Util::ParseUuid
com::robotraconteur::uuid::UUID ParseUuid(const std::string &string_uuid)
RobotRaconteur::Companion::Util::UuidToBoostUuid
boost::uuids::uuid UuidToBoostUuid(const com::robotraconteur::uuid::UUID &uuid)
RobotRaconteur::Companion::Util::BoostUuidToUuid
com::robotraconteur::uuid::UUID BoostUuidToUuid(const boost::uuids::uuid &boost_uuid)
Generated by
1.17.0