C# Class ATMLModelLibrary.model.signal.basic.NonElectrical

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

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( System s ) : NonElectrical
Deserialize ( string input ) : NonElectrical
Deserialize ( string input, NonElectrical &obj ) : bool
Deserialize ( string input, NonElectrical &obj, System &exception ) : bool

Deserializes workflow markup into an NonElectrical object

LoadFromFile ( string fileName ) : NonElectrical
LoadFromFile ( string fileName, NonElectrical &obj ) : bool
LoadFromFile ( string fileName, NonElectrical &obj, System &exception ) : bool

Deserializes xml markup from file into an NonElectrical object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current NonElectrical object into file

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

Serializes current NonElectrical object into an XML string

Method Details

Deserialize() public static method

public static Deserialize ( System s ) : NonElectrical
s System
return NonElectrical

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

SaveToFile() public method

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

Serialize() public method

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