ff7tk
1.2.0.13
Work with Final Fantasy 7 game data
|
#include <IsoArchive.h>
Public Member Functions | |
IsoFile (const QString &name, quint32 location, quint32 size, qint64 structPosition, IsoArchiveIO *io) | |
virtual | ~IsoFile () override |
bool | isDirectory () const override |
QByteArray | data (quint32 maxSize=0) const |
QByteArray | modifiedData (quint32 maxSize=0) const |
bool | extract (const QString &destination, quint32 maxSize=0) const |
QIODevice * | file () const |
QIODevice * | modifiedFile () const |
bool | setModifiedFile (QIODevice *io) |
bool | setModifiedFile (const QByteArray &data) |
bool | isModified () const override |
void | applyModifications () override |
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 |
bool | isSpecial () const |
void | setPaddingAfter (quint8 after) |
quint8 | paddingAfter () const |
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 |
IsoFile::IsoFile | ( | const QString & | name, |
quint32 | location, | ||
quint32 | size, | ||
qint64 | structPosition, | ||
IsoArchiveIO * | io | ||
) |
|
overridevirtual |
|
overridevirtual |
Reimplemented from IsoFileOrDirectory.
QByteArray IsoFile::data | ( | quint32 | maxSize = 0 | ) | const |
bool IsoFile::extract | ( | const QString & | destination, |
quint32 | maxSize = 0 |
||
) | const |
QIODevice * IsoFile::file | ( | ) | const |
|
overridevirtual |
Implements IsoFileOrDirectory.
|
overridevirtual |
Reimplemented from IsoFileOrDirectory.
QByteArray IsoFile::modifiedData | ( | quint32 | maxSize = 0 | ) | const |
QIODevice * IsoFile::modifiedFile | ( | ) | const |
bool IsoFile::setModifiedFile | ( | const QByteArray & | data | ) |
bool IsoFile::setModifiedFile | ( | QIODevice * | io | ) |