OpenMW
|
#include <savingstate.hpp>
Public Member Functions | |
SavingState (Operation &operation, const boost::filesystem::path &projectPath) | |
bool | hasError () const |
void | start (Document &document, bool project) |
const boost::filesystem::path & | getPath () const |
const boost::filesystem::path & | getTmpPath () const |
std::ofstream & | getStream () |
ESM::ESMWriter & | getWriter () |
bool | isProjectFile () const |
Currently saving project file? (instead of content file) | |
Private Attributes | |
Operation & | mOperation |
boost::filesystem::path | mPath |
boost::filesystem::path | mTmpPath |
ToUTF8::Utf8Encoder | mEncoder |
std::ofstream | mStream |
ESM::ESMWriter | mWriter |
boost::filesystem::path | mProjectPath |
bool | mProjectFile |
CSMDoc::SavingState::SavingState | ( | Operation & | operation, |
const boost::filesystem::path & | projectPath | ||
) |
const boost::filesystem::path & CSMDoc::SavingState::getPath | ( | ) | const |
std::ofstream & CSMDoc::SavingState::getStream | ( | ) |
const boost::filesystem::path & CSMDoc::SavingState::getTmpPath | ( | ) | const |
bool CSMDoc::SavingState::hasError | ( | ) | const |
bool CSMDoc::SavingState::isProjectFile | ( | ) | const |
Currently saving project file? (instead of content file)
void CSMDoc::SavingState::start | ( | Document & | document, |
bool | project | ||
) |
project | Save project file instead of content file. |
Operation& CSMDoc::SavingState::mOperation [private] |
boost::filesystem::path CSMDoc::SavingState::mPath [private] |
bool CSMDoc::SavingState::mProjectFile [private] |
boost::filesystem::path CSMDoc::SavingState::mProjectPath [private] |
std::ofstream CSMDoc::SavingState::mStream [private] |
boost::filesystem::path CSMDoc::SavingState::mTmpPath [private] |
ESM::ESMWriter CSMDoc::SavingState::mWriter [private] |