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

#include <Lgp_p.h>

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

Public Member Functions

 LgpIO (QIODevice *lgp, const LgpHeaderEntry *header, QObject *parent=nullptr)
 
bool open (OpenMode mode) override
 
qint64 size () const override
 
bool canReadLine () const override
 

Protected Member Functions

qint64 readData (char *data, qint64 maxSize) override
 
qint64 writeData (const char *data, qint64 maxSize) override
 

Constructor & Destructor Documentation

◆ LgpIO()

LgpIO::LgpIO ( QIODevice *  lgp,
const LgpHeaderEntry header,
QObject *  parent = nullptr 
)

Member Function Documentation

◆ canReadLine()

bool LgpIO::canReadLine ( ) const
override

◆ open()

bool LgpIO::open ( OpenMode  mode)
override

◆ readData()

qint64 LgpIO::readData ( char *  data,
qint64  maxSize 
)
overrideprotected

◆ size()

qint64 LgpIO::size ( ) const
override

◆ writeData()

qint64 LgpIO::writeData ( const char *  data,
qint64  maxSize 
)
overrideprotected

You cannot write more than the initial file size.


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