Search Results for

    Show / Hide Table of Contents

    Class XbimXmlReader4

    Inheritance
    System.Object
    XbimXmlReader4
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.IO.Xml
    Assembly: Xbim.IO.MemoryModel.dll
    Syntax
    public class XbimXmlReader4

    Constructors

    | Improve this Doc View Source

    XbimXmlReader4(GetOrCreateEntity, FinishEntity, ExpressMetaData, ILogger)

    Constructor of the reader for IFC2x3 XML. XSD is different for different versions of IFC and there is a major difference between IFC2x3 and IFC4 to there are two different classes to deal with this.

    Declaration
    public XbimXmlReader4(GetOrCreateEntity getOrCreate, FinishEntity finish, ExpressMetaData metadata, ILogger logger)
    Parameters
    Type Name Description
    GetOrCreateEntity getOrCreate

    Delegate which will be used to getOrCreate new entities

    FinishEntity finish

    Delegate which will be called once the entity is finished (no changes will be made to it) This is useful for a DB when this is the point when it can be serialized to DB

    ExpressMetaData metadata

    Metadata model used to inspect Express types and their properties

    Microsoft.Extensions.Logging.ILogger logger

    A Logger

    Properties

    | Improve this Doc View Source

    IdMap

    This can be used for analytical and file debugging purposes where relation between XML entity in the file and loaded entity needs to be kept.

    Declaration
    public Dictionary<string, int> IdMap { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Int32>

    Methods

    | Improve this Doc View Source

    Read(Stream, IModel, Boolean)

    Declaration
    public StepFileHeader Read(Stream xmlStream, IModel model, bool onlyHeader = false)
    Parameters
    Type Name Description
    System.IO.Stream xmlStream
    IModel model
    System.Boolean onlyHeader
    Returns
    Type Description
    StepFileHeader
    | Improve this Doc View Source

    ReadHeader(Stream)

    Declaration
    public static IStepFileHeader ReadHeader(Stream input)
    Parameters
    Type Name Description
    System.IO.Stream input
    Returns
    Type Description
    IStepFileHeader
    | Improve this Doc View Source

    ReadSchemaVersion(XmlReader)

    Declaration
    public static XmlSchemaVersion ReadSchemaVersion(XmlReader input)
    Parameters
    Type Name Description
    System.Xml.XmlReader input
    Returns
    Type Description
    XmlSchemaVersion

    Events

    | Improve this Doc View Source

    ProgressStatus

    Declaration
    public event ReportProgressDelegate ProgressStatus
    Event Type
    Type Description
    ReportProgressDelegate
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim