From 24f5de9045177ad371adb5e83c08ab86779efa8e Mon Sep 17 00:00:00 2001 From: kanschat Date: Thu, 26 Jun 2014 19:30:08 +0000 Subject: [PATCH] add debugging function git-svn-id: https://svn.dealii.org/trunk@33089 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/algorithms/any_data.h | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/deal.II/include/deal.II/algorithms/any_data.h b/deal.II/include/deal.II/algorithms/any_data.h index 9d67972c95..9ad228e2d1 100644 --- a/deal.II/include/deal.II/algorithms/any_data.h +++ b/deal.II/include/deal.II/algorithms/any_data.h @@ -174,6 +174,10 @@ public: template bool is_type(const unsigned int i) const; + /// List the contents to a stream + template + void list (STREAM& os) const; + /// Conversion from old NamedData template AnyData(const NamedData &); @@ -466,6 +470,20 @@ AnyData::merge(const AnyData &other) } +template +inline +void AnyData::list(STREAM& os) const +{ + for (unsigned int i=0;i