From: kanschat Date: Thu, 26 Jun 2014 19:30:08 +0000 (+0000) Subject: add debugging function X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24f5de9045177ad371adb5e83c08ab86779efa8e;p=dealii-svn.git add debugging function git-svn-id: https://svn.dealii.org/trunk@33089 0785d39b-7218-0410-832d-ea1e28bc413d --- 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