| 
    ff7tk
    0.02
    
   Toolkit for making FF7 Tools 
   | 
 
#include <IsoArchive.h>
  
 Public Member Functions | |
| 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) | 
| virtual bool | isDirectory () const =0 | 
| bool | isFile () const | 
| virtual bool | isModified () const | 
| virtual void | applyModifications () | 
| bool | isSpecial () const | 
| void | setPaddingAfter (quint8 after) | 
| quint8 | paddingAfter () const | 
Public Attributes | |
| qint64 | structPosition | 
Protected Member Functions | |
| IsoFileOrDirectory (const QString &name, quint32 location, quint32 size, qint64 structPosition) | |
Protected Attributes | |
| QString | _name | 
| quint32 | _location | 
| quint32 | _size | 
| quint32 | _newLocation | 
| quint32 | _newSize | 
| quint8 | _paddingAfter | 
Definition at line 139 of file IsoArchive.h.
      
  | 
  virtual | 
Definition at line 26 of file IsoArchive.cpp.
      
  | 
  protected | 
Definition at line 20 of file IsoArchive.cpp.
      
  | 
  virtual | 
Reimplemented in IsoFile.
Definition at line 90 of file IsoArchive.cpp.
References _location, _newLocation, _newSize, and _size.
Referenced by IsoFile::applyModifications(), and IsoArchive::applyModifications().
      
  | 
  pure virtual | 
Implemented in IsoDirectory, and IsoFile.
Referenced by IsoArchive::_extractAll(), IsoArchive::_getIntegrity(), IsoArchive::applyModifications(), IsoDirectory::directories(), IsoDirectory::file(), IsoDirectory::fileOrDirectory(), IsoArchive::getModifiedFiles(), isFile(), and IsoArchive::repairLocationSectors().
| bool IsoFileOrDirectory::isFile | ( | ) | const | 
Definition at line 80 of file IsoArchive.cpp.
References isDirectory().
Referenced by IsoDirectory::directory(), and IsoDirectory::files().
      
  | 
  virtual | 
Reimplemented in IsoFile.
Definition at line 85 of file IsoArchive.cpp.
References _location, _newLocation, _newSize, and _size.
Referenced by IsoArchive::applyModifications(), IsoFile::isModified(), and IsoArchive::repairLocationSectors().
| bool IsoFileOrDirectory::isSpecial | ( | ) | const | 
Definition at line 96 of file IsoArchive.cpp.
References _name.
Referenced by IsoArchive::_extractAll(), IsoArchive::_getIntegrity(), and IsoArchive::_openDirectoryRecord().
| quint32 IsoFileOrDirectory::location | ( | ) | const | 
Definition at line 35 of file IsoArchive.cpp.
References _location.
Referenced by IsoArchive::_getIntegrity(), IsoArchive::_openDirectoryRecord(), IsoArchive::getIntegrity(), locationAfter(), IsoArchive::pack(), IsoFileIO::readData(), IsoArchive::repairLocationSectors(), and setLocation().
| quint32 IsoFileOrDirectory::locationAfter | ( | ) | const | 
Definition at line 40 of file IsoArchive.cpp.
References location(), and sectorCount().
Referenced by IsoArchive::getIntegritySetPaddingAfter(), and IsoArchive::pack().
| const QString & IsoFileOrDirectory::name | ( | ) | const | 
Definition at line 30 of file IsoArchive.cpp.
References _name.
Referenced by IsoArchive::_extractAll(), IsoArchive::_openDirectoryRecord(), IsoDirectory::add(), IsoArchive::extractDir(), IsoArchive::getIntegritySetPaddingAfter(), IsoArchive::pack(), and setName().
| quint32 IsoFileOrDirectory::newLocation | ( | ) | const | 
Definition at line 55 of file IsoArchive.cpp.
References _newLocation.
Referenced by IsoArchive::getModifiedFiles(), IsoArchive::pack(), and IsoArchive::repairLocationSectors().
| quint32 IsoFileOrDirectory::newSectorCount | ( | ) | const | 
Definition at line 65 of file IsoArchive.cpp.
References _newSize, and SECTOR_SIZE_DATA.
Referenced by IsoArchive::pack().
| quint32 IsoFileOrDirectory::newSize | ( | ) | const | 
Definition at line 60 of file IsoArchive.cpp.
References _newSize.
Referenced by IsoArchive::repairLocationSectors().
| quint8 IsoFileOrDirectory::paddingAfter | ( | ) | const | 
Definition at line 106 of file IsoArchive.cpp.
References _paddingAfter.
Referenced by IsoArchive::findPadding(), IsoArchive::getIntegritySetPaddingAfter(), and IsoArchive::pack().
| quint32 IsoFileOrDirectory::sectorCount | ( | ) | const | 
Definition at line 50 of file IsoArchive.cpp.
References _size, and SECTOR_SIZE_DATA.
Referenced by IsoArchive::getIntegritySetPaddingAfter(), locationAfter(), and IsoArchive::pack().
| void IsoFileOrDirectory::setLocation | ( | quint32 | location | ) | 
Definition at line 75 of file IsoArchive.cpp.
References _newLocation, and location().
Referenced by IsoArchive::pack().
| void IsoFileOrDirectory::setName | ( | const QString & | name | ) | 
Definition at line 70 of file IsoArchive.cpp.
| void IsoFileOrDirectory::setPaddingAfter | ( | quint8 | after | ) | 
Definition at line 101 of file IsoArchive.cpp.
References _paddingAfter.
Referenced by IsoArchive::getIntegritySetPaddingAfter(), and IsoArchive::pack().
| quint32 IsoFileOrDirectory::size | ( | ) | const | 
Definition at line 45 of file IsoArchive.cpp.
References _size.
Referenced by IsoArchive::_openDirectoryRecord(), IsoArchive::diffCountSectors(), IsoFile::extract(), IsoArchive::repairLocationSectors(), and IsoFileIO::size().
      
  | 
  protected | 
Definition at line 165 of file IsoArchive.h.
Referenced by applyModifications(), isModified(), and location().
      
  | 
  protected | 
Definition at line 164 of file IsoArchive.h.
Referenced by isSpecial(), name(), and setName().
      
  | 
  protected | 
Definition at line 166 of file IsoArchive.h.
Referenced by applyModifications(), isModified(), newLocation(), and setLocation().
      
  | 
  protected | 
Definition at line 166 of file IsoArchive.h.
Referenced by applyModifications(), isModified(), newSectorCount(), newSize(), and IsoFile::setModifiedFile().
      
  | 
  protected | 
Definition at line 167 of file IsoArchive.h.
Referenced by paddingAfter(), and setPaddingAfter().
      
  | 
  protected | 
Definition at line 165 of file IsoArchive.h.
Referenced by applyModifications(), isModified(), sectorCount(), and size().
| qint64 IsoFileOrDirectory::structPosition | 
Definition at line 158 of file IsoArchive.h.
Referenced by IsoArchive::repairLocationSectors().