Class XbimXmlWriter4
Inheritance
System.Object
XbimXmlWriter4
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()
Assembly: Xbim.IO.MemoryModel.dll
Syntax
public class XbimXmlWriter4
Constructors
|
Improve this Doc
View Source
XbimXmlWriter4(XbimXmlSettings)
Constructor of the XML writer. This writer implements conventions for IFC4 XML and needs to
get configuration with speficic cases like inversed inverses and other special cases.
Default settings and configuration are for IFC4 Add1. If you pass configuration and settings
make sure both are for the same schema definition.
Declaration
public XbimXmlWriter4(XbimXmlSettings settings)
Parameters
Type |
Name |
Description |
XbimXmlSettings |
settings |
Settings for writer like namespaces and root element name
|
Fields
|
Improve this Doc
View Source
Author
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Authorization
Declaration
public string Authorization
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Documentation
Declaration
public string Documentation
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Name
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Organization
Declaration
public string Organization
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
OriginatingSystem
Declaration
public string OriginatingSystem
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PreprocessorVersion
Declaration
public string PreprocessorVersion
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
TimeStamp
Declaration
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Write(IModel, XmlWriter, IEnumerable<IPersistEntity>)
This function writes model entities to the defined XML output.
Declaration
public void Write(IModel model, XmlWriter output, IEnumerable<IPersistEntity> entities = null)
Parameters
Type |
Name |
Description |
IModel |
model |
Model to be used for serialization. If no entities are specified IModel.Instances will be used as a
source of entities to be serialized.
|
System.Xml.XmlWriter |
output |
Output XML
|
System.Collections.Generic.IEnumerable<IPersistEntity> |
entities |
Optional entities enumerable. If you define this enumerable it will be
used instead of all entities from IModel.Instances. This allows to define different way of entities retrieval
like volatile instances from persisted DB model
|