Contents
Navigation
Home User Reference Other Resources


This class allows to create universal unique identifiers.

Since version 6.7 of the plugin this class can be used in Console Applications






The QTPlgUUID class constructors are called when you create a new instance of the class, while the ˜QTPlgUUID class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used.

The class provides you with the following initializer methods:
()
This is the default constructor. Use it to generate a new 128–bit universal unique ID number
(other as QTPlgUUID)
This is the copy constructor. The uuid of the object to be copied will be used to initialize the new class instance uuid

the string equivalent of the universal unique id number. The resulting string will be formatted according to the value of the class property. The
specifies the string that will be used to group the numbers belonging to the universal unique id number
You can set this property only by using one of the constant values defined in the section

(uuid as QTPlgUUID) as boolean
use this method to compare two 128–bit ID numbers.
returns true if the two numbers are equal, false otherwise. You can check the class property for errors


actually is the same as kFormat_Decimal
the universal unique id number is formatted as a string constituted by a sequence of decimal numbers
the universal unique id number is formatted as a string constituted by a sequence of hexadecimal numbers