diff options
author | Georg Holzmann <grholzi@users.sourceforge.net> | 2005-11-03 20:40:40 +0000 |
---|---|---|
committer | Georg Holzmann <grholzi@users.sourceforge.net> | 2005-11-03 20:40:40 +0000 |
commit | 406758342ee046707e5426f804c7b381a0728335 (patch) | |
tree | 7e58947fa006199f05efa8fb5cf6cb932cd51586 /PDContainer/include/ContainerBase.h | |
parent | 9ca96a7b406cde99fabe2956090fef0ea820c0e2 (diff) |
additional methods: [getall(, [keys(, [values(
svn path=/trunk/externals/grh/; revision=3832
Diffstat (limited to 'PDContainer/include/ContainerBase.h')
-rwxr-xr-x | PDContainer/include/ContainerBase.h | 6 |
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 !!! |