aboutsummaryrefslogtreecommitdiff
path: root/PDContainer/include/ContainerBase.h
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2005-11-03 20:40:40 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2005-11-03 20:40:40 +0000
commit406758342ee046707e5426f804c7b381a0728335 (patch)
tree7e58947fa006199f05efa8fb5cf6cb932cd51586 /PDContainer/include/ContainerBase.h
parent9ca96a7b406cde99fabe2956090fef0ea820c0e2 (diff)
additional methods: [getall(, [keys(, [values(
svn path=/trunk/externals/grh/; revision=3832
Diffstat (limited to 'PDContainer/include/ContainerBase.h')
-rwxr-xr-xPDContainer/include/ContainerBase.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/PDContainer/include/ContainerBase.h b/PDContainer/include/ContainerBase.h
index c32a22a..7cc54b9 100755
--- a/PDContainer/include/ContainerBase.h
+++ b/PDContainer/include/ContainerBase.h
@@ -94,6 +94,12 @@ class ContainerBase
virtual void clearNamespace()
{ data_.erase(h_namespace_); }
+ /* returns a reference to the whole Container
+ * of the current namespace
+ */
+ virtual ContainerType &getAll()
+ { return data_[h_namespace_]; }
+
/* clears all the data of the current container
* ( in all namespaces !!!!! )
* so be carefull !!!