#include <Database.h>
Public Member Functions | |
| CDatabaseIndex (const char *dbiFilename) | |
| ~CDatabaseIndex (void) | |
| int | GetNumItems (void) |
| Tag | GetKeyId (void) |
| char | GetKeyType (void) |
| unsigned long | GetKeyLength (void) |
| unsigned long | Search (const char *key) |
| unsigned long | Search (double key) |
| unsigned long | Search (long key) |
| unsigned long | SearchNext (void) |
| void | Dump (FILE *f) |
Protected Member Functions | |
| void | Load (PODFILE *f) |
| void | Load (const char *dbiFilename) |
Protected Attributes | |
| Tag | keyId |
| unsigned char | keyType |
| unsigned long | keyLength |
| std::multimap< std::string, unsigned long > * | stringIndex |
| std::multimap< double, unsigned long > * | doubleIndex |
| std::multimap< long, unsigned long > * | intIndex |
| std::pair< StringIndex::iterator, StringIndex::iterator > | stringRange |
| std::pair< DoubleIndex::iterator, DoubleIndex::iterator > | doubleRange |
| std::pair< IntIndex::iterator, IntIndex::iterator > | intRange |
| StringIndex::iterator | stringIter |
| DoubleIndex::iterator | doubleIter |
| IntIndex::iterator | intIter |
Definition at line 133 of file Database.h.
|
|
Definition at line 54 of file DBIndex.cpp. References doubleIndex, intIndex, keyId, keyLength, keyType, Load(), and stringIndex. |
|
|
Definition at line 67 of file DBIndex.cpp. References doubleIndex, intIndex, and stringIndex. |
|
|
Definition at line 313 of file DBIndex.cpp. |
|
|
Definition at line 219 of file DBIndex.cpp. References keyId. |
|
|
Definition at line 235 of file DBIndex.cpp. References keyLength. |
|
|
Definition at line 227 of file DBIndex.cpp. References keyType. |
|
|
Definition at line 201 of file DBIndex.cpp. References doubleIndex, intIndex, and stringIndex. |
|
|
Definition at line 184 of file DBIndex.cpp. References globals, Load(), pclose(), SGlobals::pfs, and popen(). |
|
|
Definition at line 77 of file DBIndex.cpp. References DBIHeader::checksum, doubleIndex, DBIHeader::dummy, intIndex, DBIHeader::keyId, keyId, keyLength, DBIHeader::keyLength, keyType, DBIHeader::keyType, DBIHeader::nRecords, pread(), ReadDouble(), ReadLong(), ReadUChar(), ReadULong(), DBIHeader::recLength, DBIHeader::signature, stringIndex, DBIHeader::unknown0, and DBIHeader::unknown1. Referenced by CDatabaseIndex(), and Load(). |
|
|
Definition at line 281 of file DBIndex.cpp. |
|
|
Definition at line 262 of file DBIndex.cpp. References doubleIndex, and doubleRange. |
|
|
Definition at line 243 of file DBIndex.cpp. References stringIndex, stringIter, and stringRange. Referenced by CDatabase::Search(). |
|
|
Definition at line 299 of file DBIndex.cpp. References stringIndex, and stringIter. Referenced by CDatabase::SearchNext(). |
|
|
Definition at line 160 of file Database.h. Referenced by CDatabaseIndex(), GetNumItems(), Load(), Search(), and ~CDatabaseIndex(). |
|
|
Definition at line 168 of file Database.h. |
|
|
Definition at line 164 of file Database.h. Referenced by Search(). |
|
|
Definition at line 161 of file Database.h. Referenced by CDatabaseIndex(), GetNumItems(), Load(), Search(), and ~CDatabaseIndex(). |
|
|
Definition at line 169 of file Database.h. |
|
|
Definition at line 165 of file Database.h. Referenced by Search(). |
|
|
Definition at line 155 of file Database.h. Referenced by CDatabaseIndex(), GetKeyId(), and Load(). |
|
|
Definition at line 157 of file Database.h. Referenced by CDatabaseIndex(), GetKeyLength(), and Load(). |
|
|
Definition at line 156 of file Database.h. Referenced by CDatabaseIndex(), GetKeyType(), and Load(). |
|
|
Definition at line 159 of file Database.h. Referenced by CDatabaseIndex(), GetNumItems(), Load(), Search(), SearchNext(), and ~CDatabaseIndex(). |
|
|
Definition at line 167 of file Database.h. Referenced by Search(), and SearchNext(). |
|
|
Definition at line 163 of file Database.h. Referenced by Search(). |
|
|
Documentation generated by
|