C# Class GeometryGym.Ifc.ParserIfc

Afficher le fichier Open project: jmirtsch/GeometryGymIFC Class Usage Examples

Private Properties

Свойство Type Description
GetKeyWord void
LineParser BaseClassIfc
ParseLine BaseClassIfc
TryGetDouble bool
cv_from_64 uint
cv_to_64 void
extractDerivedMeasureValue IfcDerivedMeasureValue
extractMeasureValue IfcMeasureValue
extractSimpleValue IfcSimpleValue
extractValue IfcValue
parseColour IfcColour
parseColourOrFactor IfcColourOrFactor
parseDerivedMeasureValue IfcDerivedMeasureValue
parseMeasureValue IfcMeasureValue
parseSimpleValue IfcSimpleValue
parseValue IfcValue

Méthodes publiques

Méthode Description
Decode ( string str ) : string
DecodeGlobalID ( string guid ) : System.Guid

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

Encode ( string str ) : string
EncodeGuid ( System.Guid guid ) : string

Conversion of a GUID to a string representing the GUID

LogicalToString ( IfcLogicalEnum l ) : string
ParseIFCLogical ( string str ) : IfcLogicalEnum
StripLogical ( string s, int &pos, int len ) : IfcLogicalEnum

Private Methods

Méthode Description
GetKeyWord ( string line, int &ifcID, string &keyword, string &def ) : void
LineParser ( string keyword, string str, ReleaseVersion schema ) : BaseClassIfc
ParseLine ( string line, ReleaseVersion schema ) : BaseClassIfc
TryGetDouble ( IfcValue v, double &val ) : bool
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

extractDerivedMeasureValue ( Type type, string value ) : IfcDerivedMeasureValue
extractMeasureValue ( Type type, string value ) : IfcMeasureValue
extractSimpleValue ( Type type, string value ) : IfcSimpleValue
extractValue ( string keyword, string value ) : IfcValue
parseColour ( string str ) : IfcColour
parseColourOrFactor ( string str ) : IfcColourOrFactor
parseDerivedMeasureValue ( string str ) : IfcDerivedMeasureValue
parseMeasureValue ( string str ) : IfcMeasureValue
parseSimpleValue ( string str ) : IfcSimpleValue
parseValue ( string str ) : IfcValue

Method Details

Decode() public static méthode

public static Decode ( string str ) : string
str string
Résultat string

DecodeGlobalID() public static méthode

Reconstruction of the GUID from an IFC GUID string (base64)
public static DecodeGlobalID ( string guid ) : System.Guid
guid string The GUID string to convert. Must be 22 characters int
Résultat System.Guid

Encode() public static méthode

public static Encode ( string str ) : string
str string
Résultat string

EncodeGuid() public static méthode

Conversion of a GUID to a string representing the GUID
public static EncodeGuid ( System.Guid guid ) : string
guid System.Guid The GUID to convert
Résultat string

LogicalToString() public static méthode

public static LogicalToString ( IfcLogicalEnum l ) : string
l IfcLogicalEnum
Résultat string

ParseIFCLogical() public static méthode

public static ParseIFCLogical ( string str ) : IfcLogicalEnum
str string
Résultat IfcLogicalEnum

StripLogical() public static méthode

public static StripLogical ( string s, int &pos, int len ) : IfcLogicalEnum
s string
pos int
len int
Résultat IfcLogicalEnum