C# Class IfcDoc.Program

Exibir arquivo Open project: BuildingSMART/IfcDoc

Public Methods

Method Description
ExportPsd ( DocPropertySet docPset, DocPropertyEnumeration>.Dictionary mapEnum ) : IfcDoc.Schema.PSD.PropertySetDef
ExportQto ( DocQuantitySet docPset ) : IfcDoc.Schema.PSD.QtoSetDef
ExportSch ( IfcDoc schema, DocProject docProject, bool>.Dictionary included ) : void
ImportPsdPropertyTemplate ( IfcDoc.Schema.PSD.PropertyDef def, DocProperty docprop ) : void

Private Methods

Method Description
CheckFilter ( Array array, object target ) : bool
EnsureValidString ( string value ) : string
ExpandTemplateInheritance ( DocTemplateDefinition template, List list ) : void

Expands list to include any inherited templates

ExportCnf ( IfcDoc cnf, DocProject docProject, DocModelView docViews, bool>.Dictionary included ) : void
ExportCnfAttribute ( IfcDoc ent, DocAttribute docAttr, DocXsdFormatEnum xsdformat, bool tagless ) : void
ExportIfc ( IfcDoc.Schema.IFC.IfcProject ifcProject, DocProject docProject, bool>.Dictionary included ) : void
ExportIfcPropertyTemplate ( DocProperty docProp, IfcDoc.Schema.IFC.IfcLibraryInformation ifcLibInfo, DocPropertyEnumeration>.Dictionary mapEnums ) : IfcPropertyTemplate
ExportMvd ( mvdXML mvd, DocProject docProject, bool>.Dictionary included ) : void
ExportMvdConcept ( Concept mvdConceptLeaf, DocTemplateUsage docTemplateUsage, bool documentation ) : void
ExportMvdConceptRoot ( ConceptRoot mvdConceptRoot, DocConceptRoot docRoot, bool documentation ) : void
ExportMvdItem ( DocTemplateItem docRule ) : TemplateRule
ExportMvdObject ( Element mvd, DocObject doc, bool documentation ) : void

Helper function to populate attributes

ExportMvdRule ( AttributeRule mvdRule, DocModelRule docRule ) : void
ExportMvdTemplate ( ConceptTemplate mvdTemplate, DocTemplateDefinition docTemplateDef, bool>.Dictionary included, bool documentation ) : void
ExportPsdProperty ( DocProperty docProp, IfcDoc.Schema.PSD.PropertyDef prop, DocPropertyEnumeration>.Dictionary mapPropEnum ) : void
ExportSchRule ( IfcDoc.Schema.SCH.rule r, List pathRule ) : void
GetSchemata ( FormatSPF file ) : IfcDoc.Schema.VEX.SCHEMATA
ImportCnf ( IfcDoc cnf, DocProject docProject, DocModelView docView ) : void
ImportCnfAttribute ( IfcDoc exp_attribute, bool keep, Schema tagless, DocEntity docEntity, DocAttribute docAttribute, DocModelView docView ) : void
ImportMvd ( mvdXML mvd, DocProject docProject, string filepath ) : void
ImportMvdCardinality ( DocModelRule docRule, CardinalityType cardinality ) : void
ImportMvdConcept ( Concept mvdNode, DocTemplateUsage docUse, DocProject docProject, ExchangeRequirement>.Dictionary mapExchange ) : void
ImportMvdItem ( TemplateRule rule, DocProject docProject, ExchangeRequirement>.Dictionary mapExchange ) : DocTemplateItem
ImportMvdObject ( Element mvd, DocObject doc ) : void

Helper function to populate attributes

ImportMvdRule ( AttributeRule mvdRule, DocModelRuleEntity>.Dictionary fixups ) : DocModelRule
ImportMvdTemplate ( ConceptTemplate mvdTemplate, DocTemplateDefinition docDef, DocModelRuleEntity>.Dictionary fixups ) : void
ImportVex ( IfcDoc.Schema.VEX.SCHEMATA schemata, DocProject docProject, bool updateDescriptions ) : DocSchema

Creates a documentation schema from a VEX schema

ImportVexLine ( IfcDoc.Schema.VEX.OBJECT_LINE_LAYOUT layout, IfcDoc.Schema.VEX.TEXT_LAYOUT textlayout, List diagramLine, DocRectangle diagramLabel ) : void
ImportVexRectangle ( DocDefinition docDefinition, IfcDoc.Schema.VEX.RECTANGLE rectangle, IfcDoc.Schema.VEX.SCHEMATA schemata ) : void
ImportXsd ( IfcDoc schema, DocProject docProject ) : DocSchema
ImportXsdAnnotation ( IfcDoc annotation ) : string
ImportXsdAttribute ( IfcDoc att, DocSchema docSchema, DocEntity docEntity ) : void
ImportXsdComplex ( IfcDoc complex, DocSchema docSchema, DocEntity docEntity ) : void
ImportXsdElement ( IfcDoc sub, DocEntity docEntity, bool list ) : void
ImportXsdSimple ( IfcDoc simple, DocSchema docSchema, string name ) : void
ImportXsdType ( string xsdtype ) : string
LookupEntity ( DocProject project, string name ) : DocEntity
Main ( string args ) : void

Method Details

ExportPsd() public static method

public static ExportPsd ( DocPropertySet docPset, DocPropertyEnumeration>.Dictionary mapEnum ) : IfcDoc.Schema.PSD.PropertySetDef
docPset DocPropertySet
mapEnum DocPropertyEnumeration>.Dictionary
return IfcDoc.Schema.PSD.PropertySetDef

ExportQto() public static method

public static ExportQto ( DocQuantitySet docPset ) : IfcDoc.Schema.PSD.QtoSetDef
docPset DocQuantitySet
return IfcDoc.Schema.PSD.QtoSetDef

ExportSch() public static method

public static ExportSch ( IfcDoc schema, DocProject docProject, bool>.Dictionary included ) : void
schema IfcDoc
docProject DocProject
included bool>.Dictionary
return void

ImportPsdPropertyTemplate() public static method

public static ImportPsdPropertyTemplate ( IfcDoc.Schema.PSD.PropertyDef def, DocProperty docprop ) : void
def IfcDoc.Schema.PSD.PropertyDef
docprop DocProperty
return void