internal void Init(object value) { _entityVal = value; _ifcParserType = IfcParserType.Entity; }
internal void Init(long value, IfcParserType ifcParserType) { _long = value; _parserType = ifcParserType; }
internal void Init(string value, IfcParserType type) { _strVal = value; _ifcParserType = type; }
private bool IsPrimitiveType(string elementName, out IfcParserType basicType) { return primitives.TryGetValue(elementName, out basicType); //we have a primitive type }
internal void Init(IPersistIfc iPersistIfc) { _object = iPersistIfc; _parserType = IfcParserType.Entity; }
public XmlBasicType(XmlNode parent, IfcParserType type) : base(parent) { Type = type; }
public void SetValue(string val, IfcParserType parserType) { if (parserType == IfcParserType.Boolean && string.Compare(val, "unknown", true) == 0) //do nothing with IfcLogicals that are undefined return; PropertyValue propVal = new PropertyValue(); propVal.Init(val, parserType); ((XmlEntity)Parent).Entity.IfcParse(PropertyIndex - 1, propVal); }
internal void Init(double value, IfcParserType ifcParserType) { _double = value; _parserType = ifcParserType; }
internal void Init(bool value, IfcParserType ifcParserType) { _bool = value; _parserType = ifcParserType; }
internal void Init(string value, IfcParserType ifcParserType) { _string = value; _parserType = ifcParserType; }