Kaim::KyGuid Class Reference
#include <kyguid.h>
The KyGuid class represents a globally unique ID.
It is used by the NavData generation framework to uniquely identify each sector treated by the Generator.
Kaim::KyGuid::KyGuid |
( |
const char |
guidString[] | ) |
|
|
explicit |
Creates a KyGuid from guidString.
Asserts when guidString is not valid (see IsValidGuidString()).
- Parameters
-
guidString | An array of 37 characters that will make up the GUID. |
Kaim::KyGuid::KyGuid |
( |
const KyGuid & |
rhs | ) |
|
|
inline |
Kaim::KyGuid::KyGuid |
( |
KyUInt8 |
values[16] | ) |
|
|
explicit |
Creates a new KyGuid from the 16 provided KyUInt8 values.
- Parameters
-
values | An array of 16 KyUInt8 objects that will make up the GUID. |
Kaim::KyGuid::KyGuid |
( |
KyUInt16 |
values[8] | ) |
|
|
explicit |
Creates a new KyGuid from the 8 provided KyUInt16 values.
- Parameters
-
values | An array of 8 KyUInt16 objects that will make up the GUID. |
Kaim::KyGuid::KyGuid |
( |
KyUInt32 |
values[4] | ) |
|
|
explicit |
Creates a new KyGuid from the 4 provided KyUInt32 values.
- Parameters
-
values | An array of 4 KyUInt32 objects that will make up the GUID. |
Kaim::KyGuid::KyGuid |
( |
KyUInt64 |
values[2] | ) |
|
|
explicit |
Creates a new KyGuid from the 2 provided KyUInt64 values.
- Parameters
-
values | An array of 2 KyUInt64 objects that will make up the GUID. |
Kaim::KyGuid::KyGuid |
( |
void * |
src | ) |
|
|
explicit |
Creates a new KyGuid, copying the memory from the src buffer to the newly constructed object.
static const KyGuid& Kaim::KyGuid::GetDefaultGuid |
( |
| ) |
|
|
static |
Returns the default KyGuid value.
static const KyGuid& Kaim::KyGuid::GetInvalidGuid |
( |
| ) |
|
|
static |
Returns the invalid KyGuid value.
void Kaim::KyGuid::InitFromString |
( |
const char |
guidString[] | ) |
|
Initializes this GUID using the specified string.
bool Kaim::KyGuid::IsValid |
( |
| ) |
const |
|
inline |
Indicates whether the specified KyGuid is valid.
void Kaim::KyGuid::ToString |
( |
char |
guidString[] | ) |
const |
Converts this GUID to a string.
The documentation for this class was generated from the following file: