GeometryGym.Ifc.IfcFooting.Parse C# (CSharp) Method

Parse() protected method

protected Parse ( string str, int &pos, int len ) : void
str string
pos int
len int
return void
        protected override void Parse(string str, ref int pos, int len)
        {
            base.Parse(str, ref pos, len);
            string s = ParserSTEP.StripField(str, ref pos, len);
            if (s.StartsWith("."))
                Enum.TryParse<IfcFootingTypeEnum>(s.Replace(".", ""), out mPredefinedType);
        }

Same methods

IfcFooting::Parse ( string str ) : IfcFooting

Usage Example

コード例 #1
0
ファイル: IFC F.cs プロジェクト: jmirtsch/GeometryGymIFC
 internal static IfcFooting Parse(string str)
 {
     IfcFooting f = new IfcFooting(); int pos = 0; f.Parse(str, ref pos, str.Length); return f;
 }