X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/f394d7d95de33fea2b476248ac129488643beb77..a857f3426b101f330a2d7baef64b2ff1f1e39bac:/src/clave.h diff --git a/src/clave.h b/src/clave.h index be75a7c..81e24db 100644 --- a/src/clave.h +++ b/src/clave.h @@ -4,6 +4,7 @@ /* Clave para agregar a un arbol B */ #include "common.h" +#include class Clave { public: @@ -12,6 +13,10 @@ class Clave { virtual uint Size () const = 0; virtual uchar *ToArray () const = 0; virtual Clave *Clone () const = 0; + + virtual bool operator < (const Clave &k) const = 0; + virtual bool operator == (const Clave &k) const = 0; + virtual operator std::string () const = 0; }; #endif