ff7tk  0.02
Toolkit for making FF7 Tools
IsoDirectory Class Reference

#include <IsoArchive.h>

Inheritance diagram for IsoDirectory:

Public Member Functions

 IsoDirectory (const QString &name, quint32 location, quint32 size, qint64 structPosition)
virtual ~IsoDirectory ()
bool isDirectory () const
const QMap< QString, IsoFileOrDirectory * > & filesAndDirectories () const
QList< IsoFile * > files () const
QList< IsoDirectory * > directories () const
IsoFileOrDirectoryfileOrDirectory (const QString &path) const
IsoFilefile (const QString &path) const
IsoDirectorydirectory (const QString &path) const
void add (IsoFileOrDirectory *fileOrDirectory)
- Public Member Functions inherited from IsoFileOrDirectory
virtual ~IsoFileOrDirectory ()
const QString & name () const
quint32 location () const
quint32 locationAfter () const
quint32 size () const
quint32 sectorCount () const
quint32 newLocation () const
quint32 newSize () const
quint32 newSectorCount () const
void setName (const QString &name)
void setLocation (quint32 location)
bool isFile () const
virtual bool isModified () const
virtual void applyModifications ()
bool isSpecial () const
void setPaddingAfter (quint8 after)
quint8 paddingAfter () const

Private Attributes

QMap< QString, IsoFileOrDirectory * > _filesAndDirectories

Additional Inherited Members

- Public Attributes inherited from IsoFileOrDirectory
qint64 structPosition
- Protected Member Functions inherited from IsoFileOrDirectory
 IsoFileOrDirectory (const QString &name, quint32 location, quint32 size, qint64 structPosition)
- Protected Attributes inherited from IsoFileOrDirectory
QString _name
quint32 _location
quint32 _size
quint32 _newLocation
quint32 _newSize
quint8 _paddingAfter

Detailed Description

Definition at line 193 of file IsoArchive.h.

Constructor & Destructor Documentation

IsoDirectory::IsoDirectory ( const QString &  name,
quint32  location,
quint32  size,
qint64  structPosition 

Definition at line 111 of file IsoArchive.cpp.

IsoDirectory::~IsoDirectory ( )

Definition at line 116 of file IsoArchive.cpp.

References _filesAndDirectories.

Member Function Documentation

void IsoDirectory::add ( IsoFileOrDirectory fileOrDirectory)
QList< IsoDirectory * > IsoDirectory::directories ( ) const
IsoDirectory * IsoDirectory::directory ( const QString &  path) const

Definition at line 190 of file IsoArchive.cpp.

References fileOrDirectory(), and IsoFileOrDirectory::isFile().

Referenced by IsoArchive::extractDir().

IsoFile * IsoDirectory::file ( const QString &  path) const
IsoFileOrDirectory * IsoDirectory::fileOrDirectory ( const QString &  path) const
QList< IsoFile * > IsoDirectory::files ( ) const

Definition at line 131 of file IsoArchive.cpp.

References _filesAndDirectories, and IsoFileOrDirectory::isFile().

Referenced by IsoArchive::extractDir().

const QMap< QString, IsoFileOrDirectory * > & IsoDirectory::filesAndDirectories ( ) const
bool IsoDirectory::isDirectory ( ) const

Implements IsoFileOrDirectory.

Definition at line 121 of file IsoArchive.cpp.

Member Data Documentation

QMap<QString, IsoFileOrDirectory *> IsoDirectory::_filesAndDirectories

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