C4DUuid Class Reference

#include <c4d_uuid.h>

Inheritance diagram for C4DUuid:

Detailed Description

Deprecated. Use maxon::Uuid.

Public Member Functions

 C4DUuid ()
 
 C4DUuid (_DONTCONSTRUCT n)
 
 C4DUuid (_EMPTYCONSTRUCT n)
 
UInt32 GetHashCodeDeprecated () const
 
void Reset (Bool clear)
 
String GetString () const
 
Bool IsPopulated () const
 
void CopyTo (UChar *buf) const
 
maxon::Result< void > CopyFrom (UChar *buf)
 
maxon::Result< void > CopyFrom (const maxon::String &uuid)
 
void CopyTo (const C4DUuid &dst) const
 
Bool operator== (const C4DUuid &k) const
 
Bool operator!= (const C4DUuid &k) const
 
- Public Member Functions inherited from Uuid
 MAXON_DEFAULT_REFERENCE_CONSTRUCTORS (Uuid, Reference)
 
MAXON_IMPLICIT Uuid (const String &uuid)
 
 Uuid (const UChar *uuid, Int uuidSize)
 

Constructor & Destructor Documentation

◆ C4DUuid() [1/3]

C4DUuid ( )

Default constructor. Deprecated. Use maxon::Uuid::CreateId().

◆ C4DUuid() [2/3]

C4DUuid ( _DONTCONSTRUCT  n)
explicit

Creates an uninitialized uuid.

Parameters
[in]nDummy argument. Pass DC.

◆ C4DUuid() [3/3]

C4DUuid ( _EMPTYCONSTRUCT  n)
explicit

Creates an empty uuid.

Parameters
[in]nDummy argument. Pass EC.

Member Function Documentation

◆ GetHashCodeDeprecated()

UInt32 GetHashCodeDeprecated ( ) const

Gets the hash code for the uuid. Deprecated. Use maxon::Uuid::GetHashCode().

Note
This method returns a UInt32 and calculates a different value than maxon::Uuid::GetHashCode().
Returns
The uuid's hash code.

◆ Reset()

void Reset ( Bool  clear)

Resets the uuid. Deprecated. Use maxon::Uuid::CreateId() or Set().

Parameters
[in]cleartrue if true, otherwise false. to clear the uuid or true if false, otherwise false. to reinitialize it.

◆ GetString()

String GetString ( ) const

Gets the string for the uuid. Deprecated. Use maxon::Uuid::ToString().

Returns
The uuid's string.

◆ IsPopulated()

Bool IsPopulated ( ) const

Checks if the uuid has content.

Returns
true if the uuid has content, otherwise false.

◆ CopyTo() [1/2]

void CopyTo ( UChar buf) const

Copies the uuid to a UChar buffer. Deprecated. Use maxon::Uuid::Get().

Parameters
[in]bufThe destination buffer.

◆ CopyFrom() [1/2]

maxon::Result<void> CopyFrom ( UChar buf)

Copies the uuid from a UChar buffer. Deprecated. Use maxon::Uuid::Set().

Parameters
[in]bufThe source buffer.
Returns
OK on success.

◆ CopyFrom() [2/2]

maxon::Result<void> CopyFrom ( const maxon::String uuid)

Copies the uuid from a string. Deprecated. Use maxon::Uuid::Set().

Parameters
[in]uuidThe source string.
Returns
OK on success.

◆ CopyTo() [2/2]

void CopyTo ( const C4DUuid dst) const

Copies the uuid to another uuid. Deprecated. Use maxon::Uuid::Set().

Parameters
[in]dstThe destination uuid.

◆ operator==()

Bool operator== ( const C4DUuid k) const

Equality operator. Checks if the uuids are equal. Deprecated. Use maxon::Uuid::Compare().

Parameters
[in]kA uuid to compare with.
Returns
true if the uuids are equal, otherwise false.

◆ operator!=()

Bool operator!= ( const C4DUuid k) const

Inequality operator. Checks if the uuids are different. Deprecated. Use maxon::Uuid::Compare().

Parameters
[in]kA uuid to compare with.
Returns
true if the uuids are different, otherwise false.