C# Class IfcDoc.Format.SPF.FormatSPF

Inheritance: IDisposable
Show file Open project: BuildingSMART/IfcDoc Class Usage Examples

Private Properties

Property Type Description
CreateInstance object
FormatDateTime string
FormatList string
FormatString string
FormatValue string
LoadFields void
ParseConstructor object
ParseField void
ParseList System.Collections.IList
ParseObject object
ParseString string
ParseType System.Type
ParseValue object
ReadCommand void
ReadFile void
ReadNext string

Public Methods

Method Description
Dispose ( ) : void
FormatFields ( object o ) : string
FormatSPF ( Stream stream, Type>.Dictionary typemap, SEntity>.Dictionary instances ) : System
FormatSPF ( string file, Type>.Dictionary typemap, SEntity>.Dictionary instances ) : System

Encapsulates a STEP Physical File (ISO-10303-21)

InitHeaders ( string filename, string schema ) : void
Load ( ) : void
LoadMarkup ( ) : string

Reads file and generates HTML markup

Save ( ) : void

Protected Methods

Method Description
FormatConstructor ( object o ) : string

Private Methods

Method Description
CreateInstance ( Type t ) : object
FormatDateTime ( System.DateTime value ) : string
FormatList ( System list ) : string
FormatString ( string value ) : string
FormatValue ( object o ) : string
LoadFields ( object instance, string line ) : void
ParseConstructor ( string line ) : object
ParseField ( FieldInfo field, object instance, string strval ) : void
ParseList ( Type t, string line ) : System.Collections.IList
ParseObject ( string strval ) : object
ParseString ( string encoded ) : string
ParseType ( string line ) : Type
ParseValue ( Type type, string strval ) : object
ReadCommand ( string line ) : void

Reads an ISO-STEP command and populates broker according to scope

ReadFile ( ) : void

Reads file either parsing objects or fields

ReadNext ( StreamReader reader ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FormatConstructor() protected method

protected FormatConstructor ( object o ) : string
o object
return string

FormatFields() public method

public FormatFields ( object o ) : string
o object
return string

FormatSPF() public method

public FormatSPF ( Stream stream, Type>.Dictionary typemap, SEntity>.Dictionary instances ) : System
stream Stream
typemap Type>.Dictionary
instances SEntity>.Dictionary
return System

FormatSPF() public method

Encapsulates a STEP Physical File (ISO-10303-21)
public FormatSPF ( string file, Type>.Dictionary typemap, SEntity>.Dictionary instances ) : System
file string Required file path
typemap Type>.Dictionary
instances SEntity>.Dictionary Optional map of instance identifiers and objects (specified if saving)
return System

InitHeaders() public method

public InitHeaders ( string filename, string schema ) : void
filename string
schema string
return void

Load() public method

public Load ( ) : void
return void

LoadMarkup() public method

Reads file and generates HTML markup
public LoadMarkup ( ) : string
return string

Save() public method

public Save ( ) : void
return void