|
OpenMW
|
#include <documentmanager.hpp>
Public Member Functions | |
| DocumentManager (const Files::ConfigurationManager &configuration) | |
| ~DocumentManager () | |
| Document * | addDocument (const std::vector< boost::filesystem::path > &files, const boost::filesystem::path &savePath, bool new_) |
| bool | removeDocument (Document *document) |
| void | setResourceDir (const boost::filesystem::path &parResDir) |
Private Member Functions | |
| DocumentManager (const DocumentManager &) | |
| DocumentManager & | operator= (const DocumentManager &) |
Private Attributes | |
| std::vector< Document * > | mDocuments |
| const Files::ConfigurationManager & | mConfiguration |
| boost::filesystem::path | mResDir |
| CSMDoc::DocumentManager::DocumentManager | ( | const DocumentManager & | ) | [private] |
| CSMDoc::DocumentManager::DocumentManager | ( | const Files::ConfigurationManager & | configuration | ) |
| CSMDoc::Document * CSMDoc::DocumentManager::addDocument | ( | const std::vector< boost::filesystem::path > & | files, |
| const boost::filesystem::path & | savePath, | ||
| bool | new_ | ||
| ) |
The ownership of the returned document is not transferred to the caller.
| new_ | Do not load the last content file in files and instead create in an appropriate way. |
| DocumentManager& CSMDoc::DocumentManager::operator= | ( | const DocumentManager & | ) | [private] |
| bool CSMDoc::DocumentManager::removeDocument | ( | Document * | document | ) |
| void CSMDoc::DocumentManager::setResourceDir | ( | const boost::filesystem::path & | parResDir | ) |
const Files::ConfigurationManager& CSMDoc::DocumentManager::mConfiguration [private] |
std::vector<Document *> CSMDoc::DocumentManager::mDocuments [private] |
boost::filesystem::path CSMDoc::DocumentManager::mResDir [private] |
1.7.6.1