OpenMW
Public Member Functions | Private Member Functions | Private Attributes
CSMDoc::DocumentManager Class Reference

#include <documentmanager.hpp>

List of all members.

Public Member Functions

 DocumentManager (const Files::ConfigurationManager &configuration)
 ~DocumentManager ()
DocumentaddDocument (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 &)
DocumentManageroperator= (const DocumentManager &)

Private Attributes

std::vector< Document * > mDocuments
const Files::ConfigurationManagermConfiguration
boost::filesystem::path mResDir

Constructor & Destructor Documentation


Member Function Documentation

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.

Parameters:
new_Do not load the last content file in files and instead create in an appropriate way.
DocumentManager& CSMDoc::DocumentManager::operator= ( const DocumentManager ) [private]
Returns:
last document removed?
void CSMDoc::DocumentManager::setResourceDir ( const boost::filesystem::path &  parResDir)

Member Data Documentation

boost::filesystem::path CSMDoc::DocumentManager::mResDir [private]

The documentation for this class was generated from the following files: