Lines Matching full:uuid
28 class UUID {
38 // Creates and returns a random 128-bit UUID.
39 static UUID GetRandom();
41 // Creates and returns a UUID in which all 128 bits are equal to 0.
42 static UUID GetNil();
44 // Creates and returns a UUID in which all 128 bits are equal to 1.
45 static UUID GetMax();
47 // Construct a Bluetooth 'base' UUID.
48 UUID();
51 explicit UUID(const bt_uuid_t& uuid);
54 explicit UUID(std::string uuid);
57 explicit UUID(const UUID16Bit& uuid);
58 explicit UUID(const UUID32Bit& uuid);
59 explicit UUID(const UUID128Bit& uuid);
70 // Returns a string representation for the UUID.
73 // Returns whether or not this UUID was initialized correctly.
76 // Returns the shortest possible representation of this UUID in bytes.
79 bool operator<(const UUID& rhs) const;
80 bool operator==(const UUID& rhs) const;
81 inline bool operator!=(const UUID& rhs) const {
91 // True if this UUID was initialized with a correct representation.
97 // Custom std::hash specialization so that bluetooth::UUID can be used as a key
102 struct hash<bluetooth::UUID> {
103 std::size_t operator()(const bluetooth::UUID& key) const {