C# Class ATMLModelLibrary.model.equipment.SCPI

Inheritance: ControlLanguage
Datei anzeigen Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( Stream s ) : SCPI
Deserialize ( string input ) : SCPI
Deserialize ( string input, SCPI &obj ) : bool
Deserialize ( string input, SCPI &obj, Exception &exception ) : bool

Deserializes workflow markup into an SCPI object

LoadFromFile ( string fileName ) : SCPI
LoadFromFile ( string fileName, SCPI &obj ) : bool
LoadFromFile ( string fileName, SCPI &obj, Exception &exception ) : bool

Deserializes xml markup from file into an SCPI object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current SCPI object into file

SaveToFile ( string fileName ) : void
Serialize ( ) : string

Serializes current SCPI object into an XML string

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static method

public static Deserialize ( Stream s ) : SCPI
s Stream
return SCPI

Deserialize() public static method

public static Deserialize ( string input ) : SCPI
input string
return SCPI

Deserialize() public static method

public static Deserialize ( string input, SCPI &obj ) : bool
input string
obj SCPI
return bool

Deserialize() public static method

Deserializes workflow markup into an SCPI object
public static Deserialize ( string input, SCPI &obj, Exception &exception ) : bool
input string string workflow markup to deserialize
obj SCPI Output SCPI object
exception System.Exception output Exception value if deserialize failed
return bool

LoadFromFile() public static method

public static LoadFromFile ( string fileName ) : SCPI
fileName string
return SCPI

LoadFromFile() public static method

public static LoadFromFile ( string fileName, SCPI &obj ) : bool
fileName string
obj SCPI
return bool

LoadFromFile() public static method

Deserializes xml markup from file into an SCPI object
public static LoadFromFile ( string fileName, SCPI &obj, Exception &exception ) : bool
fileName string string xml file to load and deserialize
obj SCPI Output SCPI object
exception System.Exception output Exception value if deserialize failed
return bool

SaveToFile() public method

Serializes current SCPI object into file
public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string full path of outupt xml file
exception System.Exception output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current SCPI object into an XML string
public Serialize ( ) : string
return string

Validate() public method

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
return bool