C# Class AlbedoDatabaseGenerator.Database

Inheritance: IDisposable
Afficher le fichier Open project: Patapom/GodComplex Class Usage Examples

Méthodes publiques

Méthode Description
Database ( ) : System
Dispose ( ) : void
Export ( FileInfo _FileName ) : void

Exports the database to a JSON file readable by the javascript web page that will help browsing the textures

GetRelativePath ( string filespec ) : string
GetRelativePath ( string folder, string filespec ) : string

From http://stackoverflow.com/questions/703281/getting-path-relative-to-the-current-working-directory

Load ( FileInfo _FileName ) : void
Save ( FileInfo _FileName ) : void

Private Methods

Méthode Description
AppendElement ( XmlNode _ParentNode, string _ElementName ) : XmlElement
FindEntry ( FileInfo _ManifestFileName ) : Entry

Attempts to retrieve an existing entry from the provided manifest file name

SetAttribute ( XmlElement _Element, string _Attribute, string _Value ) : Database
SetAttribute ( string _Attribute, string _Value ) : Database

Method Details

Database() public méthode

public Database ( ) : System
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Export() public méthode

Exports the database to a JSON file readable by the javascript web page that will help browsing the textures
public Export ( FileInfo _FileName ) : void
_FileName System.IO.FileInfo
Résultat void

GetRelativePath() public méthode

public GetRelativePath ( string filespec ) : string
filespec string
Résultat string

GetRelativePath() public static méthode

From http://stackoverflow.com/questions/703281/getting-path-relative-to-the-current-working-directory
public static GetRelativePath ( string folder, string filespec ) : string
folder string
filespec string
Résultat string

Load() public méthode

public Load ( FileInfo _FileName ) : void
_FileName System.IO.FileInfo
Résultat void

Save() public méthode

public Save ( FileInfo _FileName ) : void
_FileName System.IO.FileInfo
Résultat void