]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - src/keymanager.h
Agrega Makefile a doc/.
[z.facultad/75.52/treemulator.git] / src / keymanager.h
index d457fcbabb4f4bf8298178087f76c3c5fe7d84bb..3d784585ceb353c6458cbc4bd0d8225e2ec030a0 100644 (file)
@@ -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;