#include <dbconf.h>
Definition at line 14 of file dbconf.h.
|
| wxDatabaseConfig (const wxString &appName=wxEmptyString, const wxString &vendorName=wxEmptyString, const wxString &viewName=wxEmptyString, const wxString &settingsConf=wxEmptyString, long style=0, const wxMBConv &conv=wxConvAuto()) |
|
virtual | ~wxDatabaseConfig () |
|
virtual void | SetPath (const wxString &strPath) |
|
virtual const wxString & | GetPath () const |
|
virtual bool | GetFirstGroup (wxString &str, long &lIndex) const |
|
virtual bool | GetNextGroup (wxString &str, long &lIndex) const |
|
virtual bool | GetFirstEntry (wxString &str, long &lIndex) const |
|
virtual bool | GetNextEntry (wxString &str, long &lIndex) const |
|
virtual size_t | GetNumberOfEntries (bool bRecursive=false) const |
|
virtual size_t | GetNumberOfGroups (bool bRecursive=false) const |
|
virtual bool | HasGroup (const wxString &strName) const |
|
virtual bool | HasEntry (const wxString &strName) const |
|
virtual bool | Flush (bool bCurrentOnly=false) |
|
virtual bool | RenameEntry (const wxString &oldName, const wxString &newName) |
|
virtual bool | RenameGroup (const wxString &oldName, const wxString &newName) |
|
virtual bool | DeleteEntry (const wxString &key, bool bGroupIfEmptyAlso=true) |
|
virtual bool | DeleteGroup (const wxString &key) |
|
virtual bool | DeleteAll () |
|
|
virtual bool | DoReadString (const wxString &key, wxString *pStr) const |
|
virtual bool | DoReadLong (const wxString &key, long *pl) const |
|
virtual bool | DoWriteString (const wxString &key, const wxString &szValue) |
|
virtual bool | DoWriteLong (const wxString &key, long lValue) |
|
|
void | CleanUp () |
|
wxPreparedStatement * | PrepareStatement (const wxString &strQuery) |
|
wxPreparedStatement * | ExecuteStatement (wxPreparedStatement *pStatement, dbentries *pEntries=NULL) |
|
void | DatabaseErrorCheck (wxDatabaseErrorReporter *reporter) |
|
void | ProcessException (wxDatabaseException &e, bool fail=true) |
|
void | SetRootPath (dbentry &entry) |
|
bool | FindEntries (const wxString &nameORpath, dbentries &entries) |
|
bool | AddEntry (dbentry &parent, const wxString &name, const wxString *value=NULL) |
|
bool | WriteEntry (dbentry &entry, const wxString &name, const wxString &value) |
|
void | GetChildren (dbentry &parent, dbentries *groups=NULL, dbentries *entries=NULL, bool recursive=false) |
|
| wxDECLARE_NO_COPY_CLASS (wxDatabaseConfig) |
|
| wxDECLARE_ABSTRACT_CLASS (wxDatabaseConfig) |
|
◆ dbentries
◆ wxDatabaseConfig()
wxDatabaseConfig::wxDatabaseConfig |
( |
const wxString & |
appName = wxEmptyString , |
|
|
const wxString & |
vendorName = wxEmptyString , |
|
|
const wxString & |
viewName = wxEmptyString , |
|
|
const wxString & |
settingsConf = wxEmptyString , |
|
|
long |
style = 0 , |
|
|
const wxMBConv & |
conv = wxConvAuto() |
|
) |
| |
◆ ~wxDatabaseConfig()
virtual wxDatabaseConfig::~wxDatabaseConfig |
( |
| ) |
|
|
virtual |
◆ AddEntry()
bool wxDatabaseConfig::AddEntry |
( |
dbentry & |
parent, |
|
|
const wxString & |
name, |
|
|
const wxString * |
value = NULL |
|
) |
| |
|
private |
◆ CleanUp()
void wxDatabaseConfig::CleanUp |
( |
| ) |
|
|
private |
◆ DatabaseErrorCheck()
◆ DeleteAll()
virtual bool wxDatabaseConfig::DeleteAll |
( |
| ) |
|
|
virtual |
◆ DeleteEntry()
virtual bool wxDatabaseConfig::DeleteEntry |
( |
const wxString & |
key, |
|
|
bool |
bGroupIfEmptyAlso = true |
|
) |
| |
|
virtual |
◆ DeleteGroup()
virtual bool wxDatabaseConfig::DeleteGroup |
( |
const wxString & |
key | ) |
|
|
virtual |
◆ DoReadLong()
virtual bool wxDatabaseConfig::DoReadLong |
( |
const wxString & |
key, |
|
|
long * |
pl |
|
) |
| const |
|
protectedvirtual |
◆ DoReadString()
virtual bool wxDatabaseConfig::DoReadString |
( |
const wxString & |
key, |
|
|
wxString * |
pStr |
|
) |
| const |
|
protectedvirtual |
◆ DoWriteLong()
virtual bool wxDatabaseConfig::DoWriteLong |
( |
const wxString & |
key, |
|
|
long |
lValue |
|
) |
| |
|
protectedvirtual |
◆ DoWriteString()
virtual bool wxDatabaseConfig::DoWriteString |
( |
const wxString & |
key, |
|
|
const wxString & |
szValue |
|
) |
| |
|
protectedvirtual |
◆ ExecuteStatement()
◆ FindEntries()
bool wxDatabaseConfig::FindEntries |
( |
const wxString & |
nameORpath, |
|
|
dbentries & |
entries |
|
) |
| |
|
private |
◆ Flush()
virtual bool wxDatabaseConfig::Flush |
( |
bool |
bCurrentOnly = false | ) |
|
|
virtual |
◆ GetChildren()
void wxDatabaseConfig::GetChildren |
( |
dbentry & |
parent, |
|
|
dbentries * |
groups = NULL , |
|
|
dbentries * |
entries = NULL , |
|
|
bool |
recursive = false |
|
) |
| |
|
private |
◆ GetFirstEntry()
virtual bool wxDatabaseConfig::GetFirstEntry |
( |
wxString & |
str, |
|
|
long & |
lIndex |
|
) |
| const |
|
virtual |
◆ GetFirstGroup()
virtual bool wxDatabaseConfig::GetFirstGroup |
( |
wxString & |
str, |
|
|
long & |
lIndex |
|
) |
| const |
|
virtual |
◆ GetNextEntry()
virtual bool wxDatabaseConfig::GetNextEntry |
( |
wxString & |
str, |
|
|
long & |
lIndex |
|
) |
| const |
|
virtual |
◆ GetNextGroup()
virtual bool wxDatabaseConfig::GetNextGroup |
( |
wxString & |
str, |
|
|
long & |
lIndex |
|
) |
| const |
|
virtual |
◆ GetNumberOfEntries()
virtual size_t wxDatabaseConfig::GetNumberOfEntries |
( |
bool |
bRecursive = false | ) |
const |
|
virtual |
◆ GetNumberOfGroups()
virtual size_t wxDatabaseConfig::GetNumberOfGroups |
( |
bool |
bRecursive = false | ) |
const |
|
virtual |
◆ GetPath()
virtual const wxString& wxDatabaseConfig::GetPath |
( |
| ) |
const |
|
inlinevirtual |
◆ HasEntry()
virtual bool wxDatabaseConfig::HasEntry |
( |
const wxString & |
strName | ) |
const |
|
virtual |
◆ HasGroup()
virtual bool wxDatabaseConfig::HasGroup |
( |
const wxString & |
strName | ) |
const |
|
virtual |
◆ PrepareStatement()
◆ ProcessException()
void wxDatabaseConfig::ProcessException |
( |
wxDatabaseException & |
e, |
|
|
bool |
fail = true |
|
) |
| |
|
private |
◆ RenameEntry()
virtual bool wxDatabaseConfig::RenameEntry |
( |
const wxString & |
oldName, |
|
|
const wxString & |
newName |
|
) |
| |
|
virtual |
◆ RenameGroup()
virtual bool wxDatabaseConfig::RenameGroup |
( |
const wxString & |
oldName, |
|
|
const wxString & |
newName |
|
) |
| |
|
virtual |
◆ SetPath()
virtual void wxDatabaseConfig::SetPath |
( |
const wxString & |
strPath | ) |
|
|
virtual |
◆ SetRootPath()
void wxDatabaseConfig::SetRootPath |
( |
dbentry & |
entry | ) |
|
|
private |
◆ WriteEntry()
bool wxDatabaseConfig::WriteEntry |
( |
dbentry & |
entry, |
|
|
const wxString & |
name, |
|
|
const wxString & |
value |
|
) |
| |
|
private |
◆ wxDECLARE_ABSTRACT_CLASS()
◆ wxDECLARE_NO_COPY_CLASS()
◆ m_entries
◆ m_entry
◆ m_groups
◆ m_pDatabase
◆ m_pStatementSqlAddEntry
◆ m_pStatementSqlDelEntry
◆ m_pStatementSqlDropAll
◆ m_pStatementSqlEditEntry
◆ m_pStatementSqlFindEntries
◆ m_self
◆ m_settingsConf
wxString wxDatabaseConfig::m_settingsConf |
|
private |
◆ m_viewName
wxString wxDatabaseConfig::m_viewName |
|
private |