X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/a57a70eab1f0b259f3b488a58e1812b262455b33..f0a17b3d23f3f277957d3e97ac1c7c1869d6d4cc:/src/clave_fija.cpp diff --git a/src/clave_fija.cpp b/src/clave_fija.cpp index a954e24..155e0e6 100644 --- a/src/clave_fija.cpp +++ b/src/clave_fija.cpp @@ -25,3 +25,18 @@ uchar *ClaveFija::ToArray () const return out; } +Clave *ClaveFija::Clone () const +{ + ClaveFija *k = new ClaveFija (*this); + 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; +}