C# Class ATMLModelLibrary.model.equipment.MatrixSwitch

Inheritance: Item
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an MatrixSwitch object

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

Deserializes xml markup from file into an MatrixSwitch object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current MatrixSwitch object into file

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

Serializes current MatrixSwitch object into an XML string

ShouldSerializeColumns ( ) : bool

Test whether Columns should be serialized

ShouldSerializeRows ( ) : bool

Test whether Rows should be serialized

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current MatrixSwitch 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 MatrixSwitch object into an XML string
public Serialize ( ) : string
return string

ShouldSerializeColumns() public method

Test whether Columns should be serialized
public ShouldSerializeColumns ( ) : bool
return bool

ShouldSerializeRows() public method

Test whether Rows should be serialized
public ShouldSerializeRows ( ) : bool
return bool