#include <importer.hpp>
|
typedef std::map< std::string,
std::string > | strmap |
|
typedef std::map< std::string,
std::vector< std::string > > | multistrmap |
|
typedef std::vector< std::pair
< std::string, std::vector
< std::string > > > | dependencyList |
|
|
static void | dependencySortStep (std::string &element, MwIniImporter::dependencyList &source, std::vector< std::string > &result) |
|
static std::vector
< std::string >::iterator | findString (std::vector< std::string > &source, const std::string &string) |
|
static void | insertMultistrmap (multistrmap &cfg, const std::string &key, const std::string &value) |
|
static void | addPaths (std::vector< boost::filesystem::path > &output, std::vector< std::string > input) |
|
static std::time_t | lastWriteTime (const boost::filesystem::path &filename, std::time_t defaultTime) |
|
MwIniImporter::MwIniImporter |
( |
| ) |
|
void MwIniImporter::addPaths |
( |
std::vector< boost::filesystem::path > & |
output, |
|
|
std::vector< std::string > |
input |
|
) |
| |
|
staticprivate |
std::vector< std::string >::iterator MwIniImporter::findString |
( |
std::vector< std::string > & |
source, |
|
|
const std::string & |
string |
|
) |
| |
|
staticprivate |
void MwIniImporter::importGameFiles |
( |
multistrmap & |
cfg, |
|
|
const multistrmap & |
ini, |
|
|
const boost::filesystem::path & |
iniFilename |
|
) |
| const |
void MwIniImporter::insertMultistrmap |
( |
multistrmap & |
cfg, |
|
|
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
staticprivate |
std::time_t MwIniImporter::lastWriteTime |
( |
const boost::filesystem::path & |
filename, |
|
|
std::time_t |
defaultTime |
|
) |
| |
|
staticprivate |
- Returns
- file's "last modified time", used in original MW to determine plug-in load order
void MwIniImporter::setVerbose |
( |
bool |
verbose | ) |
|
void MwIniImporter::writeToFile |
( |
std::ostream & |
out, |
|
|
const multistrmap & |
cfg |
|
) |
| |
|
static |
std::vector<std::string> MwIniImporter::mMergeFallback |
|
private |
strmap MwIniImporter::mMergeMap |
|
private |
bool MwIniImporter::mVerbose |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/elsid/openmw/apps/mwiniimporter/importer.hpp
- /home/travis/build/elsid/openmw/apps/mwiniimporter/importer.cpp