33 virtual void load(QString dir) {}
36 virtual bool isValid()
const {
return false; }
39 virtual bool isNull()
const {
return true; }
56 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.