Overview | Namespace | Class | Index | Help |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Note: lexical ordering is not temporal ordering!
Note: For equalnesschecking, a memcmp(pUUID1,pUUID2,16) is more efficient
sal_uInt8 * | pTargetUUID, |
const sal_uInt8 * | pNameSpaceUUID, |
const rtl_String * | pName ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
The version 3 UUID is meant for generating UUIDs from names that are drawn from, and unique within, some name space. Some examples of names (and, implicitly, name spaces) might be DNS names, URLs, ISO Object IDs (OIDs), reserved words in a programming language, or X.500 Distinguished Names (DNs); thus, the concept of name and name space should be broadly construed, and not limited to textual names.
The requirements for such UUIDs are as follows:
pTargetUUID | pointer to at least 16 bytes of memory. After the call it contains the newly generated uuid in network byte order. |
pNameSpaceUUID | The namespace uuid. Below are some predefined ones, but any arbitray uuid can be used as namespace. |
pName | the name |
sal_uInt8 * | pTargetUUID, |
const sal_uInt8 * | pPredecessorUUID, |
sal_Bool | bUseEthernetAddress ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
pTargetUUID | pointer to at least 16 bytes of memory. After the call it contains the newly generated uuid in network byte order. |
pPredecessorUUID | ignored (was used when this function returned Version 1 instead of Version 4 UUIDs). |
bUseEthernetAddress | ignored (was used when this function returned Version 1 instead of Version 4 UUIDs). |
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.