54 virtual void load(QString dir) {}
57 virtual bool isValid()
const {
return false; }
60 virtual bool isNull()
const {
return true; }
77 QString path = root +
"/" + relative;
virtual ~SessionStorageService()
virtual ~SessionStorageServiceNull()
virtual void load(QString dir)
load session from dir, or create new session in this location if none exist
virtual bool isValid() const
QString getSubFolder(QString relative)
return and create a folder/path relative to root. Created if necessary.
virtual QString getRootFolder() const =0
virtual void save()
Save all application data to XML file.
virtual bool isNull() const
virtual QString getRootFolder() const
static SessionStorageServicePtr getNullObject()
boost::shared_ptr< class SessionStorageService > SessionStorageServicePtr
Namespace for all CustusX production code.