| 
    ff7tk
    0.02
    
   Toolkit for making FF7 Tools 
   | 
 
#include <IsoArchive.h>
  
 Public Member Functions | |
| IsoFile (const QString &name, quint32 location, quint32 size, qint64 structPosition, IsoArchiveIO *io) | |
| virtual | ~IsoFile () | 
| bool | isDirectory () const | 
| 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 | 
| void | applyModifications () | 
  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 | 
Private Member Functions | |
| void | setFile (QIODevice *io) | 
| void | cleanNewIO () | 
Private Attributes | |
| QIODevice * | _io | 
| QIODevice * | _newIO | 
| bool | dataChanged | 
| bool | _newIOMustBeRemoved | 
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 | 
Definition at line 170 of file IsoArchive.h.
| IsoFile::IsoFile | ( | const QString & | name, | 
| quint32 | location, | ||
| quint32 | size, | ||
| qint64 | structPosition, | ||
| IsoArchiveIO * | io | ||
| ) | 
Definition at line 208 of file IsoArchive.cpp.
References setFile().
      
  | 
  virtual | 
Definition at line 216 of file IsoArchive.cpp.
References _io, and cleanNewIO().
      
  | 
  virtual | 
Reimplemented from IsoFileOrDirectory.
Definition at line 325 of file IsoArchive.cpp.
References IsoFileOrDirectory::applyModifications(), cleanNewIO(), and dataChanged.
      
  | 
  private | 
Definition at line 311 of file IsoArchive.cpp.
References _newIO, and _newIOMustBeRemoved.
Referenced by applyModifications(), setModifiedFile(), and ~IsoFile().
| QByteArray IsoFile::data | ( | quint32 | maxSize = 0 | ) | const | 
Definition at line 227 of file IsoArchive.cpp.
References _io.
Referenced by extract(), IsoArchive::file(), and modifiedData().
| bool IsoFile::extract | ( | const QString & | destination, | 
| quint32 | maxSize = 0  | 
        ||
| ) | const | 
Definition at line 245 of file IsoArchive.cpp.
References _io, data(), MAX_ISO_READ, and IsoFileOrDirectory::size().
Referenced by IsoArchive::extract(), and IsoArchive::extractDir().
| QIODevice * IsoFile::file | ( | ) | const | 
Definition at line 270 of file IsoArchive.cpp.
References _io.
Referenced by IsoArchive::fileDevice(), and modifiedFile().
      
  | 
  virtual | 
Implements IsoFileOrDirectory.
Definition at line 222 of file IsoArchive.cpp.
      
  | 
  virtual | 
Reimplemented from IsoFileOrDirectory.
Definition at line 320 of file IsoArchive.cpp.
References dataChanged, and IsoFileOrDirectory::isModified().
| QByteArray IsoFile::modifiedData | ( | quint32 | maxSize = 0 | ) | const | 
Definition at line 236 of file IsoArchive.cpp.
References _newIO, and data().
Referenced by IsoArchive::modifiedFile().
| QIODevice * IsoFile::modifiedFile | ( | ) | const | 
Definition at line 275 of file IsoArchive.cpp.
References _newIO, and file().
Referenced by IsoArchive::modifiedFileDevice(), and IsoArchive::pack().
      
  | 
  private | 
| bool IsoFile::setModifiedFile | ( | QIODevice * | io | ) | 
Definition at line 288 of file IsoArchive.cpp.
References _newIO, IsoFileOrDirectory::_newSize, cleanNewIO(), and dataChanged.
Referenced by setModifiedFile().
| bool IsoFile::setModifiedFile | ( | const QByteArray & | data | ) | 
Definition at line 302 of file IsoArchive.cpp.
References _newIOMustBeRemoved, and setModifiedFile().
      
  | 
  private | 
Definition at line 189 of file IsoArchive.h.
Referenced by data(), extract(), file(), setFile(), and ~IsoFile().
      
  | 
  private | 
Definition at line 189 of file IsoArchive.h.
Referenced by cleanNewIO(), modifiedData(), modifiedFile(), and setModifiedFile().
      
  | 
  private | 
Definition at line 190 of file IsoArchive.h.
Referenced by cleanNewIO(), and setModifiedFile().
      
  | 
  private | 
Definition at line 190 of file IsoArchive.h.
Referenced by applyModifications(), isModified(), and setModifiedFile().