FOX/ObjCryst++  2022
ObjCryst::XMLConfig Class Reference

Class to store & restore all top-level ObjCryst++ objects as their XML description. More...

+ Collaboration diagram for ObjCryst::XMLConfig:

Public Member Functions

 XMLConfig ()
 Default cronstructor.
 
 XMLConfig (const XMLConfig &old)
 Constructor based on a previous instance.
 
void Restore ()
 Restore the saved XML configuration.
 
bool operator== (const XMLConfig &rhs) const
 Equality operator.
 
bool operator!= (const XMLConfig &rhs) const
 Non-equality operator.
 
const RefinableObjClockGetClock () const
 Access the clock corresponding to the creation of this config.
 

Protected Attributes

std::map< Crystal *, boost::shared_ptr< std::string > > mvpCrystalXML
 
std::map< PowderPattern *, boost::shared_ptr< std::string > > mvpPowderPatternXML
 
std::map< DiffractionDataSingleCrystal *, boost::shared_ptr< std::string > > mvpDiffractionDataSingleCrystalXML
 
std::map< OptimizationObj *, boost::shared_ptr< std::string > > mvpOptimizationObjXML
 
boost::posix_time::ptime mTime
 
RefinableObjClock mClock
 Clock recording the creation of this XMLConfig.
 

Detailed Description

Class to store & restore all top-level ObjCryst++ objects as their XML description.

Storage uses a shared_ptr to avoid useless copies.

Definition at line 40 of file Undo.h.


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