C# Class CSMSL.IO.MzML.SpectrumType

Inheritance: ParamGroupType
Show file Open project: dbaileychess/CSMSL Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( string xml ) : SpectrumType
Deserialize ( string xml, SpectrumType &obj ) : bool
Deserialize ( string xml, SpectrumType &obj, System &exception ) : bool

Deserializes workflow markup into an SpectrumType object

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

Deserializes xml markup from file into an SpectrumType object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current SpectrumType object into file

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

Serializes current SpectrumType object into an XML document

SpectrumType ( ) : System

Method Details

Deserialize() public static method

public static Deserialize ( string xml ) : SpectrumType
xml string
return SpectrumType

Deserialize() public static method

public static Deserialize ( string xml, SpectrumType &obj ) : bool
xml string
obj SpectrumType
return bool

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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

SpectrumType() public method

public SpectrumType ( ) : System
return System