diff options
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 !!! |