C# Class ATMLModelLibrary.model.equipment.Driver

ファイルを表示 Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Driver object

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

Deserializes xml markup from file into an Driver object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current Driver object into file

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

Serializes current Driver object into an XML string

ToString ( ) : string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

ToString() public method

public ToString ( ) : string
return string