17#if !defined(OPENNURBS_UUID_INC_)
18#define OPENNURBS_UUID_INC_
21#if defined(UUID_DEFINED)
23#elif defined(GUID_DEFINED)
27#define ON_UUID_DECLARED_AS_CLASS
37 unsigned char Data4[8];
49extern ON_EXTERN_DECL
const ON_UUID ON_nil_uuid;
53extern ON_EXTERN_DECL
const ON_UUID ON_max_uuid;
63extern ON_EXTERN_DECL
const ON_UUID ON_rhino2_id;
64extern ON_EXTERN_DECL
const ON_UUID ON_rhino3_id;
65extern ON_EXTERN_DECL
const ON_UUID ON_rhino4_id;
66extern ON_EXTERN_DECL
const ON_UUID ON_rhino5_id;
67extern ON_EXTERN_DECL
const ON_UUID ON_rhino_id;
71extern ON_EXTERN_DECL
const ON_UUID ON_v2_userdata_id;
72extern ON_EXTERN_DECL
const ON_UUID ON_v3_userdata_id;
73extern ON_EXTERN_DECL
const ON_UUID ON_v4_userdata_id;
87extern ON_EXTERN_DECL
const ON_UUID ON_opennurbs4_id;
88extern ON_EXTERN_DECL
const ON_UUID ON_opennurbs5_id;
89extern ON_EXTERN_DECL
const ON_UUID ON_opennurbs_id;
93#if defined(ON_CPLUSPLUS)
106bool ON_CreateUuid(
ON_UUID& uuid );
114class ON_CLASS ON_UuidIndex
123 int CompareIdAndIndex(
const ON_UuidIndex* a,
const ON_UuidIndex* b );
129 int CompareIndexAndId(
const ON_UuidIndex* a,
const ON_UuidIndex* b );
135 int CompareId(
const ON_UuidIndex* a,
const ON_UuidIndex* b );
141 int CompareIndex(
const ON_UuidIndex* a,
const ON_UuidIndex* b );
229ON_UUID ON_UuidFromString(
const char* s );
246ON_UUID ON_UuidFromString(
const wchar_t* s );
261char* ON_UuidToString(
const ON_UUID& uuid,
char* s );
277wchar_t* ON_UuidToString(
const ON_UUID& uuid,
wchar_t* s );
bool operator==(const ON_UUID &other) const
bool operator!=(const ON_UUID &other) const