From 7613b0a1da409aa3cc615078cf9b709a4c4e038b Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 30 Nov 2016 14:05:13 -0500 Subject: [PATCH] Add documentation to the zlib compression levels. Enumerations are not listed by doxygen unless they have documentation strings, so add them. --- include/deal.II/base/data_out_base.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/include/deal.II/base/data_out_base.h b/include/deal.II/base/data_out_base.h index 813f51d1d0..f2f6476a29 100644 --- a/include/deal.II/base/data_out_base.h +++ b/include/deal.II/base/data_out_base.h @@ -947,13 +947,28 @@ namespace DataOutBase bool print_date_and_time; /** - * A data type providing the different possible zlib compression levels. + * A data type providing the different possible zlib compression + * levels. These map directly to constants defined by zlib. */ enum ZlibCompressionLevel { + /** + * Do not use any compression. + */ no_compression, + /** + * Use the fastest available compression algorithm. + */ best_speed, + /** + * Use the algorithm which results in the smallest compressed + * files. This is the default flag. + */ best_compression, + /** + * Use the default compression algorithm. This is a compromise between + * speed and file size. + */ default_compression }; -- 2.39.5