IOLink C# 1.16.1
Loading...
Searching...
No Matches
IOLink.UidGenerator Class Reference

A collection of fonctions and constant useful for managing unique identifiers. More...

Inheritance diagram for IOLink.UidGenerator:

Public Member Functions

 UidGenerator (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (UidGenerator obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (UidGenerator obj)
 
static ulong Generate ()
 Generate a random unique identifier.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

static ulong UNDEFINED_UID [get]
 Special UID that describes undefined ones.
 

Detailed Description

A collection of fonctions and constant useful for managing unique identifiers.

Member Function Documentation

◆ Generate()

static ulong IOLink.UidGenerator.Generate ( )
inlinestatic

Generate a random unique identifier.

This function will never return a value equal to UNDEFINED_UID.

Property Documentation

◆ UNDEFINED_UID

ulong IOLink.UidGenerator.UNDEFINED_UID
staticget

Special UID that describes undefined ones.

An undefined identifier being one that cannot be identified as unique, it can be used to describe a non-existing or invalid object.


The documentation for this class was generated from the following file: