Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
iqt::CSettingsArchiveBase Class Reference

Basic implementation for an archive used Qt settings implementation as persistence medium. More...

#include <CSettingsArchiveBase.h>

Inheritance diagram for iqt::CSettingsArchiveBase:
iqt::CSettingsReadArchive iqt::CSettingsWriteArchive

Classes

struct  TagInfo
 

Public Types

typedef QSettings BaseClass
 

Public Member Functions

 CSettingsArchiveBase (const QString &organizationName, const QString &applicationName, const QString &rootKey, QSettings::Scope settingsScope=QSettings::UserScope)
 Constructor. More...
 

Protected Types

typedef QList< TagInfoOpenTagsList
 

Protected Member Functions

bool EnterTag (const QByteArray &tagId)
 
bool LeaveTag (const QByteArray &tagId)
 
QString GetCurrentCountKey () const
 
QString CreateNextValueKey ()
 
QString GetBaseKey () const
 

Protected Attributes

OpenTagsList m_openTagsList
 
QString m_rootKey
 
int m_valuesCount
 

Detailed Description

Basic implementation for an archive used Qt settings implementation as persistence medium.

Definition at line 22 of file CSettingsArchiveBase.h.

Member Typedef Documentation

Definition at line 25 of file CSettingsArchiveBase.h.

Definition at line 59 of file CSettingsArchiveBase.h.

Constructor & Destructor Documentation

iqt::CSettingsArchiveBase::CSettingsArchiveBase ( const QString &  organizationName,
const QString &  applicationName,
const QString &  rootKey,
QSettings::Scope  settingsScope = QSettings::UserScope 
)

Constructor.

Parameters
organizationNameName of the organization.
applicationNameName of the application.
rootKeyThe root key.
settingsScope(Optional) the settings scope.

Member Function Documentation

QString iqt::CSettingsArchiveBase::CreateNextValueKey ( )
protected
bool iqt::CSettingsArchiveBase::EnterTag ( const QByteArray &  tagId)
protected
QString iqt::CSettingsArchiveBase::GetBaseKey ( ) const
protected
QString iqt::CSettingsArchiveBase::GetCurrentCountKey ( ) const
protected
bool iqt::CSettingsArchiveBase::LeaveTag ( const QByteArray &  tagId)
protected

Member Data Documentation

OpenTagsList iqt::CSettingsArchiveBase::m_openTagsList
protected

Definition at line 60 of file CSettingsArchiveBase.h.

QString iqt::CSettingsArchiveBase::m_rootKey
protected

Definition at line 62 of file CSettingsArchiveBase.h.

int iqt::CSettingsArchiveBase::m_valuesCount
protected

Definition at line 64 of file CSettingsArchiveBase.h.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy