ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Public Member Functions | List of all members
IsoFile Class Reference

#include <IsoArchive.h>

Inheritance diagram for IsoFile:
Inheritance graph
[legend]
Collaboration diagram for IsoFile:
Collaboration graph
[legend]

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
 

Constructor & Destructor Documentation

◆ IsoFile()

IsoFile::IsoFile ( const QString &  name,
quint32  location,
quint32  size,
qint64  structPosition,
IsoArchiveIO io 
)

◆ ~IsoFile()

IsoFile::~IsoFile ( )
overridevirtual

Member Function Documentation

◆ applyModifications()

void IsoFile::applyModifications ( )
overridevirtual

Reimplemented from IsoFileOrDirectory.

◆ data()

QByteArray IsoFile::data ( quint32  maxSize = 0) const

◆ extract()

bool IsoFile::extract ( const QString &  destination,
quint32  maxSize = 0 
) const

◆ file()

QIODevice * IsoFile::file ( ) const

◆ isDirectory()

bool IsoFile::isDirectory ( ) const
overridevirtual

Implements IsoFileOrDirectory.

◆ isModified()

bool IsoFile::isModified ( ) const
overridevirtual

Reimplemented from IsoFileOrDirectory.

◆ modifiedData()

QByteArray IsoFile::modifiedData ( quint32  maxSize = 0) const

◆ modifiedFile()

QIODevice * IsoFile::modifiedFile ( ) const

◆ setModifiedFile() [1/2]

bool IsoFile::setModifiedFile ( const QByteArray &  data)

◆ setModifiedFile() [2/2]

bool IsoFile::setModifiedFile ( QIODevice *  io)

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