Storage::XmlDatabase Class Reference

Responsible for dealing with game related storage and retrieval.

#include <XmlDatabase.hpp>

Inheritance diagram for Storage::XmlDatabase:

System::Database

List of all members.

Public Types

enum  E_Status {
  STATUS_Ready, STATUS_ProfileNotFound, STATUS_FileNotFound, STATUS_ParsingError,
  STATUS_NotReady
}
 The status of the database. More...

Public Member Functions

E_Status LoadSettings (CONST TCHAR *SettingsFile, CONST TCHAR *Profile=NULL)
E_Status GetStatus ()
E_Status Cleanup ()

Private Member Functions

VOID StoreConfiguration (System::Object *InObject)
VOID RestoreConfiguration (System::Object *InObject)

Private Attributes

PVOID Context


Member Enumeration Documentation

enum Storage::XmlDatabase::E_Status

Enumerator:
STATUS_Ready  The database system is ready for operation.
STATUS_ProfileNotFound  The selected profile was not found.
STATUS_FileNotFound  The settings file was not found or could not be loaded.
STATUS_ParsingError  An error occured while parsing the settings file.
STATUS_NotReady  The database system is not ready.


Member Function Documentation

VOID Storage::XmlDatabase::StoreConfiguration ( System::Object InObject  )  [private, virtual]

Save the object's configuration.

Implements System::Database.

VOID Storage::XmlDatabase::RestoreConfiguration ( System::Object InObject  )  [private, virtual]

Load the object's configuration.

Implements System::Database.

XmlDatabase::E_Status Storage::XmlDatabase::LoadSettings ( CONST TCHAR *  SettingsFile,
CONST TCHAR *  Profile = NULL 
)

Load database settings.

E_Status Storage::XmlDatabase::GetStatus (  ) 

Get the current status of the database.

XmlDatabase::E_Status Storage::XmlDatabase::Cleanup (  ) 

Cleanup all allocated templates.


Member Data Documentation

PVOID Storage::XmlDatabase::Context [private]

Address of context information.


The documentation for this class was generated from the following files:
Generated on Wed Dec 5 14:53:01 2007 for Aerospace Engine by  doxygen 1.5.3