OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
CSMDoc::SavingState Class Reference

#include <savingstate.hpp>

Collaboration diagram for CSMDoc::SavingState:

Public Member Functions

 SavingState (Operation &operation, const boost::filesystem::path &projectPath, ToUTF8::FromType encoding)
 
bool hasError () const
 
void start (Document &document, bool project)
 
const boost::filesystem::path & getPath () const
 
const boost::filesystem::path & getTmpPath () const
 
boost::filesystem::ofstream & getStream ()
 
ESM::ESMWritergetWriter ()
 
bool isProjectFile () const
 Currently saving project file? (instead of content file) More...
 
std::map< std::string,
std::deque< int > > & 
getSubRecords ()
 

Private Attributes

OperationmOperation
 
boost::filesystem::path mPath
 
boost::filesystem::path mTmpPath
 
ToUTF8::Utf8Encoder mEncoder
 
boost::filesystem::ofstream mStream
 
ESM::ESMWriter mWriter
 
boost::filesystem::path mProjectPath
 
bool mProjectFile
 
std::map< std::string,
std::deque< int > > 
mSubRecords
 

Constructor & Destructor Documentation

CSMDoc::SavingState::SavingState ( Operation operation,
const boost::filesystem::path &  projectPath,
ToUTF8::FromType  encoding 
)

Here is the call graph for this function:

Member Function Documentation

const boost::filesystem::path & CSMDoc::SavingState::getPath ( ) const
boost::filesystem::ofstream & CSMDoc::SavingState::getStream ( )
std::map< std::string, std::deque< int > > & CSMDoc::SavingState::getSubRecords ( )
const boost::filesystem::path & CSMDoc::SavingState::getTmpPath ( ) const
ESM::ESMWriter & CSMDoc::SavingState::getWriter ( )
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 
)
Parameters
projectSave project file instead of content file.

Here is the call graph for this function:

Member Data Documentation

ToUTF8::Utf8Encoder CSMDoc::SavingState::mEncoder
private
Operation& CSMDoc::SavingState::mOperation
private
boost::filesystem::path CSMDoc::SavingState::mPath
private
bool CSMDoc::SavingState::mProjectFile
private
boost::filesystem::path CSMDoc::SavingState::mProjectPath
private
boost::filesystem::ofstream CSMDoc::SavingState::mStream
private
std::map<std::string, std::deque<int> > CSMDoc::SavingState::mSubRecords
private
boost::filesystem::path CSMDoc::SavingState::mTmpPath
private
ESM::ESMWriter CSMDoc::SavingState::mWriter
private

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