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);
mPosition = ParserSTEP.StripLink(str, ref pos, len);
mColourAppearance = ParserSTEP.StripLink(str, ref pos, len);
mColourTemperature = ParserSTEP.StripDouble(str, ref pos, len);
mLuminousFlux = ParserSTEP.StripDouble(str, ref pos, len);
mLightEmissionSource = (IfcLightEmissionSourceEnum)Enum.Parse(typeof(IfcLightEmissionSourceEnum), ParserSTEP.StripField(str, ref pos, len).Replace(".", ""));
mLightDistributionDataSource = ParserSTEP.StripLink(str, ref pos, len);
}
IfcLightSourceGoniometric::Parse ( string str ) : |
//internal IfcLightSourceGoniometric(DatabaseIfc db, IfcLightSourceGoniometric el) // : base(el) //{ // mPosition = el.mPosition; // mColourAppearance = el.mColourAppearance; // mColourTemperature = el.mColourTemperature; // mLuminousFlux = el.mLuminousFlux; // mLightEmissionSource = el.mLightEmissionSource; // mLightDistributionDataSource = el.mLightDistributionDataSource; //} internal static IfcLightSourceGoniometric Parse(string str) { IfcLightSourceGoniometric l = new IfcLightSourceGoniometric(); int pos = 0; l.Parse(str, ref pos, str.Length); return(l); }