Mercurial > hg > svcore
diff base/StorageAdviser.h @ 169:603991c63ff6
...
author | Chris Cannam |
---|---|
date | Mon, 25 Sep 2006 20:32:44 +0000 |
parents | 04baa690f90d |
children | b23eea68357e |
line wrap: on
line diff
--- a/base/StorageAdviser.h Mon Sep 25 13:44:05 2006 +0000 +++ b/base/StorageAdviser.h Mon Sep 25 20:32:44 2006 +0000 @@ -39,9 +39,17 @@ UseAsMuchAsYouLike = 8 }; - // may throw InsufficientDiscSpace exception if it looks like - // minimumSize won't fit on the disc + // May throw InsufficientDiscSpace exception if it looks like + // minimumSize won't fit on the disc. + /** + * Recommend where to store some data, given certain storage and + * recall criteria. The minimum size is the approximate amount of + * data in bytes that will be stored if the recommendation is to + * ConserveSpace; the maximum size is approximately the amount + * that will be used if UseAsMuchAsYouLike is returned. + **!!! sizes should be longer types + */ static Recommendation recommend(Criteria criteria, int minimumSize, int maximumSize);