X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/f394d7d95de33fea2b476248ac129488643beb77..57dbb7df8973a3e0c0c570c1eae9d84802e02bd9:/src/clave_fija.cpp?ds=sidebyside diff --git a/src/clave_fija.cpp b/src/clave_fija.cpp index 67edc4c..ebb08ea 100644 --- a/src/clave_fija.cpp +++ b/src/clave_fija.cpp @@ -31,3 +31,19 @@ Clave *ClaveFija::Clone () const return k; } +bool ClaveFija::operator < (const Clave &c) const +{ + return data < ((ClaveFija&)c).data; +} + +bool ClaveFija::operator == (const Clave &c) const +{ + return data == ((ClaveFija&)c).data; +} + +uchar *ClaveFija::ToRaw (uint &size) const +{ + size = Size (); + return ToArray (); +} +