ICF 3.0.5.47
Technical documentation of ICF Libraries
ifile::CSettingsArchiveBase Class Reference

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

#include <CSettingsArchiveBase.h>

Inheritance diagram for ifile::CSettingsArchiveBase:
Collaboration diagram for ifile::CSettingsArchiveBase:

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.
 

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 24 of file CSettingsArchiveBase.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 27 of file CSettingsArchiveBase.h.

◆ OpenTagsList

Definition at line 61 of file CSettingsArchiveBase.h.

Constructor & Destructor Documentation

◆ CSettingsArchiveBase()

ifile::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

◆ CreateNextValueKey()

QString ifile::CSettingsArchiveBase::CreateNextValueKey ( )
protected

◆ EnterTag()

bool ifile::CSettingsArchiveBase::EnterTag ( const QByteArray & tagId)
protected

◆ GetBaseKey()

QString ifile::CSettingsArchiveBase::GetBaseKey ( ) const
protected

◆ GetCurrentCountKey()

QString ifile::CSettingsArchiveBase::GetCurrentCountKey ( ) const
protected

◆ LeaveTag()

bool ifile::CSettingsArchiveBase::LeaveTag ( const QByteArray & tagId)
protected

Member Data Documentation

◆ m_openTagsList

OpenTagsList ifile::CSettingsArchiveBase::m_openTagsList
protected

Definition at line 62 of file CSettingsArchiveBase.h.

◆ m_rootKey

QString ifile::CSettingsArchiveBase::m_rootKey
protected

Definition at line 64 of file CSettingsArchiveBase.h.

◆ m_valuesCount

int ifile::CSettingsArchiveBase::m_valuesCount
protected

Definition at line 66 of file CSettingsArchiveBase.h.


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

© Witold Gantzke and Kirill Lepskiy