C# Класс ARUP.IssueTracker.Classes.IfcGuid

Conversion methods between an IFC encoded GUID string and a .NET GUID. This is a translation of the C code found here: http://www.iai-tech.org/ifc/IFC2x3/TC1/html/index.htm
Показать файл Открыть проект

Открытые методы

Метод Описание
FromIfcGUID ( string guid ) : System.Guid

Reconstruction of the GUID from an IFC GUID string (base64)

ToIfcGuid ( System.Guid guid ) : string

Conversion of a GUID to a string representing the GUID

Приватные методы

Метод Описание
cv_from_64 ( char str, int start, int len ) : uint

The reverse function to calculate the number from the characters

cv_to_64 ( uint number, char &result, int start, int len ) : void

Conversion of an integer into characters with base 64 using the table base64Chars

Описание методов

FromIfcGUID() публичный статический Метод

Reconstruction of the GUID from an IFC GUID string (base64)
public static FromIfcGUID ( string guid ) : System.Guid
guid string The GUID string to convert. Must be 22 characters long
Результат System.Guid

ToIfcGuid() публичный статический Метод

Conversion of a GUID to a string representing the GUID
public static ToIfcGuid ( System.Guid guid ) : string
guid System.Guid The GUID to convert
Результат string