C# 클래스 ScoobyRom.DataFile.RomXml

파일 보기 프로젝트 열기: SubaruDieselCrew/ScoobyRom 1 사용 예제들

공개 메소드들

메소드 설명
Load ( string path ) : void
RomXml ( ) : System
TryMergeWith ( IList toUpdate ) : int
TryMergeWith ( IList toUpdate ) : int
WriteXml ( string path, RomMetadata romMetadata, IList list2D, IList list3D ) : void
XDoc ( ) : System.Xml.Linq.XDocument

비공개 메소드들

메소드 설명
GetAxisXElement ( string axisType, int address, string name, string unit ) : System.Xml.Linq.XElement
GetValuesElement ( int address, string unit, TableType tableType ) : System.Xml.Linq.XElement
GetXElement ( Table2D table2D ) : System.Xml.Linq.XElement
GetXElement ( Table3D table3D ) : System.Xml.Linq.XElement
HexNum ( int num ) : string
Merge ( Table2D original, Table2D newTable ) : void
Merge ( Table3D original, Table3D newTable ) : void
MergeCommon ( Table original, Table newTable ) : void
ParseAxis ( System.Xml.Linq.XElement el, int &address, string &name, string &unit ) : void
ParseCommon ( System.Xml.Linq.XElement el, Table table ) : void
ParseHexInt ( string strToParse, XObject xObj ) : int

Parses hex number e.g."0x123af". Prefix "0x" is required.

ParseTable2D ( System.Xml.Linq.XElement el ) : Table2D
ParseTable3D ( System.Xml.Linq.XElement el ) : Table3D
ParseTableSearch ( System.Xml.Linq.XElement el ) : void
ParseValues ( System.Xml.Linq.XElement el, int &address, string &unit, TableType &tableType ) : void
ParseXml ( System.Xml.Linq.XElement root ) : void
TableSearchXElement ( ) : System.Xml.Linq.XElement
ThrowParse ( Exception ex, XObject xObj, string typeStr ) : void
ThrowXmlExceptionWithLineInfo ( string message, Exception innerException, XObject xObj ) : void

Throw XmlException with LineNumber/LinePosition info.

UpdateString ( string original, string update ) : string

메소드 상세

Load() 공개 메소드

public Load ( string path ) : void
path string
리턴 void

RomXml() 공개 메소드

public RomXml ( ) : System
리턴 System

TryMergeWith() 공개 메소드

public TryMergeWith ( IList toUpdate ) : int
toUpdate IList
리턴 int

TryMergeWith() 공개 메소드

public TryMergeWith ( IList toUpdate ) : int
toUpdate IList
리턴 int

WriteXml() 공개 메소드

public WriteXml ( string path, RomMetadata romMetadata, IList list2D, IList list3D ) : void
path string
romMetadata RomMetadata
list2D IList
list3D IList
리턴 void

XDoc() 공개 정적인 메소드

public static XDoc ( ) : System.Xml.Linq.XDocument
리턴 System.Xml.Linq.XDocument