#include <c4d_uuid.h>
详细描述
Deprecated
。使用
maxon::Uuid
.
构造函数 & 析构函数文档编制
◆
C4DUuid()
[1/4]
Default constructor.
Deprecated
. Use maxon::Uuid::CreateId().
◆
C4DUuid()
[2/4]
Creates an uninitialized uuid.
-
参数
-
[in]
|
n
|
Dummy argument. Pass
DC
.
|
◆
C4DUuid()
[3/4]
Creates an empty uuid.
-
参数
-
[in]
|
n
|
Dummy argument. Pass
EC
.
|
◆
C4DUuid()
[4/4]
Copy constructor.
-
参数
-
成员函数文档编制
◆
GetHashCodeDeprecated()
UInt32
GetHashCodeDeprecated
|
(
|
|
)
|
const
|
Gets the hash code for the uuid.
Deprecated
. Use maxon::Uuid::GetHashCode().
-
注意
-
This method returns a UInt32 and calculates a different value than maxon::Uuid::GetHashCode().
-
返回
-
The uuid's hash code.
◆
Reset()
void Reset
|
(
|
Bool
|
clear
|
)
|
|
Resets the uuid.
Deprecated
. Use maxon::Uuid::CreateId() or Set().
-
参数
-
[in]
|
clear
|
true
if true, otherwise
false
. to clear the uuid or
true
if false, otherwise
false
. to reinitialize it.
|
◆
GetString()
Gets the string for the uuid.
Deprecated
. Use maxon::Uuid::ToString().
-
返回
-
The uuid's string.
◆
IsPopulated()
Bool
IsPopulated
|
(
|
|
)
|
const
|
Checks if the uuid has content.
-
返回
-
true
if the uuid has content, otherwise
false
.
◆
CopyTo()
[1/2]
void CopyTo
|
(
|
UChar
*
|
buf
|
)
|
const
|
Copies the uuid to a
UChar
buffer.
Deprecated
。使用
maxon::Uuid::Get()
.
-
参数
-
[in]
|
buf
|
The destination buffer.
|
◆
CopyFrom()
[1/2]
Copies the uuid from a
UChar
buffer.
Deprecated
. Use maxon::Uuid::Set().
-
参数
-
[in]
|
buf
|
The source buffer.
|
-
返回
-
OK on success.
◆
CopyFrom()
[2/2]
Copies the uuid from a string.
Deprecated
. Use maxon::Uuid::Set().
-
参数
-
[in]
|
uuid
|
The source string.
|
-
返回
-
OK on success.
◆
CopyTo()
[2/2]
void CopyTo
|
(
|
const
C4DUuid
&
|
dst
|
)
|
const
|
Copies the uuid to another uuid.
Deprecated
. Use maxon::Uuid::Set().
-
参数
-
[in]
|
dst
|
The destination uuid.
|
◆
operator==()
Equality operator. Checks if the uuids are equal.
Deprecated
。使用
maxon::Uuid::Compare()
.
-
参数
-
[in]
|
k
|
A uuid to compare with.
|
-
返回
-
true
if the uuids are equal, otherwise
false
.
◆
operator!=()
Inequality operator. Checks if the uuids are different.
Deprecated
。使用
maxon::Uuid::Compare()
.
-
参数
-
[in]
|
k
|
A uuid to compare with.
|
-
返回
-
true
if the uuids are different, otherwise
false
.