4#ifndef TRAM_SDK_FRAMEWORK_UID_H
5#define TRAM_SDK_FRAMEWORK_UID_H
13 UID(
const UID& value) { *
this = value; }
16 UID(
const std::string& value);
17 UID(
const char* value);
29 return key ==
UID(other).key;
32 explicit operator bool() {
return key; }
34 operator std::string()
const;
35 operator char const*()
const;
UID name_t
Definition: uid.h:40
bool operator==(const UID &other) const
Definition: uid.h:24
bool operator==(const char *other) const
Definition: uid.h:28
~UID()
Definition: uid.h:14
UID(const UID &value)
Definition: uid.h:13
uint32_t key
Definition: uid.h:37
UID()
Definition: uid.h:12
UID & operator=(const UID &value)
Definition: uid.h:19