Guid class

From Solid Graphics Wiki

Jump to: navigation, search
Guid class
Namespace: SKL
Base type: (None)
Include: SklCommon.h
Lib (Release): SKL.lib
Lib (Debug): SKL_D.lib


The Guid class represents 128-bit long globally unique identifier (GUID).


Constructors

The class provides only constructor with no parameters (which does not initialize the class object to any value), and constructor which takes string as a parameter to initialize the guid with. The string must be in the "registry GUID" format, for example "{FA031315-09D2-3851-A1AF-56930BE48038}".

Fields

The class has no public fields defined.

Methods

Method name Description
Create Creates a new GUID.
Set Sets the Guid object to specified value.
SetToNull Sets the Guid object to null guid value. The null guid value has all bit's of the guid set to zero.
IsNull Returns true if the Guid object is a null guid, otherwise returns false.
ToString Returns the guid in the registry GUID string format.

Operators

= Copies one Guid object to another.
== Returns true if two guids are equal, otherwise returns false.
!= Returns true if two guids are not equal, otherwise returns false.
< Returns true if value of left guid is less than the right guid, otherwise returns false.
> Returns true if value of left guid is greater than the right guid, otherwise returns false.


   


SolidKit Library Documentation

Personal tools