Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Znav
nextThe C++ Handle Template
prevThe C++ Exception Class

Universally-unique identifiers (UUIDs) are often used in the identities of Ice objects. The C++ standard does not include a function for generating UUIDs, therefore Ice provides the IceUtil::generateUUID function for use in portable applications. The signature of generateUUID is:

Wiki Markup
{zcode:cpp}
std::string generateUUID();
{zcode}

The function returns a string like the following:

Wiki Markup
{zcode}
02b066f5-c762-431c-8dd3-9b1941355e41
{zcode}

Each invocation returns a new identifier that differs from all previous ones.

Ztop
See Also
Zret
Znav
nextThe C++ Handle Template
prevThe C++ Exception Class