GeometryGym.Ifc.IfcAnnotationFillAreaOccurrence.Parse C# (CSharp) Méthode

Parse() protected méthode

protected Parse ( string str, int &pos, int len ) : void
str string
pos int
len int
Résultat void
		protected override void Parse(string str, ref int pos, int len)
		{
			base.Parse(str, ref pos, len);
			mFillStyleTarget = ParserSTEP.StripLink(str, ref pos, len);
			string s = ParserSTEP.StripField(str, ref pos, len);
			if(s != "$")
				mGlobalOrLocal = (IfcGlobalOrLocalEnum)Enum.Parse(typeof(IfcGlobalOrLocalEnum),s.Replace(".","")); 
		}
		protected override string BuildStringSTEP() { return base.BuildStringSTEP() +"," + ParserSTEP.LinkToString(mFillStyleTarget) + ",." + mGlobalOrLocal.ToString() + "."; }

Same methods

IfcAnnotationFillAreaOccurrence::Parse ( string str ) : IfcAnnotationFillAreaOccurrence

Usage Example

Exemple #1
0
		internal new static IfcAnnotationFillAreaOccurrence Parse(string str) { IfcAnnotationFillAreaOccurrence a = new IfcAnnotationFillAreaOccurrence(); int pos = 0; a.Parse(str, ref pos, str.Length); return a; }