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

#include <Lgp.h>

Public Member Functions

 LgpIterator (const Lgp &lgp)
 
bool hasNext () const
 
void next ()
 
void toBack ()
 
void toFront ()
 
QIODevice * file ()
 
QIODevice * modifiedFile ()
 
const QString & fileName () const
 
const QString & fileDir () const
 
QString filePath () const
 

Friends

class Lgp
 

Constructor & Destructor Documentation

◆ LgpIterator()

LgpIterator::LgpIterator ( const Lgp lgp)
explicit

Member Function Documentation

◆ file()

QIODevice * LgpIterator::file ( )

Returns the current file.

See also
modifiedFile(), fileName(), fileDir(), filePath()

◆ fileDir()

const QString & LgpIterator::fileDir ( ) const

Returns the current file directory (without the file name).

See also
file(), modifiedFile(), fileName(), filePath()

◆ fileName()

const QString & LgpIterator::fileName ( ) const

Returns the current file name (without the directory).

See also
file(), modifiedFile(), fileDir(), filePath()

◆ filePath()

QString LgpIterator::filePath ( ) const

Returns the current full file path (dir + name).

See also
file(), modifiedFile(), fileName(), fileDir()

◆ hasNext()

bool LgpIterator::hasNext ( ) const

Returns true if there is at least one item ahead of the iterator, i.e. the iterator is not at the back of the container; otherwise returns false.

See also
hasPrevious(), next()

◆ modifiedFile()

QIODevice * LgpIterator::modifiedFile ( )

Returns the current modified file.

See also
file(), fileName(), fileDir(), filePath()

◆ next()

void LgpIterator::next ( )

Advances the iterator by one position. Calling this function on an iterator located at the back of the container leads to undefined results.

See also
hasNext(), previous()

◆ toBack()

void LgpIterator::toBack ( )

Moves the iterator to the back of the container (after the last item).

See also
toFront(), previous()

◆ toFront()

void LgpIterator::toFront ( )

Moves the iterator to the front of the container (before the first item).

See also
toBack(), next()

Friends And Related Function Documentation

◆ Lgp

friend class Lgp
friend

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