[yast-commit] r49496 - /trunk/storage/libstorage/src/StorageInterface.h
Author: aschnell Date: Tue Jul 29 22:29:02 2008 New Revision: 49496 URL: http://svn.opensuse.org/viewcvs/yast?rev=49496&view=rev Log: - unfortunately doxygen doesn't support small examples Modified: trunk/storage/libstorage/src/StorageInterface.h Modified: trunk/storage/libstorage/src/StorageInterface.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/StorageInterface.h?rev=49496&r1=49495&r2=49496&view=diff ============================================================================== --- trunk/storage/libstorage/src/StorageInterface.h (original) +++ trunk/storage/libstorage/src/StorageInterface.h Tue Jul 29 22:29:02 2008 @@ -2226,11 +2226,6 @@ * @param precision number of fraction digits in output * @param omit_zeroes if true omit trailing zeroes for exact values * @return formatted string - * - * @example byteToHumanString(128, true, 2, true) -> "128 B" - * @example byteToHumanString(4096, true, 2, true) -> "4 kB" - * @example byteToHumanString(4096, true, 2, false) -> "4.00 kB" - * @example byteToHumanString(1024*1024, true, 2, true) -> "1 MB" */ virtual string byteToHumanString(unsigned long long size, bool classic, int precision, bool omit_zeroes) const = 0; @@ -2242,10 +2237,6 @@ * @param classic use classic locale * @param size size in bytes * @return true on successful conversion - * - * @example humanStringToByte("4kB", true, size) -> true and size = 4*1024 - * @example humanStringToByte("4 MB", true, size) -> true and size = 4*1024*1024 - * @example humanStringToByte("0.5 GB", true, size) -> true and size = 512*1024*1024 */ virtual bool humanStringToByte(const string& str, bool classic, unsigned long long& size) const = 0; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org