X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/213408b5a596597ff3493a8966d585218f8d63ad..ea5776d090486ba7895940545e8dff58d558a7d3:/src/keymanager.h diff --git a/src/keymanager.h b/src/keymanager.h index d457fcb..3d78458 100644 --- a/src/keymanager.h +++ b/src/keymanager.h @@ -46,6 +46,12 @@ class KeyManager { } std::list < T >& GetList () { return keys; } + + /** Devuelve la cantidad de valores almacenados */ + typename std::list < T >::size_type Size() const + { + return keys.size(); + } private: std::list< T > keys; int altas;