Go to the documentation of this file.
18 #ifndef GZ_TRANSPORT_UUID_HH_
19 #define GZ_TRANSPORT_UUID_HH_
24 #include "gz/transport/config.hh"
25 #include "gz/transport/Export.hh"
29 #pragma comment(lib, "Rpcrt4.lib")
32 #include <uuid/uuid.h>
41 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
45 class IGNITION_TRANSPORT_VISIBLE
Uuid
51 public:
virtual ~
Uuid();
61 const gz::transport::Uuid &_uuid)
63 _out << _uuid.ToString();
73 private:
static const int UuidStrLen = 37;
Definition: gz/transport/AdvertiseOptions.hh:28
A portable class for representing a Universally Unique Identifier.
Definition: gz/transport/Uuid.hh:45
uuid_t portable_uuid_t
Definition: gz/transport/Uuid.hh:33
virtual ~Uuid()
Destructor.
friend std::ostream & operator<<(std::ostream &_out, const Uuid &_uuid)
Stream insertion operator.
Definition: gz/transport/Uuid.hh:60
std::string ToString() const
Return the string representation of the Uuid.