Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

IniFile Class Reference

#include <IniFile.h>

Inheritance diagram for IniFile:

Inheritance graph
[legend]
Collaboration diagram for IniFile:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IniFile ()
CString GetPath () const
const CString & GetError () const
bool ReadFile (const CString &sPath)
bool ReadFile (RageFileBasic &sFile)
bool WriteFile (const CString &sPath) const
bool WriteFile (RageFileBasic &sFile) const
bool GetValue (const CString &key, const CString &valuename, CString &value) const
bool GetValue (const CString &key, const CString &valuename, int &value) const
bool GetValue (const CString &key, const CString &valuename, unsigned &value) const
bool GetValue (const CString &key, const CString &valuename, float &value) const
bool GetValue (const CString &key, const CString &valuename, bool &value) const
void SetValue (const CString &key, const CString &valuename, const CString &value)
void SetValue (const CString &key, const CString &valuename, int value)
void SetValue (const CString &key, const CString &valuename, unsigned value)
void SetValue (const CString &key, const CString &valuename, float value)
void SetValue (const CString &key, const CString &valuename, bool value)
bool DeleteKey (const CString &keyname)
bool DeleteValue (const CString &keyname, const CString &valuename)
bool RenameKey (const CString &from, const CString &to)

Private Attributes

CString m_sPath
CString m_sError

Constructor & Destructor Documentation

IniFile::IniFile  ) 
 


Member Function Documentation

bool IniFile::DeleteKey const CString &  keyname  ) 
 

bool IniFile::DeleteValue const CString &  keyname,
const CString &  valuename
 

const CString& IniFile::GetError  )  const [inline]
 

CString IniFile::GetPath  )  const [inline]
 

bool IniFile::GetValue const CString &  key,
const CString &  valuename,
bool &  value
const
 

bool IniFile::GetValue const CString &  key,
const CString &  valuename,
float &  value
const
 

bool IniFile::GetValue const CString &  key,
const CString &  valuename,
unsigned &  value
const
 

bool IniFile::GetValue const CString &  key,
const CString &  valuename,
int value
const
 

bool IniFile::GetValue const CString &  key,
const CString &  valuename,
CString &  value
const
 

bool IniFile::ReadFile RageFileBasic sFile  ) 
 

bool IniFile::ReadFile const CString &  sPath  ) 
 

bool IniFile::RenameKey const CString &  from,
const CString &  to
 

void IniFile::SetValue const CString &  key,
const CString &  valuename,
bool  value
 

void IniFile::SetValue const CString &  key,
const CString &  valuename,
float  value
 

void IniFile::SetValue const CString &  key,
const CString &  valuename,
unsigned  value
 

void IniFile::SetValue const CString &  key,
const CString &  valuename,
int  value
 

void IniFile::SetValue const CString &  key,
const CString &  valuename,
const CString &  value
 

bool IniFile::WriteFile RageFileBasic sFile  )  const
 

bool IniFile::WriteFile const CString &  sPath  )  const
 


Member Data Documentation

CString IniFile::m_sError [mutable, private]
 

CString IniFile::m_sPath [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 20:59:29 2005 for StepMania by doxygen 1.3.7