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
파일 보기 프로젝트 열기: ArupAus/issue-tracker

공개 메소드들

메소드 설명
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