X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/213408b5a596597ff3493a8966d585218f8d63ad..aa158a0284c1bc32a979d50275aa1b24438d46ef:/src/keymanager.h?ds=inline 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;