OpenMW
|
#include <refiddata.hpp>
typedef std::pair<int, UniversalId::Type> CSMWorld::RefIdData::LocalIndex |
void CSMWorld::RefIdData::appendRecord | ( | UniversalId::Type | type, |
const std::string & | id | ||
) |
void CSMWorld::RefIdData::erase | ( | const LocalIndex & | index, |
int | count | ||
) | [private] |
Must not spill over into another type.
void CSMWorld::RefIdData::erase | ( | int | index, |
int | count | ||
) |
int CSMWorld::RefIdData::getAppendIndex | ( | UniversalId::Type | type | ) | const |
std::vector< std::string > CSMWorld::RefIdData::getIds | ( | bool | listDeleted = true | ) | const |
Return a sorted collection of all IDs
listDeleted | include deleted record in the list |
const CSMWorld::RecordBase & CSMWorld::RefIdData::getRecord | ( | const LocalIndex & | index | ) | const |
CSMWorld::RecordBase & CSMWorld::RefIdData::getRecord | ( | const LocalIndex & | index | ) |
int CSMWorld::RefIdData::getSize | ( | ) | const |
CSMWorld::RefIdData::LocalIndex CSMWorld::RefIdData::globalToLocalIndex | ( | int | index | ) | const |
void CSMWorld::RefIdData::load | ( | const LocalIndex & | index, |
ESM::ESMReader & | reader, | ||
bool | base | ||
) |
int CSMWorld::RefIdData::localToGlobalIndex | ( | const LocalIndex & | index | ) | const |
void CSMWorld::RefIdData::save | ( | int | index, |
ESM::ESMWriter & | writer | ||
) | const |
CSMWorld::RefIdData::LocalIndex CSMWorld::RefIdData::searchId | ( | const std::string & | id | ) | const |
std::map<std::string, LocalIndex> CSMWorld::RefIdData::mIndex [private] |
RefIdDataContainer<ESM::NPC> CSMWorld::RefIdData::mNpcs [private] |
std::map<UniversalId::Type, RefIdDataContainerBase *> CSMWorld::RefIdData::mRecordContainers [private] |