OpenMW
|
#include <data.hpp>
Signals | |
void | idListChanged () |
Private Slots | |
void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
void | rowsChanged (const QModelIndex &parent, int start, int end) |
Private Member Functions | |
Data (const Data &) | |
Data & | operator= (const Data &) |
void | addModel (QAbstractItemModel *model, UniversalId::Type type, bool update=true) |
Static Private Member Functions | |
static void | appendIds (std::vector< std::string > &ids, const CollectionBase &collection, bool listDeleted) |
Append all IDs from collection to ids. More... | |
static int | count (RecordBase::State state, const CollectionBase &collection) |
|
private |
CSMWorld::Data::Data | ( | ToUTF8::FromType | encoding, |
const ResourcesManager & | resourcesManager, | ||
const Fallback::Map * | fallback, | ||
const boost::filesystem::path & | resDir | ||
) |
|
virtual |
|
private |
|
staticprivate |
Append all IDs from collection to ids.
bool CSMWorld::Data::continueLoading | ( | CSMDoc::Messages & | messages | ) |
|
staticprivate |
int CSMWorld::Data::count | ( | RecordBase::State | state | ) | const |
Return number of top-level records with the given state.
|
privateslot |
const CSMWorld::IdCollection< ESM::BirthSign > & CSMWorld::Data::getBirthsigns | ( | ) | const |
CSMWorld::IdCollection< ESM::BirthSign > & CSMWorld::Data::getBirthsigns | ( | ) |
const CSMWorld::IdCollection< ESM::BodyPart > & CSMWorld::Data::getBodyParts | ( | ) | const |
CSMWorld::IdCollection< ESM::BodyPart > & CSMWorld::Data::getBodyParts | ( | ) |
const CSMWorld::IdCollection< CSMWorld::Cell > & CSMWorld::Data::getCells | ( | ) | const |
CSMWorld::IdCollection< CSMWorld::Cell > & CSMWorld::Data::getCells | ( | ) |
const CSMWorld::IdCollection< ESM::Class > & CSMWorld::Data::getClasses | ( | ) | const |
CSMWorld::IdCollection< ESM::Class > & CSMWorld::Data::getClasses | ( | ) |
const CSMWorld::IdCollection< ESM::DebugProfile > & CSMWorld::Data::getDebugProfiles | ( | ) | const |
CSMWorld::IdCollection< ESM::DebugProfile > & CSMWorld::Data::getDebugProfiles | ( | ) |
const CSMWorld::IdCollection< ESM::Enchantment > & CSMWorld::Data::getEnchantments | ( | ) | const |
CSMWorld::IdCollection< ESM::Enchantment > & CSMWorld::Data::getEnchantments | ( | ) |
const CSMWorld::IdCollection< ESM::Faction > & CSMWorld::Data::getFactions | ( | ) | const |
CSMWorld::IdCollection< ESM::Faction > & CSMWorld::Data::getFactions | ( | ) |
const Fallback::Map * CSMWorld::Data::getFallbackMap | ( | ) | const |
const CSMWorld::IdCollection< ESM::Filter > & CSMWorld::Data::getFilters | ( | ) | const |
CSMWorld::IdCollection< ESM::Filter > & CSMWorld::Data::getFilters | ( | ) |
const CSMWorld::IdCollection< ESM::Global > & CSMWorld::Data::getGlobals | ( | ) | const |
CSMWorld::IdCollection< ESM::Global > & CSMWorld::Data::getGlobals | ( | ) |
const CSMWorld::IdCollection< ESM::GameSetting > & CSMWorld::Data::getGmsts | ( | ) | const |
CSMWorld::IdCollection< ESM::GameSetting > & CSMWorld::Data::getGmsts | ( | ) |
std::vector< std::string > CSMWorld::Data::getIds | ( | bool | listDeleted = true | ) | const |
Return a sorted collection of all IDs that are not internal to the editor.
listDeleted | include deleted record in the list |
const CSMWorld::InfoCollection & CSMWorld::Data::getJournalInfos | ( | ) | const |
CSMWorld::InfoCollection & CSMWorld::Data::getJournalInfos | ( | ) |
const CSMWorld::IdCollection< ESM::Dialogue > & CSMWorld::Data::getJournals | ( | ) | const |
CSMWorld::IdCollection< ESM::Dialogue > & CSMWorld::Data::getJournals | ( | ) |
const CSMWorld::IdCollection< CSMWorld::Land > & CSMWorld::Data::getLand | ( | ) | const |
CSMWorld::IdCollection< CSMWorld::Land > & CSMWorld::Data::getLand | ( | ) |
const CSMWorld::IdCollection< CSMWorld::LandTexture > & CSMWorld::Data::getLandTextures | ( | ) | const |
CSMWorld::IdCollection< CSMWorld::LandTexture > & CSMWorld::Data::getLandTextures | ( | ) |
const CSMWorld::IdCollection< ESM::MagicEffect > & CSMWorld::Data::getMagicEffects | ( | ) | const |
CSMWorld::IdCollection< ESM::MagicEffect > & CSMWorld::Data::getMagicEffects | ( | ) |
const CSMWorld::MetaData & CSMWorld::Data::getMetaData | ( | ) | const |
const CSMWorld::SubCellCollection< CSMWorld::Pathgrid > & CSMWorld::Data::getPathgrids | ( | ) | const |
CSMWorld::SubCellCollection< CSMWorld::Pathgrid > & CSMWorld::Data::getPathgrids | ( | ) |
const CSMWorld::IdCollection< ESM::Race > & CSMWorld::Data::getRaces | ( | ) | const |
CSMWorld::IdCollection< ESM::Race > & CSMWorld::Data::getRaces | ( | ) |
const CSMWorld::RefIdCollection & CSMWorld::Data::getReferenceables | ( | ) | const |
CSMWorld::RefIdCollection & CSMWorld::Data::getReferenceables | ( | ) |
const CSMWorld::RefCollection & CSMWorld::Data::getReferences | ( | ) | const |
CSMWorld::RefCollection & CSMWorld::Data::getReferences | ( | ) |
const CSMWorld::IdCollection< ESM::Region > & CSMWorld::Data::getRegions | ( | ) | const |
CSMWorld::IdCollection< ESM::Region > & CSMWorld::Data::getRegions | ( | ) |
const CSMWorld::Resources & CSMWorld::Data::getResources | ( | const UniversalId & | id | ) | const |
Throws an exception, if id does not match a resources list.
boost::shared_ptr< Resource::ResourceSystem > CSMWorld::Data::getResourceSystem | ( | ) |
boost::shared_ptr< const Resource::ResourceSystem > CSMWorld::Data::getResourceSystem | ( | ) | const |
const CSMWorld::IdCollection< ESM::Script > & CSMWorld::Data::getScripts | ( | ) | const |
CSMWorld::IdCollection< ESM::Script > & CSMWorld::Data::getScripts | ( | ) |
const CSMWorld::IdCollection< ESM::Skill > & CSMWorld::Data::getSkills | ( | ) | const |
CSMWorld::IdCollection< ESM::Skill > & CSMWorld::Data::getSkills | ( | ) |
const CSMWorld::IdCollection< ESM::SoundGenerator > & CSMWorld::Data::getSoundGens | ( | ) | const |
CSMWorld::IdCollection< ESM::SoundGenerator > & CSMWorld::Data::getSoundGens | ( | ) |
const CSMWorld::IdCollection< ESM::Sound > & CSMWorld::Data::getSounds | ( | ) | const |
CSMWorld::IdCollection< ESM::Sound > & CSMWorld::Data::getSounds | ( | ) |
const CSMWorld::IdCollection< ESM::Spell > & CSMWorld::Data::getSpells | ( | ) | const |
CSMWorld::IdCollection< ESM::Spell > & CSMWorld::Data::getSpells | ( | ) |
const CSMWorld::IdCollection< ESM::StartScript > & CSMWorld::Data::getStartScripts | ( | ) | const |
CSMWorld::IdCollection< ESM::StartScript > & CSMWorld::Data::getStartScripts | ( | ) |
QAbstractItemModel * CSMWorld::Data::getTableModel | ( | const UniversalId & | id | ) |
If no table model is available for id, an exception is thrown.
const CSMWorld::InfoCollection & CSMWorld::Data::getTopicInfos | ( | ) | const |
CSMWorld::InfoCollection & CSMWorld::Data::getTopicInfos | ( | ) |
const CSMWorld::IdCollection< ESM::Dialogue > & CSMWorld::Data::getTopics | ( | ) | const |
CSMWorld::IdCollection< ESM::Dialogue > & CSMWorld::Data::getTopics | ( | ) |
const VFS::Manager * CSMWorld::Data::getVFS | ( | ) | const |
bool CSMWorld::Data::hasId | ( | const std::string & | id | ) | const |
|
signal |
void CSMWorld::Data::merge | ( | ) |
Merge modified into base.
void CSMWorld::Data::setMetaData | ( | const MetaData & | metaData | ) |
Begin merging content of a file into base or modified.
project | load project file instead of content file |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |