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>
39 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
43 class IGNITION_TRANSPORT_VISIBLE
Uuid
49 public:
virtual ~
Uuid();
59 const gz::transport::Uuid &_uuid)
61 _out << _uuid.ToString();
71 private:
static const int UuidStrLen = 37;
A portable class for representing a Universally Unique Identifier.
Definition: gz/transport/Uuid.hh:43
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:58
Definition: gz/transport/AdvertiseOptions.hh:28
std::string ToString() const
Return the string representation of the Uuid.