protected Parse ( string str, int &pos, int len, ReleaseVersion schema ) : void | ||
str | string | |
pos | int | |
len | int | |
schema | ReleaseVersion | |
return | void |
protected void Parse(string str, ref int pos, int len, ReleaseVersion schema)
{
base.Parse(str, ref pos, len);
mOverallHeight = ParserSTEP.StripDouble(str, ref pos, len);
mOverallWidth = ParserSTEP.StripDouble(str, ref pos, len);
if (schema != ReleaseVersion.IFC2x3)
{
string s = ParserSTEP.StripField(str, ref pos, len);
if (s.StartsWith("."))
mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
s = ParserSTEP.StripField(str, ref pos, len);
if (s.StartsWith("."))
mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
mUserDefinedPartitioningType = ParserSTEP.StripString(str, ref pos, len);
}
}
IfcWindow::Parse ( string str, ReleaseVersion schema ) : |
internal static IfcWindow Parse(string str, ReleaseVersion schema) { IfcWindow w = new IfcWindow(); int pos = 0; w.Parse(str, ref pos, str.Length, schema); return(w); }