qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches

Universally Unique Identifier (UUID) support. More...

#include <uuid/include/uuid.h>
Include dependency graph for uuid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using qb::uuid = ::uuids::uuid
 UUID type alias for the underlying implementation.

Functions

uuid qb::generate_random_uuid ()
 Generates a random (version 4) UUID.

Detailed Description

Universally Unique Identifier (UUID) support.

This file provides a wrapper around the third-party UUID library, offering type aliases and utility functions for generating and manipulating UUIDs (RFC 4122). UUIDs are 128-bit identifiers designed to be unique across space and time, suitable for distributed systems without central coordination.

Author
qb - C++ Actor Framework

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ uuid

using qb::uuid = ::uuids::uuid

UUID type alias for the underlying implementation.

This type represents a 128-bit universally unique identifier as defined in RFC 4122. The implementation is provided by the third-party uuids library.

Function Documentation

◆ generate_random_uuid()

uuid qb::generate_random_uuid ( )

Generates a random (version 4) UUID.

Creates a new randomly generated UUID using a high-quality random number generator. This function produces UUIDs that are suitable for most distributed applications where uniqueness is required without central coordination.

Returns
A new randomly generated UUID