X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/213408b5a596597ff3493a8966d585218f8d63ad..eabe0084451a515b80a7fd462c71b4bb2f8dd7bd:/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;