]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow to query the number of entries in a subsection and its children.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Jul 2005 02:52:22 +0000 (02:52 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Jul 2005 02:52:22 +0000 (02:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@11074 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/parameter_handler.h

index e33c7f905c4d81da53d33c9531c319df4fe94fdb..0e7325ef2c5da8fd021fbe71451c29c7037bf910 100644 (file)
@@ -1509,8 +1509,24 @@ class ParameterHandler
                                      */
     struct Section 
     {
+                                         /**
+                                          * Destructor
+                                          */
        ~Section ();
 
+                                         /**
+                                          * Number of entries that this
+                                          * section has plus all the
+                                          * non-subsection entries of all its
+                                          * decendents.
+                                          */
+        unsigned int accumulated_no_of_entries () const;
+
+                                         /**
+                                          * Value of an entry in this section,
+                                          * including documentation and the
+                                          * pattern it conforms to.
+                                          */
         struct EntryContent
         {
             std::string            value;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.