| 
    ff7tk
    0.02
    
   Toolkit for making FF7 Tools 
   | 
 
#include <Lgp_p.h>
Public Member Functions | |
| LgpToc () | |
| LgpToc (const LgpToc &other) | |
| virtual | ~LgpToc () | 
| bool | addEntry (LgpHeaderEntry *entry) | 
| LgpHeaderEntry * | entry (const QString &filePath) const | 
| QList< LgpHeaderEntry * > | entries (quint16 id) const | 
| const QMultiHash< quint16, LgpHeaderEntry * > & | table () const | 
| bool | hasEntries (quint16 id) const | 
| bool | removeEntry (const QString &filePath) | 
| bool | renameEntry (const QString &filePath, const QString &newFilePath) | 
| bool | contains (const QString &filePath) const | 
| void | clear () | 
| bool | isEmpty () const | 
| int | size () const | 
| QList< const LgpHeaderEntry * > | filesSortedByPosition () const | 
| LgpToc & | operator= (const LgpToc &other) | 
Static Public Member Functions | |
| static bool | isNameValid (const QString &filePath) | 
Private Member Functions | |
| LgpHeaderEntry * | entry (const QString &filePath, quint16 id) const | 
Static Private Member Functions | |
| static qint32 | lookupValue (const QString &filePath) | 
| static quint8 | lookupValue (const QChar &qc) | 
Private Attributes | |
| QMultiHash< quint16, LgpHeaderEntry * > | _header | 
| LgpToc::LgpToc | ( | const LgpToc & | other | ) | 
      
  | 
  virtual | 
Definition at line 229 of file Lgp_p.cpp.
References LgpIO::_header.
| bool LgpToc::addEntry | ( | LgpHeaderEntry * | entry | ) | 
Definition at line 234 of file Lgp_p.cpp.
References LgpIO::_header, and LgpHeaderEntry::fileName().
Referenced by Lgp::addFile(), Lgp::openHeader(), and Lgp::pack().
| void LgpToc::clear | ( | ) | 
Definition at line 357 of file Lgp_p.cpp.
References LgpIO::_header.
Referenced by Lgp::clear(), and Lgp::openHeader().
| QList< LgpHeaderEntry * > LgpToc::entries | ( | quint16 | id | ) | const | 
| LgpHeaderEntry * LgpToc::entry | ( | const QString & | filePath | ) | const | 
Definition at line 250 of file Lgp_p.cpp.
Referenced by Lgp::headerEntry().
      
  | 
  private | 
Definition at line 275 of file Lgp_p.cpp.
References LgpHeaderEntry::filePath().
| QList< const LgpHeaderEntry * > LgpToc::filesSortedByPosition | ( | ) | const | 
Definition at line 374 of file Lgp_p.cpp.
References LgpIO::_header, and LgpHeaderEntry::filePosition().
Referenced by Lgp::fileList(), and Lgp::pack().
| bool LgpToc::hasEntries | ( | quint16 | id | ) | const | 
Definition at line 270 of file Lgp_p.cpp.
References LgpIO::_header.
| bool LgpToc::isEmpty | ( | ) | const | 
      
  | 
  static | 
Definition at line 305 of file Lgp_p.cpp.
Referenced by Lgp::isNameValid().
      
  | 
  staticprivate | 
Definition at line 397 of file Lgp_p.cpp.
References LOOKUP_VALUE_MAX.
      
  | 
  staticprivate | 
| bool LgpToc::removeEntry | ( | const QString & | filePath | ) | 
Definition at line 286 of file Lgp_p.cpp.
References LgpIO::_header.
Referenced by Lgp::removeFile().
| bool LgpToc::renameEntry | ( | const QString & | filePath, | 
| const QString & | newFilePath | ||
| ) | 
Definition at line 310 of file Lgp_p.cpp.
References LgpIO::_header, LgpIterator::filePath(), and LgpHeaderEntry::setFilePath().
Referenced by Lgp::renameFile().
| int LgpToc::size | ( | ) | const | 
Definition at line 369 of file Lgp_p.cpp.
References LgpIO::_header.
Referenced by Lgp::fileCount(), and Lgp::pack().
| const QMultiHash< quint16, LgpHeaderEntry * > & LgpToc::table | ( | ) | const | 
Definition at line 265 of file Lgp_p.cpp.
References LgpIO::_header.
Referenced by LgpToc(), and operator=().
      
  | 
  private |