1 #ifndef STORAGE_MANAGER_H
2 #define STORAGE_MANAGER_H
16 virtual const char*
what()
const throw();
61 std::list<std::string> storageLocations;
64 std::list<std::string>::iterator currentLocation;
65 double minFreeThreshold;
Helper class for system informations.
std::string getPreferredStorageLocation()
Ask for a good location to store data.
~NoStorageLocationGiven()
Handles storage locations.
Base class for all StorageManager exceptions.
All defined storage locations have insufficient free space.
~StorageManagerException()
void addStorageLocation(const std::string &path)
Add a new storage location.
StorageManagerException(const std::string &_message)
Storage location was requested but none have been defined.
StorageManager(double minFreeThreshold_=.05)
Construct a StorageManager.
virtual const char * what() const