Référence de la classe KoDirectoryStore

#include <KoDirectoryStore.h>

Graphe d'héritage de KoDirectoryStore:

[légende]
Graphe de collaboration de KoDirectoryStore:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoDirectoryStore (const QString &path, Mode _mode)
 ~KoDirectoryStore ()

Fonctions membres protégées

virtual bool init (Mode _mode)
virtual bool openWrite (const QString &name)
virtual bool openRead (const QString &name)
virtual bool closeRead ()
virtual bool closeWrite ()
virtual bool enterRelativeDirectory (const QString &dirName)
virtual bool enterAbsoluteDirectory (const QString &path)
virtual bool fileExists (const QString &absPath) const
bool openReadOrWrite (const QString &name, QIODevice::OpenModeFlag iomode)

Attributs privés

QString m_basePath
QString m_currentPath
 The "current directory" (path).
QFile * m_file

Description détaillée

Définition à la ligne 27 du fichier KoDirectoryStore.h.


Documentation des contructeurs et destructeur

KoDirectoryStore::KoDirectoryStore ( const QString &  path,
Mode  _mode 
)

Définition à la ligne 27 du fichier KoDirectoryStore.cpp.

Références init(), m_basePath, KoStore::m_bGood, m_currentPath, KoStore::pos(), et KoStore::s_area.

Voici le graphe d'appel pour cette fonction :

KoDirectoryStore::~KoDirectoryStore (  ) 

Définition à la ligne 43 du fichier KoDirectoryStore.cpp.


Documentation des fonctions membres

bool KoDirectoryStore::init ( Mode  _mode  )  [protected, virtual]

Init store - called by constructor.

Renvoie:
true on success

Réimplémentée à partir de KoStore.

Définition à la ligne 47 du fichier KoDirectoryStore.cpp.

Références KoStore::init(), m_basePath, KoStore::s_area, et KoStore::Write.

Référencé par KoDirectoryStore().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

virtual bool KoDirectoryStore::openWrite ( const QString &  name  )  [inline, protected, virtual]

Open the file name in the store, for writing On success, this method must set m_stream to a stream in which we can write.

Paramètres:
name "absolute path" (in the archive) to the file to open
Renvoie:
true on success

Implémente KoStore.

Définition à la ligne 34 du fichier KoDirectoryStore.h.

Références openReadOrWrite().

Voici le graphe d'appel pour cette fonction :

virtual bool KoDirectoryStore::openRead ( const QString &  name  )  [inline, protected, virtual]

Open the file name in the store, for reading. On success, this method must set m_stream to a stream from which we can read, as well as setting m_iSize to the size of the file.

Paramètres:
name "absolute path" (in the archive) to the file to open
Renvoie:
true on success

Implémente KoStore.

Définition à la ligne 35 du fichier KoDirectoryStore.h.

Références openReadOrWrite().

Voici le graphe d'appel pour cette fonction :

virtual bool KoDirectoryStore::closeRead (  )  [inline, protected, virtual]

Renvoie:
true on success

Implémente KoStore.

Définition à la ligne 36 du fichier KoDirectoryStore.h.

virtual bool KoDirectoryStore::closeWrite (  )  [inline, protected, virtual]

Renvoie:
true on success

Implémente KoStore.

Définition à la ligne 37 du fichier KoDirectoryStore.h.

bool KoDirectoryStore::enterRelativeDirectory ( const QString &  dirName  )  [protected, virtual]

Enter a subdirectory of the current directory. The directory might not exist yet in Write mode.

Implémente KoStore.

Définition à la ligne 88 du fichier KoDirectoryStore.cpp.

Références m_currentPath, KoStore::mode(), KoStore::s_area, et KoStore::Write.

Voici le graphe d'appel pour cette fonction :

bool KoDirectoryStore::enterAbsoluteDirectory ( const QString &  path  )  [protected, virtual]

Enter a directory where we've been before. It is guaranteed to always exist.

Implémente KoStore.

Définition à la ligne 106 du fichier KoDirectoryStore.cpp.

Références m_basePath, et m_currentPath.

Référencé par openReadOrWrite().

Voici le graphe d'appel pour cette fonction :

bool KoDirectoryStore::fileExists ( const QString &  absPath  )  const [protected, virtual]

Check if a file exists inside the store.

Paramètres:
absPath the absolute path inside the store, i.e. not relative to the current directory

Implémente KoStore.

Définition à la ligne 115 du fichier KoDirectoryStore.cpp.

Références m_basePath, et KoStore::s_area.

bool KoDirectoryStore::openReadOrWrite ( const QString &  name,
QIODevice::OpenModeFlag  iomode 
) [protected]

Définition à la ligne 62 du fichier KoDirectoryStore.cpp.

Références enterAbsoluteDirectory(), KoStore::enterDirectory(), m_basePath, KoStore::m_iSize, KoStore::m_stream, KoStore::popDirectory(), KoStore::pos(), et KoStore::pushDirectory().

Référencé par openRead(), et openWrite().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

QString KoDirectoryStore::m_basePath [private]

Définition à la ligne 45 du fichier KoDirectoryStore.h.

Référencé par enterAbsoluteDirectory(), fileExists(), init(), KoDirectoryStore(), et openReadOrWrite().

QString KoDirectoryStore::m_currentPath [private]

The "current directory" (path).

Réimplémentée à partir de KoStore.

Définition à la ligne 48 du fichier KoDirectoryStore.h.

Référencé par enterAbsoluteDirectory(), enterRelativeDirectory(), et KoDirectoryStore().

QFile* KoDirectoryStore::m_file [private]

Définition à la ligne 51 du fichier KoDirectoryStore.h.


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:44:43 2006 pour KPlato par  doxygen 1.5.1-p1