Пример #1
0
 internal void Init(object value)
 {
     _entityVal = value;
     _ifcParserType = IfcParserType.Entity;
 }
Пример #2
0
 internal void Init(long value, IfcParserType ifcParserType)
 {
     _long       = value;
     _parserType = ifcParserType;
 }
Пример #3
0
 internal void Init(string value, IfcParserType type)
 {
     _strVal = value;
     _ifcParserType = type;
 }
Пример #4
0
        private bool IsPrimitiveType(string elementName, out IfcParserType basicType)
        {
            return primitives.TryGetValue(elementName, out basicType); //we have a primitive type

        }
Пример #5
0
 internal void Init(IPersistIfc iPersistIfc)
 {
     _object     = iPersistIfc;
     _parserType = IfcParserType.Entity;
 }
Пример #6
0
 public XmlBasicType(XmlNode parent, IfcParserType type)
     : base(parent)
 {
     Type = type;
 }
Пример #7
0
 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);
 }
Пример #8
0
 internal void Init(double value, IfcParserType ifcParserType)
 {
     _double = value;
     _parserType = ifcParserType;
 }
Пример #9
0
 internal void Init(bool value, IfcParserType ifcParserType)
 {
     _bool = value;
     _parserType = ifcParserType;
 }
Пример #10
0
 internal void Init(string value, IfcParserType ifcParserType)
 {
     _string = value;
     _parserType = ifcParserType;
 }
Пример #11
0
 internal void Init(long value, IfcParserType ifcParserType)
 {
     _long = value;
     _parserType = ifcParserType;
 }
Пример #12
0
 internal void Init(IPersistIfc iPersistIfc)
 {
     _object = iPersistIfc;
     _parserType = IfcParserType.Entity;
 }
Пример #13
0
 internal void Init(object value)
 {
     _entityVal     = value;
     _ifcParserType = IfcParserType.Entity;
 }
Пример #14
0
 internal void Init(string value, IfcParserType type)
 {
     _strVal        = value;
     _ifcParserType = type;
 }